OS/2, eCS & ArcaOS - Technical > Networking

Moved to UltraFibre 120 Mb/s but OS/2 chugs at 10 Mb/s...???

(1/17) > >>

Dariusz Piatkowski:
So here is a weird one...I have been using phone line DSL for a number of years...finally with two teenagers at home and their seemingly insatiable desire for media (well, we all enjoy it once in a while LOL) I took a plunge into the Fibre options.

Today the local cable provider ran a coax cable from the box at the front of the house (fibre backbone) to the house. He installed the modem, I hooked my WifFi router up, all good right???

Well, to my surprise, the OS/2 machine can only fathom a lousy 800KB/s, which is roughly 8Mb/s, whereas the exact same download on my Win7 box literally flies almost 10x faster giving me an avg 7100KB/s, so nearly 70Mb/s.

What gives???

My NIC is classified by PCI utility as "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller", Device 8168h, that makes sense. I am using the MMRE drivers, and even though this appears to be a hardware issue I am nearly 100% it is not. I can do a xfer between any of my home devices at much faster rates...so the NIC itself and the OS/2 drivers seem to be very capable of moving FAST.

...and so I'm stumped here!!! Where to go next with this?

I have never had to try to troubleshoot this kind of a problem, I suspect maybe some tcp/ip settings need to be changed?

Needless to say, the move to UltraFibre120 seems to have been much of a fizzle on my OS/2 box...at least the rest of the house devices are seeing the benefits...my problem is I do almost all of my computing/on-line work on my OS/2 box!

Ian Manners:
Hi Dariusz,

What are the contents of your x:\mptn\etc\inetcfg.ini file ?
If you do not have one, you can create one with "inetcfg -g all" from the command line.
Then place the line "inetcfg -s all" (minus the quotes) in your x:\mptn\bin\setup.cmd file.

It is likely that your TCP/IP window parameters will need to be adjusted, likely by experimenting, remember the OS/2 stack is ancient :o)


--- Quote ---#Inetcfg:   CURRENT   DEFAULT   MINIMUM   MAXIMUM
tcpswinsize   131072   32768   1024   246723   TCP SendWindow Size
tcprwinsize   131072   32768   1024   246723   TCP RecvWindow Size
udpswinsize   41600   9216   1024   246723   UDP SendWindow Size
udprwinsize   41600   41600   1024   246723   UDP RecvWindow Size
lipcstswinsize   20480   10240   1024   246723   LIPC Stream SendWindow Size
lipcstrwinsize   20480   10240   1024   246723   LIPC Stream RecvWindow Size
lipcdgswinsize   8192   2048   1024   246723   LIPC Dgram SendWindow Size
lipcdgrwinsize   8192   4096   1024   246723   LIPC Dgram RecvWindow Size
perfhttp   1   1   0   1   Fast Path HTTP ON/OFF

--- End quote ---

Also, what is the value of    "ETHERAND_TYPE" in your x:\ibmcom\protocol.ini file ?
I find I talk a lot quicker to windows PC's via TCPIP with the value set to D but if you change it, it must be changed on all other OS/2 computers otherwise they will nolonger talk to each other.

Dariusz Piatkowski:
H Ian!


--- Quote from: Ian Manners on October 06, 2017, 10:17:07 am ---What are the contents of your x:\mptn\etc\inetcfg.ini file ?

--- End quote ---

I did not have this file created, however, here are the values I was using:

#Inetcfg:   CURRENT   DEFAULT   MINIMUM   MAXIMUM

