On Tue, Oct 09, 2012 at 11:13:52PM +0200, Manuel Bouyer wrote: > There is still a reference to MAXPHYS in ufs_bmaparray(), which, if I got > it right, will limit the *runp in VOP_BMAP(), which will limit iobytes > in genfs_do_io(). > > but that doens't explain why I see 32k xfers. And, to make things worse, > I see 64k if I start the big file read with debug enabled, so it looks > timing-dependant :(
OK, after fixing the issue I created in ra_startio(), and replacing the MAXPHYS above with mnt_maxphys, I get: device read KB/t r/s time MB/s write KB/t w/s time MB/s wd0 504.22 129 0.90 63.45 0.00 0 0.90 0.00 with a 'cat big_file > /dev/null' writes are still limited to 64k ... -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --