Date: Tue, 6 Nov 2018 20:43:13 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Steevan Rodrigues <steevanxperia@gmail.com>, freebsd-hackers@freebsd.org Subject: Re: FreeBSD 11.x thread creation time is 9000+ microseconds on Intel Xeon Gold series CPU Message-ID: <d2b9eb32-1095-7201-f95c-a52ff75f9e25@grosbein.net> In-Reply-To: <CAKsGTHQnaEsqmf_g%2BhH=agmfJ5Z4sZY8qkw1iJWyOF=1e6qm-g@mail.gmail.com> References: <CAKsGTHQnaEsqmf_g%2BhH=agmfJ5Z4sZY8qkw1iJWyOF=1e6qm-g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d2b9eb32-1095-7201-f95c-a52ff75f9e25>