1 --- illumos-gate/usr/src/uts/common/inet/tcp_impl.h.orig 2024-07-02 19:25:33.346845738 +0200
2 +++ illumos-gate/usr/src/uts/common/inet/tcp_impl.h 2024-07-02 20:00:05.207140717 +0200
6 #define TCP_XMIT_LOWATER 4096
7 -#define TCP_XMIT_HIWATER 49152
8 +#define TCP_XMIT_HIWATER (1024 * 1024)
9 #define TCP_RECV_LOWATER 2048
10 -#define TCP_RECV_HIWATER 128000
11 +#define TCP_RECV_HIWATER (1024 * 1024)
14 * Bind hash list size and has function. It has to be a power of 2 for
15 --- illumos-gate/usr/src/uts/common/inet/udp_impl.h.orig 2024-07-02 19:25:33.347703763 +0200
16 +++ illumos-gate/usr/src/uts/common/inet/udp_impl.h 2024-07-02 20:01:52.508755181 +0200
18 #define UDP_NUM_EPRIV_PORTS 64
20 /* Default buffer size and flow control wake up threshold. */
21 -#define UDP_RECV_HIWATER (56 * 1024)
22 +#define UDP_RECV_HIWATER (1024 * 1024)
23 #define UDP_RECV_LOWATER 128
24 -#define UDP_XMIT_HIWATER (56 * 1024)
25 +#define UDP_XMIT_HIWATER (1024 * 1024)
26 #define UDP_XMIT_LOWATER 1024
29 --- illumos-gate/usr/src/uts/common/inet/tcp/tcp_tunables.c.orig 2024-07-02 20:08:02.605808960 +0200
30 +++ illumos-gate/usr/src/uts/common/inet/tcp/tcp_tunables.c 2024-07-03 20:19:19.173630983 +0200
33 { "max_buf", MOD_PROTO_TCP,
34 mod_set_uint32, mod_get_uint32,
35 - {8192, ULP_MAX_BUF, 1024*1024}, {1024*1024} },
36 + {8192, ULP_MAX_BUF, 2048*1024}, {2048*1024} },
38 { "_strong_iss", MOD_PROTO_TCP,
39 mod_set_uint32, mod_get_uint32,