forked from libuv/libuv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win: add tcp loopback fastpath support
Starting with Windows 8 / Server 2012, an new IOCTL (SIO_LOOPBACK_FAST_PATH) is available to increase loopback performance. This feature is enabled by default on all server sockets and loopback client socket when using either IPv4 or IPv6. It's forcibly disabled when dualstack IPv4/IPv6 is enabled as it cause crashes. It can be disabled explicitly using the new function uv_tcp_fastpath. See also: <http://blogs.technet.com/b/wincat/archive/2012/12/05/fast-tcp-loopback-performance-and-low-latency-with-windows-server-2012-tcp-loopback-fast-path.aspx> Benchmarks numbers : test name | without fastpath | with fastpath | ratio | --------------------|------------------|----------------|---------| tcp_pump1_client | 3.8 gbit/s | 8.9 gbit/s | +134% | tcp_pump100_client | 3.8 gbit/s | 10.7 gbit/s | +181% | tcp-conn-pound-100 | 11926 accepts/s | 9601 accepts/s | - 19% | tcp-conn-pound-1000 | 10216 accepts/s | 9144 accepts/s | - 10% |
- Loading branch information
Showing
8 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters