summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-01 12:11:22 +0100
committerVolker Lendecke <vl@samba.org>2008-03-06 13:28:23 +0100
commit5193ae9b5abaa279b1baf19d2eabe229f423a1e8 (patch)
treeb21f6e06c0732856e9bbf4c7e6ed181c7055af37 /source3
parenta8003f1af2169d897775c843520d5120c1789624 (diff)
downloadsamba-5193ae9b5abaa279b1baf19d2eabe229f423a1e8.tar.gz
samba-5193ae9b5abaa279b1baf19d2eabe229f423a1e8.tar.bz2
samba-5193ae9b5abaa279b1baf19d2eabe229f423a1e8.zip
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) (This used to be commit 1bcfef6a9093aa873550a263dc142c8a3f5edffd)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 9d298ae91b..79b7dfe838 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -43,7 +43,7 @@ static bool grepable = false;
static char *cmdstr = NULL;
static const char *cmd_ptr = NULL;
-static int io_bufsize = 64512;
+static int io_bufsize = 524288;
static int name_type = 0x20;
extern int max_protocol;