• ctrl/sockopts.ini

    From rswindell@VERT to CVS commit on Wednesday, December 19, 2018 09:34:00
    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!



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to rswindell on Thursday, December 20, 2018 22:08:00
    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
  • From Digital Man@VERT to Ragnarok on Thursday, December 20, 2018 21:29:00
    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

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 12, 2019 22:49:00
    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)



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net