Question about "pcpu" rctl

John Dison jdison16 at yahoo.com
Tue Sep 15 10:06:21 UTC 2015


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?



More information about the freebsd-stable mailing list