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

LibreOffice 4.4.4 Released

The Document Foundation today announced LibreOffice 4.4.4, the latest update to the 4.4 branch. Today's release brings 74 bug fixes including several crashes and import/export bugs. The announcement today also brought news of version 5.0 as well as reminders for the LibreOffice Conference in September. Read more

Watch: Mark Shuttleworth Talks About Telco and NFV Technologies

The Movilforum website had the great pleasure of interviewing Mark Shuttleworth, CEO of Canonical and founder of the world's most popular free operating system, Ubuntu Linux. Read more

Linux Kernel 4.0.7 Is a Small Release with Updated Drivers, ARM Improvements

On the last days of June, Greg Kroah-Hartman announced the availability of several maintenance releases for the Linux kernels 4.1, 4.0, 3.14, and 3.10. The seventh point release of Linux kernel 4.0 is a small one that brings mostly updated drivers. Read more

An Everyday Linux User Review Of Debian Jessie

I have now been using Debian for a few weeks and it is therefore time for me to write a review of my experience thus far. Debian has been around for what seems like forever now and it is the base for so many other Linux distributions such as Ubuntu, Mint, SolydXK and Knoppix. I think that the general consensus amongst Linux users is that Debian is stable, dependable and a good environment on which to build upon. Does that mean it is suitable for Everyone? Read more