Date: Thu, 17 Sep 2015 12:27:52 +0000 (UTC) From: John Dison <jdison16@yahoo.com> To: John Dison <jdison16@yahoo.com>, "stable@freebsd.org" <stable@freebsd.org> Subject: Re: Question about "pcpu" rctl Message-ID: <391044000.900018.1442492872653.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <1728106606.57088.1442311200399.JavaMail.yahoo@mail.yahoo.com> References: <1728106606.57088.1442311200399.JavaMail.yahoo@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Anyone can advise me please?
Thanks!
From: John Dison via freebsd-stable <freebsd-stable@freebsd.org>
To: "stable@freebsd.org" <stable@freebsd.org>
Sent: Tuesday, September 15, 2015 1:00 PM
Subject: Question about "pcpu" rctl
Hello and have a nice day!
I try to limit cpu usage for multi-threaded process on a multi-core machine.
I use the following command:
# rctl -a user:myusernm:pcpu:deny=200/user
And I expect (please correct me if I am wrong) that all processes running with uid=myusernm will consume 200% of CPU in total.
But after that I see that multi-threaded process continues to consume all available cores on my machine.
rctl command reports:# rctluser:myusernm:pcpu:deny=200
What am I doing wrong?
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?391044000.900018.1442492872653.JavaMail.yahoo>
