public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* New scheduler in 2.4. series?
@ 2002-02-04 22:19 Andreas Tscharner
  2002-02-04 22:35 ` Brandon Low
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Tscharner @ 2002-02-04 22:19 UTC (permalink / raw)
  To: Linux Kernel Mailinglist

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

Hello World,
Hello Marcelo,

Is there any chance, that the new scheduler will be in the 2.4 series soon?

Regards
	Andreas
-- 
Andreas Tscharner                                     starfire@dplanet.ch
-------------------------------------------------------------------------
"Programming today is a race between software engineers striving to build 
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning." -- Rich Cook 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: New scheduler in 2.4. series?
  2002-02-04 22:19 New scheduler in 2.4. series? Andreas Tscharner
@ 2002-02-04 22:35 ` Brandon Low
  2002-02-05 18:38   ` Kristian
  0 siblings, 1 reply; 10+ messages in thread
From: Brandon Low @ 2002-02-04 22:35 UTC (permalink / raw)
  To: Andreas Tscharner; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

Seeing the new scheduler in 2.4 would be nice!  However, soon wouldn't be nice, because there are a lot of 3rd party kernel 
modules that try to make calls against the old scheduler that don't seem to work.  My personal case in point is Bestcrypt 
( www.jetico.sci.fi ).  Just my thoughts on the matter.

--Brandon

-=-=-=-=-=-=-=-Previous Message(s)-=-=-=-=-=-=-=-
> Hello World,
> Hello Marcelo,
> 
> Is there any chance, that the new scheduler will be in the 2.4 series soon?
> 
> Regards
> 	Andreas
> -- 
> Andreas Tscharner                                     starfire@dplanet.ch
> -------------------------------------------------------------------------
> "Programming today is a race between software engineers striving to build 
> bigger and better idiot-proof programs, and the Universe trying to produce
> bigger and better idiots. So far, the Universe is winning." -- Rich Cook 



[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: New scheduler in 2.4. series?
@ 2002-02-05  0:02 Dieter Nützel
  0 siblings, 0 replies; 10+ messages in thread
From: Dieter Nützel @ 2002-02-05  0:02 UTC (permalink / raw)
  To: Andreas Tscharner
  Cc: Marcelo Tosatti, Linux Kernel List, Andrea Arcangeli, Ingo Molnar

On Monday, 4. February 2002 22:19, Andreas Tscharner wrote:
> Hello World,
> Hello Marcelo,
>
> Is there any chance, that the new scheduler will be in the 2.4 series soon?

I think "we" should start with the "remaining" -aa patches for 
2.4.19-pre1/-pre2, finally...

Yes, I know that I repeate my point, but it is time.

Thanks,
	Dieter
-- 
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: Dieter.Nuetzel@hamburg.de

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

* Re: New scheduler in 2.4. series?
  2002-02-04 22:35 ` Brandon Low
@ 2002-02-05 18:38   ` Kristian
  2002-02-05 23:06     ` Ingo Molnar
  0 siblings, 1 reply; 10+ messages in thread
From: Kristian @ 2002-02-05 18:38 UTC (permalink / raw)
  To: Brandon Low; +Cc: starfire, linux-kernel

Brandon Low <lostlogic@lostlogicx.com> wrote:
> Seeing the new scheduler in 2.4 would be nice!  However, soon wouldn't be nice, because there are a lot of 3rd party kernel 
> modules that try to make calls against the old scheduler that don't seem to work.  My personal case in point is Bestcrypt 
> ( www.jetico.sci.fi ).  Just my thoughts on the matter.

If you're speaking of Ingo's O1-scheduler I won't vote for inclusion now. I still have some trouble with high priority nice levels (renice -20). For some seconds the system gets totally unresponsive for user requests while switching between those processes. The last one I've tried was J2.

*Kristian

  :... [snd.science] ...:
 ::
 :: http://www.korseby.net
 :: http://gsmp.sf.net
  :.........................:: ~/$ kristian@korseby.net :

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

* Re: New scheduler in 2.4. series?
  2002-02-05 23:06     ` Ingo Molnar
@ 2002-02-05 21:22       ` Kristian
  2002-02-05 23:26         ` Ingo Molnar
  0 siblings, 1 reply; 10+ messages in thread
From: Kristian @ 2002-02-05 21:22 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: lostlogic, starfire, linux-kernel

Ingo Molnar <mingo@elte.hu> wrote:
> if you are using nice -20 tasks then they might take CPU time away from
> lower priority tasks. This is why bigger negative nice levels should only
> be used sparingly. (and this is why it can only be done as root.)

Of course. But with the good old scheduler I've never had any problems. The system was very slow but continuously responsive. (low frequency timeslices between process rotations) With your -J2 patch it's getting really unusable. Maybe I should give -K2 a try.

*Kristian

  :... [snd.science] ...:
 ::
 :: http://www.korseby.net
 :: http://gsmp.sf.net
  :.........................:: ~/$ kristian@korseby.net :

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

* Re: New scheduler in 2.4. series?
  2002-02-05 23:26         ` Ingo Molnar
