Date: Fri, 11 Mar 2011 00:21:35 +0900 From: Hideki Yamamoto <hyama99@gmail.com> To: Andriy Gapon <avg@freebsd.org> Cc: freebsd-current@freebsd.org, watanabe439@gmail.com, Steve Kargl <sgk@troutmask.apl.washington.edu> Subject: Re: CPU affinity Message-ID: <AANLkTikamTyscKZvGicoUQuCcawvMPeiv6Wu1Xrv7GS4@mail.gmail.com> In-Reply-To: <4D78D46F.4020305@freebsd.org> References: <AANLkTinQ-VjKmbqME=b-%2BXyMgPghSqRtDr9VJ5tHkKRC@mail.gmail.com> <20110310034532.GA6934@troutmask.apl.washington.edu> <4D78D46F.4020305@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Dear Steve, Adam, and Andriy; Thank you very much for your quick replies. We could solve our problems on this matter. Thank you again. Best regards, Hideki Yamamoto 2011/3/10 Andriy Gapon <avg@freebsd.org>: > on 10/03/2011 05:45 Steve Kargl said the following: >> On Thu, Mar 10, 2011 at 11:56:22AM +0900, Hideki Yamamoto wrote: >>> Hi, >>> >>> We are interested in realtime application and CPU affinity. >>> After googling pthread_setaffinity_np, I have found that it appeared in 7.2. >>> But I cannot find it by man command. >>> Does anyone know the status of CPU affinity function in FreeBSD or >>> useful links about it? >>> I have found the pointer about a command, >>> http://segfault.in/2010/09/how-to-set-cpu-affinity-for-a-process-in-freebsd/ >>> >> >> Man pages are available on-line. >> >> http://www.freebsd.org/cgi/man.cgi?query=pthread_setaffinity_np&apropos=0&sektion=0&manpath=FreeBSD+8.2-RELEASE&format=html >> > > And the actual functions that should be used on modern FreeBSD are > cpuset_setaffinity and cpuset_getaffinity. > > -- > Andriy Gapon >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikamTyscKZvGicoUQuCcawvMPeiv6Wu1Xrv7GS4>