Binding process to a fixed processor

Julian Elischer julian at elischer.org
Mon Sep 6 22:33:12 PDT 2004


Dennis George wrote:
> Hi,
>  
> I am working on freeBSD 5.2.         
>  
> Dennis
> 
> Julian Elischer <julian at elischer.org> wrote:
> Dennis George wrote:
> 
>>Hi all,
>>
>>I am working on a intel based multi processor system. I like to know 
>>how can I bind one process permanently to one processor..... and other 
>>one for general use.....

You can bind a thread to one processor, in the kernel, but I don't know
offhand if there is a user interface for it however.. (I'd have to go
look at the code again). (goes to look)

There is code that can bind a thread to the current processor that it is on,
but nothing uses it that I can see.. If you wrote a kernel module you could 
write your own syscall to use it..


This is of course different from binding a thread to a processor
EXCLUSIVELY so that no other thread can use it.


>>
>>thanks in advance
>>
>>Dennis
>>
> 
> 
> which version of the system are you using?
> 
> 
>>
>>
>>---------------------------------
>>Do you Yahoo!?
>>Win 1 of 4,000 free domain names from Yahoo! Enter now.
>>_______________________________________________
>>freebsd-hackers at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
> 
> 
> 
> 
> 		
> ---------------------------------
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"




More information about the freebsd-hackers mailing list