From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 7 06:18:34 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8777B16A4CE for ; Tue, 7 Sep 2004 06:18:34 +0000 (GMT) Received: from web53909.mail.yahoo.com (web53909.mail.yahoo.com [206.190.36.219]) by mx1.FreeBSD.org (Postfix) with SMTP id 0527743D62 for ; Tue, 7 Sep 2004 06:18:34 +0000 (GMT) (envelope-from easyeinfo@yahoo.com) Message-ID: <20040907061832.14100.qmail@web53909.mail.yahoo.com> Received: from [202.168.70.130] by web53909.mail.yahoo.com via HTTP; Mon, 06 Sep 2004 23:18:32 PDT Date: Mon, 6 Sep 2004 23:18:32 -0700 (PDT) From: Dennis George To: freebsd-hackers@freebsd.org In-Reply-To: <413D4810.7030904@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Binding process to a fixed processor X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 06:18:34 -0000 Actually I am looking for some command or system call which I can execute from my user level program so that I can bind one of my process to a processor............. like pbind command in Linux.............. Or do I have to write a system call to do that ?????????? Dennis Julian Elischer wrote: Dennis George wrote: > Hi, > > I am working on freeBSD 5.2. > > Dennis > > Julian Elischer 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" --------------------------------- Do you Yahoo!? Y! Messenger - Communicate in real time. Download now.