From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: Dosemu and clipper applications eating all CPU Date: Wed, 28 Apr 2004 21:32:46 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <408FEABE.7000407@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. Mgr. Peter Tuharsky wrote: > database-intensive actions are taken, typically reindexing, the CPU is > used by some 1% and thus the operation runs VERY slow too. Computer is > bored and user too :o( > If somebody fixed these two issues (if I were programmer, I would), > I'd very like it. It is really more about tuning rather than fixing. And it is not easy to do because one have to have all the different test-cases around, and people do not always provide their progs for testing. You can control the speed with $_hogthreshold option of dosemu.conf at configure-time, or by a "speed" command at run-time. Dosemu is trying to do some guesses about a CPU usage itself, but right now it doesn't work very well. It is necessary for dosemu to at least calculate the percentage of CPU power it gives to a DOS task - right now it doesn't do even this. It was rumoured that the DOS program called "tame" does a great job at calibrating the CPU utilization of a DOS task under a multitasking system. You can try setting $_hogthreshold=(0) and use "tame". http://www.tamedos.com/