FreeBSD 11.x thread creation time is 9000+ microseconds on Intel Xeon Gold series CPU

Eugene Grosbein eugen at grosbein.net
Tue Nov 6 13:43:33 UTC 2018


06.11.2018 11:01, Steevan Rodrigues пишет:
> Hi ,
> I am seeing a FreeBSD 11.x OS poor performance issue .
> CPU is Intel(R) Xeon(R) Gold 5115 CPU @ 2.40GHz ( dual socket CPU with 10
> cores per socket )
> 
> I have attached a simple program which creates thread and computes time
> taken to create this thread. On this CPU with FreeBSD 11.x OS it takes 9000
> to 15000 micro seconds ( us) to create
> just one thread.
> 
> On other platforms this thread creation time is usually 20 to 30 us only.
> Any idea why it takes so much more time with FreeBSD 11.x ?
> Is there any processor specific tuning that needs to be done ?

Please set "sysctl kern.eventtimer.periodic=1" and retry your tests.



More information about the freebsd-hackers mailing list