LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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,220

Rep: Reputation: 164Reputation: 164
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 11:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration