Thread (35 messages) 35 messages, 6 authors, 2008-09-12

Re: using software TSO on non-TSO capable netdevices

From: Rick Jones <hidden>
Date: 2008-07-31 17:00:36

Lennert Buytenhek wrote:
When using sendfile() to send a GiB worth of zeroes over a single TCP
connection to another host on a 100 Mb/s network, with a vanilla
2.6.27-rc1 kernel, this runs as expected at wire speed, taking the
following amount of CPU time per test:

	sys     0m5.410s
	sys     0m5.380s
	sys     0m5.620s
	sys     0m5.360s
That's output from "time" run against your test program right?  Are 
folks confident that will account for all the CPU time consumed on 
behalf of that program?  FWIW netperf is unwilling to make such an 
assumption.  Perhaps I and it are being too paranoid but there you have 
it :)

rick jones
fwiw, there is a TCP_SENDFILE test in netperf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help