diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-02-11 14:07:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:53 -0500 |
commit | fe881c3e38bb25a6716d94df362a5580afbdfd8b (patch) | |
tree | e536b2172b8412bb39ac4314ede8d677a49c3f43 /source3/param/loadparm.c | |
parent | 4f5cfc9899295a5c14f734a6c92b3c902ff738d6 (diff) | |
download | samba-fe881c3e38bb25a6716d94df362a5580afbdfd8b.tar.gz samba-fe881c3e38bb25a6716d94df362a5580afbdfd8b.tar.bz2 samba-fe881c3e38bb25a6716d94df362a5580afbdfd8b.zip |
r21278: The main goal of this was to get rid of the NetInBuffer / set_InBuffer. But it
turns out that this patch actually speeds up the async writes considerably.
I tested writing 100.000 times 65535 bytes with the allowed 10 ops in
parallel. Without this patch it took about 32 seconds on my dual-core 1.6GHz
laptop. With this patch it dropped to about 26 seconds. I can only explain it
by better cache locality, NewInBuffer allocates more than 128k, so we jump
around in memory more.
Jeremy, please check!
Volker
(This used to be commit 452d51bc6fd41771b9c41ba6391664513d7cf2cd)
Diffstat (limited to 'source3/param/loadparm.c')
0 files changed, 0 insertions, 0 deletions