summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/load_elf.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2006-11-02 17:45:28 +0000
committerandre <andre@FreeBSD.org>2006-11-02 17:45:28 +0000
commit429c8e9145f0770e3a0312e2c26c2f004816e89c (patch)
tree7c753b15081f29f1a7d07842d299a23adc48711a /sys/boot/common/load_elf.c
parentd1cc5b22d78b6226d2469a4044e415f618ab894a (diff)
downloadFreeBSD-src-429c8e9145f0770e3a0312e2c26c2f004816e89c.zip
FreeBSD-src-429c8e9145f0770e3a0312e2c26c2f004816e89c.tar.gz
Use the improved m_uiotombuf() function instead of home grown sosend_copyin()
to do the userland to kernel copying in sosend_generic() and sosend_dgram(). sosend_copyin() is retained for ZERO_COPY_SOCKETS which are not yet supported by m_uiotombuf(). Benchmaring shows significant improvements (95% confidence): 66% less cpu (or 2.9 times better) with new sosend vs. old sosend (non-TSO) 65% less cpu (or 2.8 times better) with new sosend vs. old sosend (TSO) (Sender AMD Opteron 852 (2.6GHz) with em(4) PCI-X-133 interface and receiver DELL Poweredge SC1425 P-IV Xeon 3.2GHz with em(4) LOM connected back to back at 1000Base-TX full duplex.) Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 month
Diffstat (limited to 'sys/boot/common/load_elf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud