Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Dillo - now a graphical web browser for DOS - beta2 (Announce)

posted by Rugxulo Homepage, Usono, 01.12.2011, 06:06

> Hi favero,
>
> > It would be nice if unnecessary CPU usage on DOS could be fixed.
>
> As I mentioned in my last post, I suspect a bug in FLTK because that
> particular function has caused trouble before. Unfortunately I've been
> busy with schoolwork lately, and haven't had much chance to test that
> hypothesis. And that is just an educated guess -- to be honest, the main
> reason I even noticed the problem was because I heard my laptop's fan
> switching on!
>
> I did talk with Georg, and he claims the CPU usage isn't a problem because
> (paraphrasing) DOS is a single-user system and wasn't designed for
> efficient hardware usage, or something to that effect. I see two problems
> with this. One, it's a dubious argument at best, and two, high CPU usage
> isn't only a problem in and of itself; it's usually symptomatic of a much
> deeper problem, especially in a program like Dillo that doesn't do
> particularly heavy processing.

It's probably more noticeable in VMs (NTVDM or real emulation or virtualization). VirtualBox lets you cap usage to a certain percent. And there are various DOS TSRs to minimize CPU usage.

> But yes, long story short, it bothers me too, and I am looking into it. :-)

Take a look at __dpmi_yield() mentioned in DPMI.H. IIRC, that's what various things (Bash, Mined, TDE) use to moderate everything. This supposedly (?) works in various places, Novell DOS 7, Win 3.x, OS/2, NTVDM, and presumably DOSEMU. (Japheth is the expert, ask him, I can't easily prove any of this.)

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 428 users online (0 registered, 428 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum