Language Selection

English French German Italian Portuguese Spanish

Linux "processor affinity" explained

Filed under
Linux

IBM's DeveloperWorks has published a story describing how the Linux 2.6 kernel supports "processor affinity" -- that is, ensuring that a particular process runs on a particular processor or set of processors within a multi-processor machine. Processor affinity can improve real-time performance, as well as cache hit-rates in complex calculations.

In determining where to run a process, the Linux 2.6 scheduler takes a look at the cpus_allowed bitmask within each process's task_struct data structure. This bitmask can be read or manipulated using the sched_get_affinity() or sched_set_affinity() functions, respectively.

Full Story.

More in Tux Machines

Leftovers: KDE

diff -u: What's New in Kernel Development

Boot times can become slow on systems with many CPUs, partly because of the time it takes to crank up all the RAM chips. Mel Gorman recently submitted some patches to start up RAM chips in parallel instead of one after the other. One of the main problems with trying to implement such a feature—and one of the main reasons such patches haven't made it into the kernel before—is the need to avoid slowing things down for smaller systems. Read more

I so cannot wait until this Friday when Seed of Chucky is released!

Weber State vs Oregon State Live Stream

IT&C sector – engine of the economy : Kogaion and Argent – operating systems created in Cluj-Napoca

This goes for the Romanian Group for the Development of Gentoo-Derivative Technologies too. Gentoo is an operating system based on Linux or FreeBSD, which can be automatically optimized or personalized for almost any application or need. Last week the Cluj-based team launched in Bucharest and Cluj two PC operating systems that are one hundred per cent Romanian, which could be used by regular users or within public administration, the education system or defence institutions. Read more