LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-07-2009, 09:29 AM   #1
vikesh.u
LQ Newbie
 
Registered: Mar 2009
Posts: 13

Rep: Reputation: 0
Processor Affinity


I am new to linux...
When I was going through an operating system book...
I found the work processor affinity..related to cache and processor..
what exactly does processor affinity mean..
and difference between different types..(soft/hard affinity)
 
Old 09-07-2009, 12:52 PM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
for switching multi processor or multi core systems
for example you have a 2 core system
and have a process with affinity set to 1
the process exeicutes on core 2
so in general
affinity 0 is core 1
affinity 1 is core 2
affinity 0 & 1 is core 1 & 2
got that?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
new linux user...but affinity is inborn silverblackvoid_lnx LinuxQuestions.org Member Intro 1 08-05-2009 02:32 PM
Setting thread affinity lennyk Programming 1 02-17-2009 01:56 AM
Can you set processor affinity on Linux? Thaidog Linux - General 1 02-27-2008 09:31 AM
CPU affinity on kernel 2.4.14-SMP tsik Linux - Kernel 0 11-05-2007 09:27 PM
Processor affinity and cpu scheduling...? Thaidog Linux - Newbie 5 01-09-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration