From: Benjamin LaHaise <[EMAIL PROTECTED]> Date: Tue, 28 Feb 2006 08:32:37 -0800
> The patch below reworks socket.c to use fget_light() in place of fget() > for the various networking syscalls. This is of particular value with > SMP kernels running on the P4 as the memory barriers the atomic ops on > the file counter causes result in the CPU having to wait for quite a few > memory transactions to complete (we can have up to ~128 instructions in > flight). > > On the default netperf (which uses fairly large buffers) the increase is > around 25Mbit/s (on 8000Mbit/s). Using 'netperf -- -m 64' performance goes > to ~284Mbit/s from 247Mbit/s, which is pretty substantial. > > Signed-off-by: Benjamin LaHaise <benjamin.c.lahaise> (missing @intel.com in signed-off-line) This patch is nice but it doesn't apply because of all the changes I made to net/socket.c to handlne -ENFILE/-EMFILE correctly. Could you please redo your patch against: master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.17.git and fixup the signed-off-line. Thanks a lot Ben. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html