Hi Massimo,
on a 30Megabit/sec download / 10Megabit/sec upload full granted (with 8 internet static IPs)
router is a Mikrotik Hex lite, mtu is 1500
how should i calculate the inetcfg values?
MSS (maximum segment size) and MTU (maximum transmission unit)
Your MSS will depend on your packet overhead, ie PPPoE is normally 8 bytes (6 bytes PPPoE + 2 bytes PPP).
my MSS = MTU minus 40(IP header(20 bytes) + TCP header(20 bytes))
=> my MSS = 1440 = 1480 - 40
Receive Window size = multiple of MSS
For an MTU = 1500, assuming your MSS = 1460
Your optimum Receive Window size's will be MSS * 44, with each successive value doubled until you reach your limit.
1460 * 44 = 64240
1460 * 44 * 2 = 128480
1460 * 44 * 2^2 (2 squared) = 256960
As OS/2's maximum Receive Windows size is 246723, you would use the value of 128480
BUT check your MSS, this should be shown somewhere in your router.
Dariusz, SACK flag set to 1 should be fine and is probably preferred on a non server machine that is regularly restarted. The problem's come to the fore when the OS/2 box has a long uptime, hence the recommendation to set SACK to 0 if using OS/2 as a server. I do not think much has checked for the OS/2 stack so assume this will still cause a slow memory leak with the latest stack. It would be nice if I was wrong but I still haven't changed my settings to check, very low on my list of priorities!