Critical Sections for userland.
Alfred Perlstein
alfred at freebsd.org
Tue Oct 2 20:30:05 PDT 2007
* Kip Macy <kip.macy at gmail.com> [071002 20:24] wrote:
> See /sys/priority.h realtime is right below ithreads in terms of
> priority. One of the big motivations for gang scheduling and part of
> the reason why SMP guests often perform poorly is that apps / VMs
> don't scale well if they're descheduled from the cpu while holding a
> lock.
Yes, exactly the problem, it sucks when process A on CPU 1 runs out
of quantum while holding a lock that a runner on CPU 2 wants.
--
- Alfred Perlstein
More information about the freebsd-hackers
mailing list