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
|
* actually use 65536, we use a window size of (65536-4) to ensure
|
||||||
* that payloads remain dword-aligned.
|
* 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
|
* Path MTU
|
||||||
|
|
Reference in New Issue