public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [QUESTION] 2.4.x nice level
@ 2001-04-02 23:04 Quim K Holland
  2001-04-03  3:02 ` LA Walsh
  0 siblings, 1 reply; 8+ messages in thread
From: Quim K Holland @ 2001-04-02 23:04 UTC (permalink / raw)
  To: szabi; +Cc: linux-kernel

>>>>> "BS" == BERECZ Szabolcs <szabi@inf.elte.hu> writes:

BS> ... a setiathome running at nice level 19, and a bladeenc at
BS> nice level 0. setiathome uses 14 percent, and bladeenc uses
BS> 84 percent of the processor. I think, setiathome should use
BS> max 2-3 percent.  the 14 percent is way too much for me.
BS> ...
BS> with kernel 2.2.16 it worked for me.
BS> now I use 2.4.2-ac20

Would it the case that bladeenc running on 2.4.2 spends more
time doing I/O?  I am not saying that the userland makes more I/O
requests, but if the same set of I/O requests are taking longer
to complete on 2.4.2, then while bladeenc is waiting for their
completion, it is not so surprising that the other process uses
the otherwise-idle CPU cycles.



------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/



^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <fa.j9vo8pv.1rj8up9@ifi.uio.no>]
* [QUESTION] 2.4.x nice level
@ 2001-04-04 16:12 SodaPop
  2001-04-10  3:37 ` george anzinger
  0 siblings, 1 reply; 8+ messages in thread
From: SodaPop @ 2001-04-04 16:12 UTC (permalink / raw)
  To: linux-kernel

I too have noticed that nicing processes does not work nearly as
effectively as I'd like it to.  I run on an underpowered machine,
and have had to stop running things such as seti because it steals too
much cpu time, even when maximally niced.

As an example, I can run mpg123 and a kernel build concurrently without
trouble; but if I add a single maximally niced seti process, mpg123 runs
out of gas and will start to skip while decoding.

Is there any way we can make nice levels stronger than they currently are
in 2.4?  Or is this perhaps a timeslice problem, where once seti gets cpu
time it runs longer than it should since it makes relatively few system
calls?

-dennis T


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [QUESTION] 2.4.x nice level
@ 2001-04-02 22:13 BERECZ Szabolcs
  0 siblings, 0 replies; 8+ messages in thread
From: BERECZ Szabolcs @ 2001-04-02 22:13 UTC (permalink / raw)
  To: linux-kernel

Hi!

I just noticed, that a process with nice level 19, gets some processor
time, even if there is another process, which would use all of the
processor time.
for example, there is a setiathome running at nice level 19, and a
bladeenc at nice level 0. setiathome uses 14 percent, and bladeenc uses 84
percent of the processor. I think, setiathome should use max 2-3 percent.
the 14 percent is way too much for me.
or is there any other way to run a process only if nothing uses the
processor?
with kernel 2.2.16 it worked for me.
now I use 2.4.2-ac20

Bye,
Szabi



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-04-10 16:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-02 23:04 [QUESTION] 2.4.x nice level Quim K Holland
2001-04-03  3:02 ` LA Walsh
     [not found] <fa.j9vo8pv.1rj8up9@ifi.uio.no>
     [not found] ` <fa.dkui9av.1ulsbjm@ifi.uio.no>
2001-04-05 17:24   ` Tor Arntsen
  -- strict thread matches above, loose matches on Subject: below --
2001-04-04 16:12 SodaPop
2001-04-10  3:37 ` george anzinger
2001-04-10 16:10   ` Rik van Riel
2001-04-10 16:39     ` george anzinger
2001-04-02 22:13 BERECZ Szabolcs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox