Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ian Manners

Pages: 1 [2] 3 4 ... 19
16
Hi Massimo,

Quote
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!

17
My current NBN/HFC connection (Australian) is officially 50/20Mbps but is more like a 38ms 15/2Mbps connection with cached burst max of 32Mbps download and cached sustained download of 17Mbps with maximum non cached download speeds of 3.6Mbps. After much optimisation individually using Windows 7, Zorin OS Ultimate (Ubuntu variant) and OS/2 (without InJoy Firewall) connected directly to the router, I have results that are only relevant to my connection.

My optimised inetcfg.ini file has a maximum Receive, and Send window size of 63360 with an MTU of 1480, and an MSS of 1440. The window size is locked to a maximum of 65534 external to my network no matter which provider I use so can only assume this is a HFC 'thing' so I'm moved to a cheaper ISP with the same results. HFC is the only option available in our area.
 

============== inetcfg.ini ==============

#Inetcfg:   CURRENT   DEFAULT   MINIMUM   MAXIMUM

keepalive   30   7800   0   7800   KeepAlive (sec)
tcpswinsize   63360   32768   1024   246723   TCP SendWindow Size
tcprwinsize   63360   32768   1024   246723   TCP RecvWindow Size
udpswinsize   63360   9216   1024   246723   UDP SendWindow Size
udprwinsize   63360   41600   1024   246723   UDP RecvWindow Size
lingertime   60   120   0   65535   Linger Time (sec)
probecnt   8   8   1   8   Number Of KeepAlive Probes
ipforward   1   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   63360   10240   1024   246723   LIPC Stream SendWindow Size
lipcstrwinsize   63360   10240   1024   246723   LIPC Stream RecvWindow Size
lipcdgswinsize   16384   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

============== inetcfg.ini ==============

I think the above shows you that the settings you require are very much individually dependent on your personal connection, and the tech used. The best results you can expect are dependent on putting the effort into changing inetcfg.ini settings then updating your system by reloading inetcfg.ini with 'inetcfg -s all' OR using a utility under Windows or Linux to simplify getting the data you need.
RecvWindow size needs to be a multiple of your MSS.

My former ADSL/2+ AnnexM was a 9ms 22/3Mbps PPPoA connection with an MTU of 1500 and a window size around half the maximum of 246723.
Note, all ms results are to the first external hop only, I used a ISP provided router, OR a TPLink AC1200, OR a Cisco SG300-20 Managed switch on each test run to remove anything that may have been attributed to my own hardware.

[edited misspelling, and expanded the last sentence]

18
General Discussion / Re: OS2World Server Issues (2020-01-04)
« on: January 06, 2020, 05:15:48 am »
I like the new look.  Thanks for your efforts.

Agree, + not always easy to upgrade something but it's the best time of year to do so :)

19
Comments, Suggestions & Questions / Re: New server for hobbes
« on: January 03, 2020, 04:35:55 pm »
Hi All,

Hobbes is on the new server, changes are being made, especially to URL's.
Patience is required during the sorting out stage but you can access all the files ok via FTP in incoming.
The blank files are due to Mr Heldoorn/A. Doff whom I'm assuming is trying it out :)

Also note that the mail server has been removed from hobbes.nmsu.edu so there is a new archiver email address,
"archiver at hobbes.nmsu.edu" is now  "hobbesarchiver at nmsu.edu" - change at to @.

20
General Discussion / Re: OS/2 Article on Ars Technica
« on: December 02, 2019, 06:42:26 am »
Based on the 1996 PBS documentary Triumph of the Nerds.

This comes across as something that Microsoft's people would have done, 98% accurate with key parts changed to slant the context in an effort to rewrite history.
ie, Tell the truth but change the pivots :)

I can only speak from an Australian perspective and noticing that the author of the original article is looking at it as a Windows person claiming to be a convert from OS/2. I had no problems running OS/2 v2.11 with 4Mb of RAM either though that was in a PS/2 77i (which I still have). You have to remember that OS/2 with memory problems was something with a lot more Microsoft code in it.

I went to OS/2 because I was sick and tired of Windows blue screening while either ordering goods over the phone from suppliers, or helping customers on the phone so I grabbed the copy of OS/2 v2.11 that Gavin from IBM Australia had given me and loaded it. Back then we installed OS/2 on our office machines (IBM) because we were IBM re sellers but we had no problems putting OS/2 v2.11 on Aptiva's, non IBM/MCA PC's from Compaq, NCR, even clone PC's we had made in house. Once OS/2 Warp 3 Connect was released I never considered changing back to Windows.

OS/2 v2.11 was not perfect but it was sure a big step up from Windows 3, and do not get me started on Windows 95, it was great for making money from customers with the support but though we tried Windows 95 in the office for a couple of weeks we gave up and went back to OS/2 because it simply worked. We did keep Windows 95 on a couple of support PC's, because we needed to support customers with Windows 95.

21
Hardware / Re: Trap 000e and Sockets
« on: November 23, 2019, 06:40:27 pm »
Hi Ben,

What does inetver return?

[C:\]inetver
Version numbers of TCP/IP protocol drivers:
   SOCKETS.SYS: 6.3100
   AFOS2.SYS:   6.3100
   AFINET.SYS:  6.3100
[C:\]