keepalive   7800   7800   0   7800   KeepAlive (sec)
tcpswinsize   32768   32768   1024   246723   TCP SendWindow Size
tcprwinsize   32768   32768   1024   246723   TCP RecvWindow Size
udpswinsize   9216   9216   1024   246723   UDP SendWindow Size
udprwinsize   41600   41600   1024   246723   UDP RecvWindow Size
lingertime   120   120   0   65535   Linger Time (sec)
probecnt   8   8   1   8   Number Of KeepAlive Probes
ipforward   0   0   0   1   IP Forwarding flag ON/OFF
mtudiscover   1   1   0   1   TCP Path MTU Discovery ON/OFF
arpkillc   1200   1200   180   15300   ARP Complete TimeOut (sec)
arpkilli   180   180   60   1200   ARP InComplete TimeOut (sec)
lipcstswinsize   10240   10240   1024   246723   LIPC Stream SendWindow Size
lipcstrwinsize   10240   10240   1024   246723   LIPC Stream RecvWindow Size
lipcdgswinsize   2048   2048   1024   246723   LIPC Dgram SendWindow Size
lipcdgrwinsize   4096   4096   1024   246723   LIPC Dgram RecvWindow Size
synattack   0   0   0   1   SYN Attack Flag ON/OFF
syncookie   0   0   0   1   SYN Cookie Flag ON/OFF
firewall   0   0   0   1   FIREWALL ON/OFF
multidefrt   1   1   0   1   Multiple Default Routes ON/OFF
winscale   1   1   0   1   TCP Window Scale ON/OFF
timestmp   0   0   0   1   TCP TimeStamps ON/OFF
realslow   20   20   1   100   TCP TW Q Slow Timeout ticks
perfhttp   1   1   0   1   Fast Path HTTP ON/OFF
tcpttl      64   64   1   255   TCP  TTL (hops)
udpttl      64   64   1   255   UDP  TTL (hops)
icmpttl      64   64   1   255   ICMP TTL (hops)
fragttl      60   60   1   255   Fragment TTL (sec)
reusetw      1   1   0   1   Reuse Time Wait ON/OFF
msl      30   30   1   16384   TCP MaxSegLifeTime (sec)
cc      0   0   0   1   TTCP function ON/OFF
sack      1   0   0   1   Selective ACK ON/OFF



--- Quote from: Ian Manners on October 06, 2017, 10:17:07 am ---...Also, what is the value of    "ETHERAND_TYPE" in your x:\ibmcom\protocol.ini file ?
I find I talk a lot quicker to windows PC's via TCPIP with the value set to D but if you change it, it must be changed on all other OS/2 computers otherwise they will nolonger talk to each other.

--- End quote ---

I do not have this in my INI, I believe that is because I turned off [netbeui_nif], only '0 - IBM TCP/IP' is bound to the nic. It is set up this way since I was simply not using any of this functionality on my LAN as I do not have any other OS/2 machines here and to get to the Winx boxes I rely on NetDrive instead.

Alright, for now I am experimenting with the changes you suggested. Should I be looking to re-define the MTU size as well? Right now it is set to 1452, the router is set to 1500, and various on-line places suggest the use of 1492...

Thanks!

Remy:

--- Quote from: Dariusz Piatkowski on October 06, 2017, 06:07:29 am ---So here is a weird one...I have been using phone line DSL for a number of years...finally with two teenagers at home and their seemingly insatiable desire for media (well, we all enjoy it once in a while LOL) I took a plunge into the Fibre options.

Today the local cable provider ran a coax cable from the box at the front of the house (fibre backbone) to the house. He installed the modem, I hooked my WifFi router up, all good right???

Well, to my surprise, the OS/2 machine can only fathom a lousy 800KB/s, which is roughly 8Mb/s, whereas the exact same download on my Win7 box literally flies almost 10x faster giving me an avg 7100KB/s, so nearly 70Mb/s.

What gives???

My NIC is classified by PCI utility as "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller", Device 8168h, that makes sense. I am using the MMRE drivers, and even though this appears to be a hardware issue I am nearly 100% it is not. I can do a xfer between any of my home devices at much faster rates...so the NIC itself and the OS/2 drivers seem to be very capable of moving FAST.

...and so I'm stumped here!!! Where to go next with this?

I have never had to try to troubleshoot this kind of a problem, I suspect maybe some tcp/ip settings need to be changed?

