kern.sched.preempt_thresh

Share your ideas, questions or suggestions with us here.
Post Reply
RoboNuggie
Posts: 8
Joined: Tue Oct 15, 2019 8:24 pm
Has thanked: 3 times
Been thanked: 2 times

kern.sched.preempt_thresh

Post by RoboNuggie »

Hi, I was wondering if there was a technical reason why kern.sched.preempt_thresh=224
wasn't included in the sysctl.conf and that the system is default 80, which is great for servers, but perhaps not optimum for
desktop use..... it is one of the first things I change when setting up a FreeBSD desktop -
for a server, I leave it at 80, but desktop it's a must for me....

Thanks.....
These users thanked the author RoboNuggie for the post:
ericbsd (Fri Jan 31, 2020 8:32 am)
Rating: 33.33%

RoboNuggie
Posts: 8
Joined: Tue Oct 15, 2019 8:24 pm
Has thanked: 3 times
Been thanked: 2 times

Re: kern.sched.preempt_thresh

Post by RoboNuggie »

oops, sorry if I posted in the wrong section....

User avatar
ericbsd
Developer
Posts: 1537
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 50 times
Been thanked: 80 times

Re: kern.sched.preempt_thresh

Post by ericbsd »

There is no reason that is at 80, I never changed that before, I did look into it and I will add this in the future release and maybe by default since I manage the source code to build the system.
These users thanked the author ericbsd for the post:
RoboNuggie (Fri Jan 31, 2020 9:33 am)
Rating: 33.33%

RoboNuggie
Posts: 8
Joined: Tue Oct 15, 2019 8:24 pm
Has thanked: 3 times
Been thanked: 2 times

Re: kern.sched.preempt_thresh

Post by RoboNuggie »

Thank you Eric, you are a star.... I don't foresee any problems, and I'm doing a review of 20.01 now, using it exclusively for a week - I put in the tweak and it runs without any issues as a desktop with it....

User avatar
ericbsd
Developer
Posts: 1537
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 50 times
Been thanked: 80 times

Re: kern.sched.preempt_thresh

Post by ericbsd »

I have added it in the default source code I will probably build a new system package with it this change soon.
These users thanked the author ericbsd for the post:
RoboNuggie (Fri Jan 31, 2020 11:22 am)
Rating: 33.33%

Post Reply