(TradeWars 2002 doesn't work with dosemu 1.x). However, I've now
noticed that some other doors that were working okay with dosemu 1.4 now are using 100% CPU with dosemu2 and are running/responding very slowly.
I also had some issues with dosemu2. One of them was games that had a somewhat roguelike aspect - namely, lord2 and lore. Those games had some substantial issues with movement and sometimes would render incorrect characters on the screen.
I never noticed the cpu thing but I never checked. Now I'm a bit curious myself.
Any chance you can try lore and/or lord2 to see if it presents the same issues I mentioned?
I think nuskooler was using dosemu AND dosemu2 to get the best of both worlds but I could be wrong.
Nightfox wrote to All <=-
With Windows, there was a program I had used called Tame, which would
do something to reduce CPU usage of a running process and make it more responsive when running in NTVDM in Windows. I doubt Tame would work
with dosemu though. I'm wondering if there is a process-taming program for DOS programs running in dosemu, or if there are any dosemu2
settings that might help a DOS program run better and respond quicker?
For doors running slowly, I would try loading a DOS FOSSIL driver and configure them to use it. Mines of Gorr - I had issues with it being
slow, but the "solution" I came up with is too ugly to share.
To "tame" the CPU usage I used linux cgroup. I set up a group for each node, and then run the door in the cgroup which limits the CPU to about 20-30%. I haven't tried dosemu2 yet, everything seems good with dosemu.
I tried some other programs to limit the CPU, but they ended up making
the doors really choppy.
With Windows, there was a program I had used called Tame, which would do something to reduce CPU usage of a running process
and make it more responsive when running in NTVDM in Windows. I doubt Tame would work with dosemu though. I'm wondering if
there is a process-taming program for DOS programs running in dosemu, or if there are any dosemu2 settings that might help a
DOS program run better and respond quicker?
I'm wondering if the issue in such DOS programs might be some kind of loop it's running that's taking a lot of CPU time.
Re: Re: Taming some high-CPU usage DOS doors in dosemu2
By: Bugz to Nightfox on Wed Oct 12 2022 09:16 pm
For doors running slowly, I would try loading a DOS FOSSIL driver and configure them to use it. Mines of Gorr - I had issues with it being slow, but the "solution" I came up with is too ugly to share.
At least one of the slow doors is already configured to use a FOSSIL driver. The BBS software I use (Synchronet) has a built-in FOSSIL driver, and I'm using the door's command-line parameter to tell it to use a FOSSIL driver.
At least one of the slow doors is already configured to use a FOSSIL
driver. The BBS software I use (Synchronet) has a built-in FOSSIL
driver, and I'm using the door's command-line parameter to tell it to
use a FOSSIL driver.
Only Synchronet for Windows has the built-in FOSSIL driver. Synchronet for *nix relies on other solutions (e.g. Linux-DOSEMU and X00 or BNU) for FOSSIL support.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,054 |
Nodes: | 15 (0 / 15) |
Uptime: | 57:58:43 |
Calls: | 500,777 |
Calls today: | 9 |
Files: | 109,358 |
D/L today: |
53,707 files (8,518M bytes) |
Messages: | 466,002 |
Posted today: | 3 |