From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: Dosemu and clipper applications eating all CPU Date: Wed, 10 Mar 2004 22:36:47 +0300 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <404F6E4F.6060207@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. Maximiliano Curia wrote: >> Problem of clipper I presume? If it >> just runs in a busy loop while idle, >> dosemu can't really help. > Yes, that dosemu doesn't detect the clipper idle calls. But *what kind* of idle calls? This is the vital info. If you can't find the answer, then the problem can't be fixed:) int 0x28 is the real idle call, but since dosemu catches that, I suspect clipper does something else. > It still eats the cpu, with nice -n 19, but now the 60% is marked as > nice. Yes, and the system must not be crawled now at least. At least in a theory:) > I'm trying to understand the freedos idle. That might be not the case either. FreeDOS can just call int16 to do a blocking wait for a keypress, and that will do the trick. You have to find out what exactly the clipper does however.