Re: [ANNOUNCE][RFC] PlugSched-6.3.1 for 2.6.16-rc5



Peter Williams wrote:
Al Boldi wrote:
Peter Williams wrote:
Al Boldi wrote:
Control parameters for the scheduler can be read/set via files in:

/sys/cpusched/<scheduler>/

The default values for spa make it really easy to lock up the system.

Which one of the SPA schedulers and under what conditions? I've been
mucking around with these and may have broken something. If so I'd
like to fix it.

spa_no_frills, with a malloc-hog less than timeslice. Setting
promotion_floor to max unlocks the console.

OK, you could also try increasing the promotion interval.

Seems that this will only delay the lock in spa_svr but not inhibit it.

It should be noted that spa_no_frills isn't really expected to behave
very well as it's a pure round robin scheduler.

It's a bare bone scheduler that allows to prioritize procs to the admins
desire, instead of leaving the priority management to the scheduler, which
may be undesirable for some but not all.

It's intended purpose is as a basis for more sophisticated schedulers.

And that's why the same problem exists in the child scheds, i.e. spa_ws,
spa_svr, zaphod, but not spa_ebs.

I've been thinking
about removing it as a bootable scheduler and only making its children
available but I find it useful to compare benchmark and other test
results from it with that from the other schedulers to get an idea of
the extra costs involved.

Thanks!

--
Al

-
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/



Relevant Pages

  • Re: RFC for a new Scheduling policy/class in the Linux-kernel
    ... B is holding a lock. ... A grants its priority B until B releases the lock. ... We want to charge B's critical section to B, ... scheduler computes how much time A has used recently, ...
    (Linux-Kernel)
  • Re: [linux-audio-dev] Re: [announce] [patch] Voluntary Kernel Preemption Patch
    ... > Places that inherently cannot sleep, such as inside the scheduler, ... spinlock multi-device concurrency problem... ... dead lock detection becomes sorely needed. ... in the context of priority inheritance and contention where, I believe, ...
    (Linux-Kernel)
  • Re: sched_lock && thread_lock()
    ... I have included a scheduler called sched_smp.c that is a copy of ULE using per-cpu scheduler spinlocks. ... Attilio has been addressing the parts of the kernel which do not need to fall under the scheduler lock and moving them into seperate locks. ... This patch does not implement per-cpu scheduler locks. ...
    (freebsd-arch)
  • Re: Initial 6.1 questions
    ... pcpu process lists to avoid schedcpu/ps/top having to hold the ... locks except where a lock is used in interrupts or the scheduler. ...
    (freebsd-performance)
  • Re: why spinlock raises IRQL to DISPATCH
    ... I think saying the scheduler runs at DISPATCH_LEVEL will lead to many ... It runs when the IRQL is ... DISPATCH_LEVEL on the same CPU. ... >> Because a spinlock has other threads spin on the lock. ...
    (microsoft.public.development.device.drivers)