Skip to contentSkip to conversation

PlugSched-6.3.2 for 2.6.17-rc1

RFC Peter Williams 1 participant 3 messages Apr 4, 2006 – Apr 6, 2006

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
Peter Williams                                   [email protected]

"Learning, n. The kind of ignorance distinguishing the studious."
 -- Ambrose Bierce
#1 lore raw
Quoted 24 lines · Peter Williams

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:

Quoted 7 lines

/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

Signature · 4 lines
Peter Williams                                   [email protected]

"Learning, n. The kind of ignorance distinguishing the studious."
 -- Ambrose Bierce
include/linux/sched_pvt.h +1 -0
Index: Linux-2.6.17-rc1/include/linux/sched_pvt.h
===================================================================
@@ -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 */
#2 lore raw
In reply to Peter Williams
Quoted 21 lines · Peter Williams

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).

Quoted 8 lines

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

Now available for 2.6.17-rc1-mm1 at:

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

Peter

Signature · 4 lines
Peter Williams                                   [email protected]

"Learning, n. The kind of ignorance distinguishing the studious."
 -- Ambrose Bierce