Re: Limiting load of certain processes

From: Maxim Levitsky
Date: Wed Jun 27 2007 - 09:09:57 EST


On Tuesday 26 June 2007 12:48, Jan Kandziora wrote:
> Am Dienstag, 26. Juni 2007 03:44 schrieb Maxim Levitsky:
> > Hi.
> >
> > Try to set $_hogthreshold = (1) in dosemu.conf
> >
> > This helps a lot for me.
>
> This "nice"s the dosemu process -- I already use this setting. However, if
> no other process is runnable, dosemu will get again all CPU power, which
> disturbs power-saving. Thanks for sharing ideas, anyway.
>
> Kind regards
>
> Jan


Hi,

Well, I almost sure that this is not true,
or maybe you are not using dosemu 1.4.0, and other one behaves differently.

Anyway, if I run dosemu 1.4.0 with that setting and stock freedos
command.com the cpu usage is well below 5%, and dosemu task is not reniced
There are even times that I forget that dosemu is running.

Also I don't know why but dosemu 1.4.0 has new sound system that is way better
that 1.2 one, but it is not enabled so you need to set $_sound=(2) to get it,
what is nice is that this one uses SDL ( read alsa) for output, and has OPL3
emulation, so MIDI plays out of box

Regards,
Maxim Levitsky
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/