Server vs Desktop difference and optimisation options

Ok I should not have touched /boot/defaults/loader.conf


i put the setting in /boot/loader.conf but still no change after reboot.
 
What would happen when you pull kern.sched.preempt_thresh down to 0? I didn't try, but shouldn't this effectively disable preemption?

Yes.

Code:
       /*
         * If preemption is disabled don't preempt others.
         */
        if (preempt_thresh == 0)
                return (0);

Whether that is really equivalent to Linux' compile time option to turn preemption off I don't know. I want to read the code but I don't have time right now.
 
Back
Top