Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Sep 2004 22:33:04 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Dennis George <easyeinfo@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Binding process to a fixed processor
Message-ID:  <413D4810.7030904@elischer.org>
In-Reply-To: <20040907041305.35057.qmail@web53903.mail.yahoo.com>
References:  <20040907041305.35057.qmail@web53903.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dennis George wrote:
> Hi,
>  
> I am working on freeBSD 5.2.         
>  
> Dennis
> 
> Julian Elischer <julian@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@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
> 
> 
> 
> 
> 		
> ---------------------------------
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?413D4810.7030904>