aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-04 11:08:29 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-04 11:08:29 -0800
commit8b500111ebb7d8acc037d2ebd51b42bc65229589 (patch)
treeadbe2bd194764e7c18844b22c751b8653407754f /gpxe/src/include
parent27d83f63e5aac365c22896d4645090c80873f672 (diff)
downloadsyslinux.git-8b500111ebb7d8acc037d2ebd51b42bc65229589.tar.gz
syslinux.git-8b500111ebb7d8acc037d2ebd51b42bc65229589.tar.xz
syslinux.git-8b500111ebb7d8acc037d2ebd51b42bc65229589.zip
gPXE: bump the window size to 64K
Change the window size from 4K to 64K to have at least a hope of sane WAN performance. Retransmission cost is mostly related to timeouts, not amount retransmitted, anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'gpxe/src/include')
-rw-r--r--gpxe/src/include/gpxe/tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpxe/src/include/gpxe/tcp.h b/gpxe/src/include/gpxe/tcp.h
index 7ae7eab9..9dc39fcc 100644
--- a/gpxe/src/include/gpxe/tcp.h
+++ b/gpxe/src/include/gpxe/tcp.h
@@ -286,8 +286,8 @@ struct tcp_options {
* actually use 65536, we use a window size of (65536-4) to ensure
* that payloads remain dword-aligned.
*/
-//#define TCP_MAX_WINDOW_SIZE ( 65536 - 4 )
-#define TCP_MAX_WINDOW_SIZE 4096
+#define TCP_MAX_WINDOW_SIZE ( 65536 - 4 )
+//#define TCP_MAX_WINDOW_SIZE 4096
/**
* Path MTU