David Miller wrote:Mostly. That's not the problem I'm talking about here. The problem I'm seeing is that if your burst of messages is too small to fill the MTU, the network stack will just sit there and stare at you for precisely 40 ms (an eternity for a financial app) before transmitting. Andi may be correct that it's actually the delayed ACK we're seeing, but I can't figure out where that 40 ms magic number is coming from. The easiest way to see the problem is to open a TCP socket to an echo daemon on loopback, make a bunch of small writes totaling less than your loopback MTU (accounting for overhead), and see how long it takes to get your echoes. You can probably do this with netcat, though I haven't tried. People don't expect loopback to have 40 ms latency when the box is lightly loaded, so they'd really like to tweak that down when it's hurting them. -- Chris -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Parag Warudkar | BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0] |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| David Miller | Re: [BUG] New Kernel Bugs |
