看板 FB_stable 關於我們 聯絡資訊
I'd actually like to do the opposite of this, and have run into the same problem. cpuset -s 1 -l 0 cpuset: setaffinity: Resource deadlock avoided I've also tried it in rc.local, also without success. In my case I want everything on one or two cores so the reminder will enter C3 sleep and encourage Turbo Boost. Our application is limited to a single core and benefits greatly from the faster clock. -Nick On Wed, Jun 11, 2014 at 1:50 AM, Mahdi Dashtbozorgi <mdasht@gmail.com> wrote: > Hi, > > I want to dedicate the most cpu cores of my server to my application. > My server has 24 available cpu cores and I am using FreeBSD 10.0-RELEASE. > According to the following link: > https://forums.freebsd.org/viewtopic.php?&t=41012 > > I use the following commands to run my application: > #> cpuset -s 1 -l 0-1 > #> cpuset -c -l 2-23 myapp > > but after executing "cpuset -s 1 -l 0-1", I got the following error message: > cpuset: setaffinity: Resource deadlock avoided > > I even put the first command in /etc/rc.local, but still get the same error > message. > How can I find the process, which prevent this command from execution? > > Best Regards, > Mahdi. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"