@ 2002-02-05 21:53           ` Kristian
  2002-02-06  8:08           ` Kristian
  1 sibling, 0 replies; 10+ messages in thread
From: Kristian @ 2002-02-05 21:53 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

Ingo Molnar <mingo@elte.hu> wrote:
> true, the old scheduler did not do much with the nice level. In the new
> scheduler there is some real difference between nice levels - and this is
> a feature. I'd suggest for you to try something like nice -5. What kind of
> application are you renicing?

Just multiple 'nice -n -20 tar -cvjf` in a row for "high priority backup when my DTLA drives makes wierd noises again". I'm just compiling -K2. (BTW: -J2 behaves really bad while moving windows during a kernel compilation.)

*Kristian

  :... [snd.science] ...:
 ::
 :: http://www.korseby.net
 :: http://gsmp.sf.net
  :.........................:: ~/$ kristian@korseby.net :

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

* Re: New scheduler in 2.4. series?
  2002-02-05 18:38   ` Kristian
@ 2002-02-05 23:06     ` Ingo Molnar
  2002-02-05 21:22       ` Kristian
  0 siblings, 1 reply; 10+ messages in thread
From: Ingo Molnar @ 2002-02-05 23:06 UTC (permalink / raw)
  To: Kristian; +Cc: Brandon Low, starfire, linux-kernel


On Tue, 5 Feb 2002, Kristian wrote:

> [...] I still have some trouble with high priority nice levels (renice
> -20). For some seconds the system gets totally unresponsive for user
> requests while switching between those processes. [...]

if you are using nice -20 tasks then they might take CPU time away from
lower priority tasks. This is why bigger negative nice levels should only
be used sparingly. (and this is why it can only be done as root.)

> The last one I've tried was J2.

that's a pretty old patch, the current one is -K2.

	Ingo


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

* Re: New scheduler in 2.4. series?
  2002-02-05 21:22       ` Kristian
@ 2002-02-05 23:26         ` Ingo Molnar
  2002-02-05 21:53           ` Kristian
  2002-02-06  8:08           ` Kristian
  0 siblings, 2 replies; 10+ messages in thread
From: Ingo Molnar @ 2002-02-05 23:26 UTC (permalink / raw)
  To: Kristian; +Cc: lostlogic, starfire, linux-kernel


On Tue, 5 Feb 2002, Kristian wrote:

> Of course. But with the good old scheduler I've never had any
> problems. The system was very slow but continuously responsive. [...]

true, the old scheduler did not do much with the nice level. In the new
scheduler there is some real difference between nice levels - and this is
a feature. I'd suggest for you to try something like nice -5. What kind of
application are you renicing?

	Ingo


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

* Re: New scheduler in 2.4. series?
  2002-02-05 23:26         ` Ingo Molnar
  2002-02-05 21:53           ` Kristian
@ 2002-02-06  8:08           ` Kristian
  2002-02-06 13:00             ` Ingo Molnar
  1 sibling, 1 reply; 10+ messages in thread
From: Kristian @ 2002-02-06  8:08 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

Hello.

-K2 behaves much better as -J2 did. The system gets continuously responsive again. But with nicelevel -5 at the beginning of each 'tar` the systems stalls for 2 or 3 seconds.

*Kristian

  :... [snd.science] ...:
 ::
 :: http://www.korseby.net
 :: http://gsmp.sf.net
  :.........................:: ~/$ kristian@korseby.net :

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

* Re: New scheduler in 2.4. series?
  2002-02-06  8:08           ` Kristian
@ 2002-02-06 13:00             ` Ingo Molnar
  0 siblings, 0 replies; 10+ messages in thread
From: Ingo Molnar @ 2002-02-06 13:00 UTC (permalink / raw)
  To: Kristian; +Cc: linux-kernel


On Wed, 6 Feb 2002, Kristian wrote:

> -K2 behaves much better as -J2 did. The system gets continuously
> responsive again. But with nicelevel -5 at the beginning of each 'tar`
> the systems stalls for 2 or 3 seconds.

yes, it takes 2-3 seconds for the system to notice that the 'tar' process
started from your interactive shell is in fact a 'CPU hog'. The system was
honoring root's request for CPU time.

this should not happen if you start it at nice -2, which should still give
'tar' enough of an advantage.

	Ingo


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

end of thread, other threads:[~2002-02-06 11:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-04 22:19 New scheduler in 2.4. series? Andreas Tscharner
2002-02-04 22:35 ` Brandon Low
2002-02-05 18:38   ` Kristian
2002-02-05 23:06     ` Ingo Molnar
2002-02-05 21:22       ` Kristian
2002-02-05 23:26         ` Ingo Molnar
2002-02-05 21:53           ` Kristian
2002-02-06  8:08           ` Kristian
2002-02-06 13:00             ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2002-02-05  0:02 Dieter Nützel

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