Message234950
> It turns out the times are not important; the hangup is the default size of the socket buffers on OS X and possibly BSD in general. In my case, the send and receive buffers are 8192, which explains why the chunks written are so small.
Hmmm...
Basically, with a much smaller socket buffer, we get much more context
switches, which increases drastically the test runtime.
But I must admit I'm still really surprised by the time it takes on
OS-X: with a SOCK_MAX_SIZE of 16MB and a socket buffer size of 8kb,
that's 2000 calls to send with context switches between the sender and
receiver - and thie overhead should be much less on a two core
machine.
I'll try to increase the socket buffer size and see what the buildbots
do: most of them will probably cap it at around 100k, but that'll
hopefully be enough. |
|
Date |
User |
Action |
Args |
2015-01-29 07:28:23 | neologix | set | recipients:
+ neologix, pitrou, vstinner, ned.deily |
2015-01-29 07:28:23 | neologix | link | issue23285 messages |
2015-01-29 07:28:23 | neologix | create | |
|