• umonitor for linux uses more than expected CPU

    From Keyop Troy@1:103/705 to GitLab issue in main/sbbs on Wed Sep 20 16:56:35 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/641

    Seeing this in top on Magnum:

    1735357 sbbs 20 0 99900 7072 1748 S 13.2 0.1 431:53.04 umonitor

    So on my BBS, thats 13.2% of an Intel(R) Xeon(R) D-2141I CPU @ 2.20GHz

    And on EOTL:

    2303058 bbs 20 0 305076 17228 4184 S 17.3 0.4 0:04.06 umonitor

    Should umonitor be using so much CPU?

    Is there an opportunity to optimise umonitor when its just sat in monitor mode (default start up)?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Sep 20 17:16:17 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/641#note_4215

    What happens if you pass a higher sleep value (-s option) - any change? The default idle sleep time is 100ms, which should release the process's time-slice for a minimum of 100ms (an eternity on a modern CPU).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Wed Sep 20 17:19:00 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/641#note_4217

    exec/umonitor -insert -s 1000

    2182487 sbbs 20 0 101104 10564 3492 R 92.7 0.1 0:30.54 umonitor --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Sep 20 17:22:34 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/641#note_4219

    The correct syntax would be `umonitor -s1000` in that case, not `umonitor -s 1000`.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Wed Sep 20 17:22:35 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/641#note_4220

    exec/umonitor -insert -s1000

    2182977 sbbs 20 0 101100 10476 3408 S 1.7 0.1 0:00.29 umonitor

    (without space)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Sep 20 17:23:06 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/641#note_4221

    Okay, so problem solved?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Wed Sep 20 17:23:27 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/641#note_4222

    lol yes ty
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab issue in main/sbbs on Wed Sep 20 17:23:32 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/641
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)