[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-05-19 Thread Daniel Stokes
Daniel Stokes added the comment: I have uploaded a new patch with the suggested changes, thanks for the review. -- Added file: http://bugs.python.org/file42908/loopback_fast_path_v3.patch ___ Python tracker <http://bugs.python.org/issue26

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-05-18 Thread Daniel Stokes
Daniel Stokes added the comment: I have added a zip containing a simple server and client to test the patch with. With loopback fast path enabled, I get 3-5x more throughput on my Windows 10 computer with an AMD 900 series chipset. -- Added file: http://bugs.python.org/file42895

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-05-17 Thread Daniel Stokes
Daniel Stokes added the comment: Thank you for the review. I have made the changes suggested in the code and I have uploaded a new patch. -- Added file: http://bugs.python.org/file42888/loopback_fast_path_v2.patch ___ Python tracker <h

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-04-26 Thread Daniel Stokes
Daniel Stokes added the comment: The "Lifecycle of a Patch" document recommends pinging an issue after a month of no review. I do not see any special ping option, so I am assuming that means to post a comment. To help with code review I tried to keep this change very similar to

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-03-10 Thread Daniel Stokes
New submission from Daniel Stokes: Adding the SIO_LOOPBACK_FAST_PATH option to socket.ioctl on Windows allows Windows users to enable the loopback fast path option available on Windows 8+. This allows for much better TCP loopback performance on Windows. For more information on TCP Loopback