On 11:49, Fri 14 Nov 08, Almir Karic wrote:
> On Fri, Nov 14, 2008 at 11:41:03AM +0100, David Vasek wrote:
> > I am always getting similar transfer speeds (up to 5MB/s) under OpenBSD  
> > (and the same with NetBSD) with external USB hard disks too, while the  
> > real transfer speed under some other OS's (Linux, Windows) is around 28  
> > MB/s on the same hardware. I mean, on the very same pieces of hardware,  
> > usually running a different OS from a live CD. As far as I remember, it 
> > is for both reading and writing.
> >
> > It seems to me to be by design of umass(4) or other USB drivers. There  
> > must be reason for it.
> 
> i think linux "lies" about it finishing the write, try for example writing a
> big-ish file to usb disk and than umounting the volume, it will take
> aprox. the same time as doing those two operations on OBSD.

Depends on the filesystem, but on modern installs you are correct.
Linux will report a copy 'completed' when all data was put in the
buffer. After that it will go to the journal, and after that it will end
up on the physical disk.
Flushing everything to the disk happens from time to time, but can be
delayed indeed.
unmounting forces a sync to disk.

-- 

Michiel van Baak
[EMAIL PROTECTED]
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer aficionados are both called users?"

Reply via email to