• ctrl/sockopts.ini

    From rswindell@1:103/705 to CVS commit on Wed Dec 19 01:34:16 2018
    ctrl sockopts.ini 1.6 1.7
    Update of /cvsroot/sbbs/ctrl
    In directory cvs:/tmp/cvs-serv26405

    Modified Files:
    sockopts.ini
    Log Message:
    Important update to the default TCP socket values defined in this file:
    - no longer override the default send and receive socket buffers (limiting
    to 8Kbytes) - apparently modern TCP/IP stacks can use much larger buffers
    for sending large data more effeciently (quickly) over fast networks.
    Eliminating these 2 lines sped up the web server (e.g. wiki.synchro.net)
    page loads by a factor of 20+.
    - enable TCP_NODELAY (disabling the Nagle algorithm) for *all* TCP sockets
    by default (not just telnet and rlogin servers).
    This helps performance of large data transfers a little bit too.

    Big thanks to Deuce (!) for helping to debug and identify the cause of the
    poor performance of the web server. I'm not sure why I/we were overriding
    the default send/receive buffers but the old sockopts.cfg file introduced
    in 2003 had 4Kbyte buffer sizes specified, and then when we switched to sockopts.ini in 2005, the buffer sizes were increased to 8Kbytes. This might have been the defaults for say, the Windows TCP/IP stack at the time, I
    forget where I got those numbers from. Anyway, we shouldn't override them without a good reason. And today, we definitely don't have a good reason
    that I'm aware of. The default buffer sizes perform *much* better!


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ragnarok@1:103/705 to rswindell on Thu Dec 20 14:08:35 2018
    El 19/12/18 a las 06:34, rswindell escribi≤:
    ctrl sockopts.ini 1.6 1.7
    Update of /cvsroot/sbbs/ctrl
    In directory cvs:/tmp/cvs-serv26405

    Modified Files:
    sockopts.ini
    Log Message:
    Important update to the default TCP socket values defined in this file:
    - no longer override the default send and receive socket buffers (limiting
    to 8Kbytes) - apparently modern TCP/IP stacks can use much larger buffers
    for sending large data more effeciently (quickly) over fast networks.
    Eliminating these 2 lines sped up the web server (e.g. wiki.synchro.net)
    page loads by a factor of 20+.
    - enable TCP_NODELAY (disabling the Nagle algorithm) for *all* TCP sockets
    by default (not just telnet and rlogin servers).
    This helps performance of large data transfers a little bit too.

    sbbs wiki response very fast now! great!

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Ragnarok on Thu Dec 20 13:29:07 2018
    Re: Re: ctrl/sockopts.ini
    By: Ragnarok to rswindell on Thu Dec 20 2018 02:08 pm

    sbbs wiki response very fast now! great!

    Yeah, the performance improvement was dramatic!

    digital man

    Synchronet/BBS Terminology Definition #45:
    NNTP = Network News Transfer Protocol
    Norco, CA WX: 77.2°F, 30.0% humidity, 2 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Jan 12 14:49:27 2019
    ctrl sockopts.ini 1.7 1.8
    Update of /cvsroot/sbbs/ctrl
    In directory cvs:/tmp/cvs-serv12517

    Modified Files:
    sockopts.ini
    Log Message:
    Added the new [unix] section (empty)


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)