Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2000 16:55:58 +0200 (EET)
From:      Narvi <narvi@haldjas.folklore.ee>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Michael Bacarella <mbac@nyct.net>, Alfred Perlstein <bright@wintelcom.net>, Kevin Day <toasty@dragondata.com>, hackers@FreeBSD.ORG
Subject:   Re: Double buffered cp(1)
Message-ID:  <Pine.BSF.3.96.1000426165333.74116e-100000@haldjas.folklore.ee>
In-Reply-To: <200004221736.KAA55484@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 22 Apr 2000, Matthew Dillon wrote:

[snip]

>     disk itself is probably the bottleneck.  Disk writes tend to be
>     somewhat slower then disk reads and the seeking alone (between source
>     file and destination file), even when using a large block size, 
>     will reduce performance drastically verses simply reading or writing
>     a single file linearly.  Double buffering may help a disk-to-disk
>     file copy, but I doubt it will help a disk-to-same-disk file copy.
> 

Wouldn't coping the file to another disk and then back to the original one
than just a simple copy in some cases be faster then?

After all, you are saving a lot of head seeks.

> 					-Matt
> 					Matthew Dillon 
> 					<dillon@backplane.com>
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1000426165333.74116e-100000>