Archives


- Beowulf
- Beowulf Announce
- Scyld-users
- Beowulf on Debian

Athlon MP vs Athlon XP

Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.

Search

Greg Lindahl lindahl at conservativecomputer.com
Thu Nov 8 12:55:30 PST 2001


On Thu, Nov 08, 2001 at 03:36:08PM -0500, Thomas Lovie wrote:

> I have a innocent question.... Does the kernel have processor affinity
> built in to it yet?

Yes, and has for ages. Use the source, Luke:

/usr/src/linux/kernel/sched.c, function goodness. This is 2.4:

#ifdef CONFIG_SMP
		/* Give a largish advantage to the same processor...   */
		/* (this is equivalent to penalizing other processors) */
		if (p->processor == this_cpu)
			weight += PROC_CHANGE_PENALTY;
#endif

g



More information about the Beowulf mailing list