mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 23:31:39 +00:00
IB can't afford many RX buffers, because the MTU is so large. Reduce
the TCP window to compensate.
This commit is contained in:
parent
2f23881856
commit
30717896f5
@ -275,7 +275,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 ( 65536 - 4 )
|
||||
#define TCP_MAX_WINDOW_SIZE 4096
|
||||
|
||||
/**
|
||||
* Path MTU
|
||||
|
Loading…
Reference in New Issue
Block a user