Message234952
> Charles-François Natali added the comment:
>
> 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.
OK, actually the receiver is completely CPU-bound, because of memory
allocation for the socket.recv() buffer I'll play with recv_into() and
profile a bit more. |
|
Date |
User |
Action |
Args |
2015-01-29 07:42:33 | neologix | set | recipients:
+ neologix, pitrou, vstinner, ned.deily |
2015-01-29 07:42:33 | neologix | link | issue23285 messages |
2015-01-29 07:42:33 | neologix | create | |
|