Needless to say, the move to UltraFibre120 seems to have been much of a fizzle on my OS/2 box...at least the rest of the house devices are seeing the benefits...my problem is I do almost all of my computing/on-line work on my OS/2 box!

--- End quote ---

Same result for me.
Only 6Mbps while under windows, I have 60Mbps

(note: this is why I searched how to speed up firefox)

Ian Manners:
Hi Dariusz,

Manual MTU value depends on what your fibre is using but you are using mtudiscover for MTU so its fine.

You would normally use 1500 for PPPoA, 1492 for PPPoE but it's really depending on your provider. Some will only accept 1492 for PPPoA and 1452 for PPPoE as your on fibre I would expect you to use 1500 and then let mtudiscover look after it. I have no idea if your provider allows jumbo packets or not, I don't even know if OS/2 supports MTU values above 1500 either but normally smaller is better than larger, up to a point.

If you have created an inetcfg.ini file in your x:\mptn\etc directory.


--- Quote ---If you do not have one, you can create one with "inetcfg -g all" from the command line.
Then place the line "inetcfg -s all" (minus the quotes) in your x:\mptn\bin\setup.cmd file.
--- End quote ---

then you can start by editing the inetcfg.ini file, simply copy whats below to replace the one you have.

Note you should change your keepalive and sack values to reflect what is below as well.


--- Quote ---#Inetcfg:   CURRENT   DEFAULT   MINIMUM   MAXIMUM

keepalive   60   7800   0   7800   KeepAlive (sec)
tcpswinsize   131072   32768   1024   246723   TCP SendWindow Size
tcprwinsize   131072   32768   1024   246723   TCP RecvWindow Size
udpswinsize   41600   9216   1024   246723   UDP SendWindow Size
udprwinsize   83200   41600   1024   246723   UDP RecvWindow Size
lingertime   60   120   0   65535   Linger Time (sec)
probecnt   8   8   1   8   Number Of KeepAlive Probes
ipforward   0   0   0   1   IP Forwarding flag ON/OFF
mtudiscover   1   1   0   1   TCP Path MTU Discovery ON/OFF
arpkillc   1200   1200   180   15300   ARP Complete TimeOut (sec)
arpkilli   180   180   60   1200   ARP InComplete TimeOut (sec)
lipcstswinsize   40960   10240   1024   246723   LIPC Stream SendWindow Size
lipcstrwinsize   40960   10240   1024   246723   LIPC Stream RecvWindow Size
lipcdgswinsize   8192   2048   1024   246723   LIPC Dgram SendWindow Size
lipcdgrwinsize   16384   4096   1024   246723   LIPC Dgram RecvWindow Size
synattack   1   0   0   1   SYN Attack Flag ON/OFF
syncookie   0   0   0   1   SYN Cookie Flag ON/OFF
firewall   0   0   0   1   FIREWALL ON/OFF
multidefrt   0   1   0   1   Multiple Default Routes ON/OFF
winscale   1   1   0   1   TCP Window Scale ON/OFF
timestmp   0   0   0   1   TCP TimeStamps ON/OFF
realslow   20   20   1   100   TCP TW Q Slow Timeout ticks
perfhttp   1   1   0   1   Fast Path HTTP ON/OFF
tcpttl      64   64   1   255   TCP  TTL (hops)
udpttl      64   64   1   255   UDP  TTL (hops)
icmpttl      64   64   1   255   ICMP TTL (hops)
fragttl      60   60   1   255   Fragment TTL (sec)
reusetw      1   1   0   1   Reuse Time Wait ON/OFF
msl      30   30   1   16384   TCP MaxSegLifeTime (sec)
cc      0   0   0   1   TTCP function ON/OFF
sack      0   0   0   1   Selective ACK ON/OFF

--- End quote ---

The main values you want to play with are:-
tcpswinsize
tcprwinsize
udpswinsize
udprwinsize

You can probably try setting them to the max values and see how it goes.

Navigation

[0] Message Index

[#] Next page

Go to full version