Re: [ANNOUNCE][RFC] PlugSched-6.3.2 for 2.6.17-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Williams wrote:
This version updates staircase scheduler to version 15 (thanks Con)
and includes the latest smpnice patches

A patch for 2.6.17-rc1 is available at:

<http://prdownloads.sourceforge.net/cpuse/plugsched-6.3.2-for-2.6.17-rc1.patch?download>

Very Brief Documentation:

You can select a default scheduler at kernel build time.  If you wish to
boot with a scheduler other than the default it can be selected at boot
time by adding:

cpusched=<scheduler>

to the boot command line where <scheduler> is one of: ingosched,
ingo_ll, nicksched, staircase, spa_no_frills, spa_ws, spa_svr, spa_ebs
or zaphod.  If you don't change the default when you build the kernel
the default scheduler will be ingosched (which is the normal scheduler).

The scheduler in force on a running system can be determined by the
contents of:

/proc/scheduler

Control parameters for the scheduler can be read/set via files in:

/sys/cpusched/<scheduler>/

Peter

This fails to build when SCHEDSTATS is not configured in. The attached patch fixes that problem.

Peter
--
Peter Williams                                   [email protected]

"Learning, n. The kind of ignorance distinguishing the studious."
 -- Ambrose Bierce
Index: Linux-2.6.17-rc1/include/linux/sched_pvt.h
===================================================================
--- Linux-2.6.17-rc1.orig/include/linux/sched_pvt.h	2006-04-04 12:20:47.000000000 +1000
+++ Linux-2.6.17-rc1/include/linux/sched_pvt.h	2006-04-04 16:27:33.000000000 +1000
@@ -209,6 +209,7 @@ static inline void sched_info_switch(tas
 		sched_info_arrive(next);
 }
 #else
+#define schedstat_inc(rq, field)	do { } while (0)
 #define sched_info_queued(t)		do { } while (0)
 #define sched_info_switch(t, next)	do { } while (0)
 #endif /* CONFIG_SCHEDSTATS */

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux