Change default bufsize to 512k
commit1bcfef6a9093aa873550a263dc142c8a3f5edffd
authorVolker Lendecke <vl@samba.org>
Sat, 1 Mar 2008 11:11:22 +0000 (1 12:11 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 6 Mar 2008 12:28:23 +0000 (6 13:28 +0100)
tree718c372890acee10a5a24d12cfd103a8d22e299f
parente602f06cbba852a7eacd15b2511ef2571a95cc80
Change default bufsize to 512k

I did not do any scientific tests, but the dummy test on my laptop against a
w2k3 vmware shows that in this specific situation going beyond 512k seems not
to gain anything anymore.

smb: \> iosize 64512
iosize is now 64512
smb: \> lcd /dev
smb: \> get random null
getting file \random of size 104857600 as null (33453,1 kb/s) (average 19718,5 kb/s)
smb: \> get random null
getting file \random of size 104857600 as null (34236,0 kb/s) (average 20509,1 kb/s)
smb: \> iosize 524288
iosize is now 524288
smb: \> get random null
getting file \random of size 104857600 as null (49042,1 kb/s) (average 22521,9 kb/s)
smb: \> get random null
getting file \random of size 104857600 as null (49420,8 kb/s) (average 23432,9 kb/s)
smb: \> iosize 1048576
iosize is now 1048576
smb: \> get random null
getting file \random of size 104857600 as null (49420,8 kb/s) (average 24284,2 kb/s)
smb: \> get random null
getting file \random of size 104857600 as null (49136,3 kb/s) (average 25076,9 kb/s)
source/client/client.c