And are you running the patched versions for SMP (tcpip32-safe.zip dated 16th August 2011) ?

"A patch intended to make tcpip32.dll multi-thread and SMP safe. that should prevent the crashes many people have when using Mozilla apps. Redirects calls made to unsafe routines and routes them to safe versions that were already present in the dll. Based on the tcpip32.dll included with eCS 2.x (2004-05-21  11:15  98,611). It may be compatible with earlier versions of this dll but that has not been tested. From Steve Levine."

22
Setup & Installation / Re: Trying to solve server crash
« on: November 14, 2019, 01:46:38 pm »
Hi Ben,

The only reason I can think of why the log daemon would have a problem is if the log file cannot be written to, assuming there are no problems with your harddisks. It is close to 20 years since I've had OS/2 log or error daemons enabled in OS/2 (apart from syslog) so have no memory of where the logs maybe kept.
Do a search of your boot drive and maybe consider backing any log files up if you need then then delete them.

23
Internet / Re: PMMail and EARLYMEMINIT=TRUE problem?
« on: October 08, 2019, 07:32:19 pm »
If memory serves..

The only time you should not have EARLYMEMINIT=TRUE in your config.sys file is if you are using a motherboard with ISA slots, possibly that includes laptops with PCMCIA 16bit cards as well. Otherwise it is as Doug states. I also use PMMail v3.11.47.2052

I have no problem with that statement along with 'VIRTUALADDRESSLIMIT=2560'.
I do turn my computer off every night but with Dave's build of Firefox left open all day along with PMMail, my PC gets  a lot of work using Open Office and PMView for university assignments so I like to start fresh every morning.

24
Hardware / Re: SNAP and dual-head display setup recommendations...
« on: September 19, 2019, 05:07:52 pm »
Hi Dariusz,

I've only used dual head on a ATI Radeon X550, and one other ATI card I've forgotten the model, one on the DVI, the other the RGB/VGA socket.
Never bothered trying it on anything else.

Cheers

25
Applications / Re: XWP v1.0.13 Beta 1
« on: August 31, 2019, 07:46:24 pm »
resizing vertical or horizontal did not help here either :(

26
Applications / Re: XWP v1.0.13 Beta 1
« on: August 30, 2019, 05:59:47 am »
Quote
More than a little bit, over 50% pulse graph does'nt show at all.
It also tracks a lot faster which seeks attention from ones eyeballs, the older and slower one you only looked at when you wished to.

Overall though, XWP v1.0.13 Beta 1 seems more solid after running since its release.
I still have a problem with cmd file icons vanishing from the Tray but I suspect it is likely to be none XWP related as cmd icon's change of there own volition sometimes - something I've not looked at as it's been happening for years and below my threshold of looking into :)

27
Events / Re: ArcaOS 5.0.4 is out!
« on: August 28, 2019, 06:01:04 am »
The only differences I remember between the 38.x and 45.x versions are:-

45.x
Can restart the browser more times before it clags
Displays more websites without problems
Is a lot faster (possibly only the compile options)
The unseen parts - security updates.
(added - I've had no stability problems with Dave's build which I've been using since he released them, however all my DLL's etc are manually updated.)

38.x
A lot slower to startup but as long as you opened it once and do not restart it, apart from the occasional website based problems it ran well.

I'm using Linux more and more though as there are many Australian Gov/University/Banking and other websites like Google Apps that no longer accept Firefox v45.x - it's the lack of updated javascript that seems to be the problem.

Though to be fair I'm also finding several websites that no longer seem to work with the latest Firefox under Linux, they seem to only work properly with Chrome which is a pain. My wife is also having problems with more websites using the latest Firefox on her Mac, she prefers Seamonkey because that is what she uses for email but she knows she will have to change to something else as it's getting to hard.

28
Hardware / Re: Connect PS/2 hardware...
« on: August 07, 2019, 03:22:31 pm »
The above post was in response to André's post, I know USB ISA, and PCI cards are still out their on ebay and remembered there were USB drivers for DOS (see Olafur's post above) but have not looked for where they were, I also remember someone had IBM's USB drivers working with Warp3 but I'm not sure of which ones they were.

Unfortunately any solution is likely to cost though eBay can make it cheaper.

The only computers that I would use a card with PS/2 type sockets, would need to be for a modern bus, I think any company looking at making something like that would likely not release a ISA or PCI version :(  Would be nice though.

29
Hardware / Re: Connect PS/2 hardware...
« on: August 07, 2019, 01:29:00 pm »
I've seen laptop 'docking' stations that are a cylinder with a USB3 lead that plugs into your laptop, and the cylinder part has PS/2 sockets for keyboard and mouse, VGA, Serial, NIC port and extra USB ports on it.

Thought about looking for one to see if I could use my Model K/M keyboards on PC's that do not have PS/2 sockets.

30
Web applications / Re: Migrating Apache Web Server
« on: July 24, 2019, 04:50:10 pm »
Hi Neil,

Moving from v1.3.41 to v2.2.something, I got there from addressing the errors that appeared in the error log.
Maybe try updating Apache 1.3.6 to Apache 1.3.41 first before going to the Apache v2.x.x branch.

in httpd.conf for error reporting, I have the following:

    ErrorLog logs/error.log
    LogLevel warn

You should be able to find other error levels by googling.

Pages: 1 [2] 3 4 ... 19