Re: Limiting load of certain processes

2007-06-27 Thread Jan Kandziora
Am Mittwoch, 27. Juni 2007 15:06 schrieb Maxim Levitsky: > > 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%,

Re: Limiting load of certain processes

2007-06-27 Thread Maxim Levitsky
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

Re: Limiting load of certain processes

2007-06-27 Thread Maxim Levitsky
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 nices the dosemu process -- I already use this setting. However, if no other process is

Re: Limiting load of certain processes

2007-06-27 Thread Jan Kandziora
Am Mittwoch, 27. Juni 2007 15:06 schrieb Maxim Levitsky: 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

Re: Limiting load of certain processes

2007-06-26 Thread Jan Kandziora
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

Re: Limiting load of certain processes

2007-06-26 Thread Jan Kandziora
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 nices the dosemu process -- I already use this setting. However, if no other process is runnable, dosemu will get again all CPU power, which disturbs

Re: Limiting load of certain processes

2007-06-25 Thread Maxim Levitsky
On Thursday 21 June 2007 22:11, Jan Engelhardt wrote: > On Jun 21 2007 21:00, Jan Kandziora wrote: > >I know it's a crude idea for everyday Linux processes, but for > >dosemu driven applications, which behave badly in a multitasking OS > >*and* for which source code isn't available, it may be

Re: Limiting load of certain processes

2007-06-25 Thread Maxim Levitsky
On Thursday 21 June 2007 22:11, Jan Engelhardt wrote: On Jun 21 2007 21:00, Jan Kandziora wrote: I know it's a crude idea for everyday Linux processes, but for dosemu driven applications, which behave badly in a multitasking OS *and* for which source code isn't available, it may be worth to

Re: Limiting load of certain processes

2007-06-21 Thread Jan Engelhardt
On Jun 21 2007 21:00, Jan Kandziora wrote: >I know it's a crude idea for everyday Linux processes, but for >dosemu driven applications, which behave badly in a multitasking OS >*and* for which source code isn't available, it may be worth to >discuss. Would dosbox do? (it does busy-loops too,

Re: Limiting load of certain processes

2007-06-21 Thread Jan Kandziora
Am Donnerstag, 21. Juni 2007 20:26 schrieb Jan Engelhardt: > > Of course there may be hacks that try to figure out if a DOS window is > idle, waiting for user input. (Seems like a new invention in Windows 2000 > and up). Since dosemu and all the emulators are not running a genuine > Microsoft DOS

Re: Limiting load of certain processes

2007-06-21 Thread Jan Engelhardt
On Jun 21 2007 19:50, Jan Kandziora wrote: > >Dear all, > >I like to use an old DOS/Clipper application through DOSEMU on a Linux >application server in a hotel. It works, but (as usual with DOS), it causes >a processor load of 100% in certain situations, while just waiting for user >interaction.

Re: Limiting load of certain processes

2007-06-21 Thread Jan Engelhardt
On Jun 21 2007 19:50, Jan Kandziora wrote: Dear all, I like to use an old DOS/Clipper application through DOSEMU on a Linux application server in a hotel. It works, but (as usual with DOS), it causes a processor load of 100% in certain situations, while just waiting for user interaction.

Re: Limiting load of certain processes

2007-06-21 Thread Jan Kandziora
Am Donnerstag, 21. Juni 2007 20:26 schrieb Jan Engelhardt: Of course there may be hacks that try to figure out if a DOS window is idle, waiting for user input. (Seems like a new invention in Windows 2000 and up). Since dosemu and all the emulators are not running a genuine Microsoft DOS /

Re: Limiting load of certain processes

2007-06-21 Thread Jan Engelhardt
On Jun 21 2007 21:00, Jan Kandziora wrote: I know it's a crude idea for everyday Linux processes, but for dosemu driven applications, which behave badly in a multitasking OS *and* for which source code isn't available, it may be worth to discuss. Would dosbox do? (it does busy-loops too, but at