Re: Clustering read for MSDOSFS

2016-01-11 Thread Mathieu -
Martin Pieuchot wrote: > On 03/01/16(Sun) 23:10, Martin Pieuchot wrote: > > Reading files on msdos-formated USB sticks under OpenBSD is really slow. > > *One* of the reasons is that only one block is currently read-ahead if > > possible. > > > > Diff below converts msdosfs_read() to use

Re: Clustering read for MSDOSFS

2016-01-11 Thread Martin Pieuchot
On 11/01/16(Mon) 10:44, Mathieu - wrote: > Martin Pieuchot wrote: > > On 03/01/16(Sun) 23:10, Martin Pieuchot wrote: > > > Reading files on msdos-formated USB sticks under OpenBSD is really slow. > > > *One* of the reasons is that only one block is currently read-ahead if > > > possible. > > > >

Re: Clustering read for MSDOSFS

2016-01-07 Thread Martin Pieuchot
On 03/01/16(Sun) 23:10, Martin Pieuchot wrote: > Reading files on msdos-formated USB sticks under OpenBSD is really slow. > *One* of the reasons is that only one block is currently read-ahead if > possible. > > Diff below converts msdosfs_read() to use bread_cluster() which at least > double the

Clustering read for MSDOSFS

2016-01-03 Thread Martin Pieuchot
Reading files on msdos-formated USB sticks under OpenBSD is really slow. *One* of the reasons is that only one block is currently read-ahead if possible. Diff below converts msdosfs_read() to use bread_cluster() which at least double the transfer rate when reading sequential blocks here. When