X11 extremely slow while compiling other things

Yi Wang wangyi6854 at gmail.com
Mon Oct 22 01:03:03 PDT 2007


IPI_PREEMPTION allows the scheduler running on CPU A to preempt a thread
on CPU B. This should reduce latency in some circumstances.

# PREEMPTION allows the threads that are in the kernel to be preempted
#         by higher priority threads.  It helps with interactivity and
#         allows interrupt threads to run sooner rather than waiting.
#         WARNING! Only tested on amd64 and i386.
# FULL_PREEMPTION instructs the kernel to preempt non-realtime kernel
#         threads.  Its sole use is to expose race conditions and other
#         bugs during development.  Enabling this option will reduce
#         performance and increase the frequency of kernel panics by
#         design.  If you aren't sure that you need it then you don't.
#         Relies on the PREEMPTION option.  DON'T TURN THIS ON.


On 10/22/07, Aryeh M. Friedman <aryeh.friedman at gmail.com> wrote:
>
> > Try adding "options FULL_PREEMPTION" to your kernel.
> >
> >
> >
> What is the difference between this and PREEMPTION + IPI_PREEMPTION?
>


-- 
Regards,
Wang Yi


More information about the freebsd-stable mailing list