On Tue, 21 Apr 2009, Benzi wrote: > OK thanks for the clarification.
> Regarding tx ring size setting: what about if the CPU is not the > bottleneck (i.e., i still have cpu headroom)? i mean if i have > tx_restart_queue events when i have plenty of cpu idle i probably need > to increase the tx ring size (probably with increasing tx interrupt > rate) - but as you say i might harm the small packet throughput... I would suggest first increasing the interrupt rate using ethtool -C ethx rx-usecs 10 a value of 10 here means about 100000 interrupts per second, 50,000 for transmit. after that if you're still getting tx_restart_queue then I would increase the tx ring size from 256 to 512. We've found 512 to be the sweet spot, but it still isn't the default for some reason. Jesse ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel