Author Topic: Fastest tcp/ip throughput in OS/2?  (Read 2878 times)

Dariusz Piatkowski

  • Hero Member
  • *****
  • Thank You
  • -Given: 13
  • -Receive: 10
  • Posts: 569
    • View Profile
Fastest tcp/ip throughput in OS/2?
« on: November 12, 2018, 05:12:52 am »
Yeah...as simple as it sounds, what are the fastest TCP/IP rates you are seeing in Firefox (or Seamonkey I suppose) in OS/2? (u/l and d/l)

The reason I ask: I recently upgraded to a Gigabit Fibre to Home setup. Previously was using a Fibre to Box and Coax to home and that was getting me a 125 Mbps, which was steadily supplied and no complaints on my OS/2 machine (other then the initial trouble I had, but that was a cable issue).

Well, now with the full Gigabit (confirmed with a modem speed test itself) I am just barely hitting 140Mbps in OS/2 (testing on https://www.speedtest.net/) while the Win7 box is hitting 340 Mbps (yeah, it sucks, my crappy Netgear X6 R8000 router is a POS, advertised as Gigabit, but hell no...nowhere near). This is on a hard-wire side, not even talking WiFi.

If you are hitting higher speeds, what are your setups? I'm using the MMRE 1.1.3 drivers here which drive the motherboard NIC (RealTek 8139C+/8169/8169S/8110S/8168/8111/8101E family).

Thanks!

Matt Walsh

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 1
  • Posts: 31
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #1 on: November 12, 2018, 04:26:46 pm »
I can get 112mb/sec on Windows and 42 mb/sec on Arca with the latest drivers.  Mostly seem to slow down due to CPU overload with all the ads on lots of sites.   I have a dual core athalon A6-7470 and better CPU's on Windows due to it's need for faster hardware to perform.  I do have latest Arca MultiMac drivers, but haven't tried any special editing of files.  Hope this helps.
Matt

Rolf Gachnang

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #2 on: November 12, 2018, 05:55:59 pm »
I only have a subscription for max 50 Mbps. That's enough for me.
Under Windows, eCS / ArcaOS and Ubuntu, I'm exactly as fast on all systems. I come to 52 Mbps.
On Windows, I have an Intel I217-LM chip on board.
Under eCS 2.2 and ArcaOS I have a RTL 8169S-32 card.
Under Ubuntu I have a RTL 8111.
Under eCS I have the driver "Realtek 8111/8168/8169 (MultiMac32-R8169)" (R8169.OS2 Sep 2015). Under ArcaOS I have the driver Realtek 8139C + / 8169 / 8169S ... (MultiMac32-MMRE)" (MMRE.OS2 Oct 2017).

Rolf

Daniel Carroll

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 38
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #3 on: November 12, 2018, 07:54:00 pm »
Mr. Walsh. You may want to try an add blocking Hosts file. The site  http://winhelp2002.mvps.org/hosts.htm is Windows oriented but the plain text version at http://winhelp2002.mvps.org/hosts.txt may be used directly.

Your hosts file should be found at x:\mptn\etc\hosts, where "x" is your boot drive. If you have not modified your hosts file you can just back it up to, say, "hosts.bak" and replace it with the downloaded file. It is a commented text file. Not only does it block lots of ads (adverts) it also blocks many malware sites. The file at the site is updated regularly.

Matt Walsh

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 1
  • Posts: 31
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #4 on: November 12, 2018, 10:51:35 pm »
Thanks Daniel.  Didn't get faster on speedtest, but nice to have less ads.
MJW

David Graser

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 57
  • Posts: 505
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #5 on: November 13, 2018, 12:58:19 am »
I can see no difference when running and testing with either Windows or AcraOS.
« Last Edit: November 13, 2018, 01:15:02 am by David Graser »

Daniel Carroll

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 38
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #6 on: November 13, 2018, 01:19:57 am »
Make sure the hosts.txt file is renamed "hosts" with no extension. I should have made that clear. Also, if you have modified your hosts file add the changes to the beginning just before the line "# [Start of entries generated by MVPS HOSTS]".  Most people don't modify their hosts file, but it can be handy to give names to computers and printers on your local network, or on the Internet for that matter.

roberto

  • Sr. Member
  • ****
  • Thank You
  • -Given: 16
  • -Receive: 10
  • Posts: 460
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #7 on: November 13, 2018, 04:23:30 pm »
Well, I just did a test out of curiosity, and it gave me a surprising result. ARCAOS503 of 373.2mbps. And with the host file proposed by Daniel modifying the line # :: 1 localhost # [IPv6] with #. It has given me 410mbps.
I'm not sure but maybe it could be the config.sys, putting the IFS before the device = network driver. In my case DEVICE = H: \ IBMCOM \ MACS \ E1000B.OS2

Daniel Carroll

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 38
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #8 on: November 14, 2018, 12:48:45 am »
Adding the ad and malware blocking hosts file shouldn't increase your download speed (as far as I know), but it decreases the size of downloads. This speeds up page loading. Some sites show no change. With others the change is just short of miraculous. YMMV

Remy

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 12
  • Posts: 188
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #9 on: November 14, 2018, 06:56:57 pm »
Do you have Injoy firewall ?
If yes, get the latest driver from them (they found and rewrote the driver after I opened a ticket to them), it resolved my speed problem under ArcaOS.
Which firefow build do you use ?
Try to use a direct speedtest without firefox (I think you already did it).
https://www.os2world.com/forum/index.php/topic,1486.msg17980.html#msg17980

You can give a try to the Realtek 8139C + / 8169 / 8169S driver too which If I did well understand uses a more "optimized process" than MMRE.
« Last Edit: November 14, 2018, 07:00:40 pm by Remy »

Dariusz Piatkowski

  • Hero Member
  • *****
  • Thank You
  • -Given: 13
  • -Receive: 10
  • Posts: 569
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #10 on: November 15, 2018, 05:36:48 am »
Guys,

Regarding the original content...I am not running anything else on my tcpip config, such as Injoy, etc.

To establish a better comparison point I will try to run with the native RealTek drivers, got a few versions kicking around here.

Another point noting, came to find out that my fancy 'Gigabit Fibre' connection only happens to peak at some 450mbps on the 1Gig LAN port side of the ISP's modem (Bell Home Hub 3000). Clearly this is not right, I am not getting the usable 1Gig. Having said that, the technician who came in to do the troubleshooting did acknowledge that they are having problems with Huawei hardware, specifically the ONT connection and the main-line splitter. Apparently the Alcatel hardware on the other hand does not have these problems and regularly hits the max speeds.

Ian Manners

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 37
  • -Receive: 26
  • Posts: 320
  • I am the computer, it is me.
    • View Profile
    • ComKal Networks Australia
Re: Fastest tcp/ip throughput in OS/2?
« Reply #11 on: November 15, 2018, 06:35:12 am »
What is in your x:\mptn\etc\inetcfg.ini
Cheers
Ian B Manners

Remy

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 12
  • Posts: 188
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #12 on: November 15, 2018, 12:44:05 pm »
MMRE uses ""Receive Lookahead" transfer mode to the protocol while R8169.OS2 uses "ReceiveChain" transfer mode
May be this could impact max speed...

Dariusz Piatkowski

  • Hero Member
  • *****
  • Thank You
  • -Given: 13
  • -Receive: 10
  • Posts: 569
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #13 on: November 16, 2018, 05:05:27 am »
What is in your x:\mptn\etc\inetcfg.ini

Here it is:

Code: [Select]
#Inetcfg: CURRENT DEFAULT MINIMUM MAXIMUM

keepalive 60 7800 0 7800 KeepAlive (sec)
tcpswinsize 246723 32768 1024 246723 TCP SendWindow Size
tcprwinsize 246723 32768 1024 246723 TCP RecvWindow Size
udpswinsize 246723 9216 1024 246723 UDP SendWindow Size
udprwinsize 246723 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 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
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

The send and recv windows are at max size, the only thing I did not adjust is the LIPC stuff...not sure what it is and initial search strangely did not return matching hits. I haven't gotten around to reviewing it again since the last time I did some of that tunning (when I originally moved from DSL to the Fibre125 mbps ISP.

I will tell you this, I switched to the "Realtek Gigabit 8111/8168/8169 driver (MultiMac32-R8169) for OS/2" drivers for my NIC. Having tested multiple times I am no longer seeing a TRAP in AFINET that I was seeing with the MMRE drivers. The TRAP would only happen during the upload part of the test, at speeds I was not seeing in the past (about 150 mbps). Will monitor this further because if the driver itself is the cause I will put in a ticket with AN and hopefully this gets some attention.

Lars

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 43
  • Posts: 419
    • View Profile
Re: Fastest tcp/ip throughput in OS/2?
« Reply #14 on: November 16, 2018, 11:53:48 am »
At eCS times, "sack" was always set to zero. I am fairly sure it should still be this way as the feature was broken and nobody has touched AFINETK.SYS since.

And that said, that's the likely reason for the TRAP in AFINETK.SYS that you are experiencing
(make sure you use SOCKETSK.SYS and AFINETK.SYS and not SOCKETS.SYS and AFINET.SYS !)