Date: Tue, 6 Nov 2018 16:35:20 +0530 From: Steevan Rodrigues <steevanxperia@gmail.com> To: mad@madpilot.net Cc: vhaisman@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: <CAKsGTHRUUxW0Ww-0HXKN-S-r9V5Sj1ZU%2BDgdQ1ObHg75RkGxCQ@mail.gmail.com> In-Reply-To: <e5333ed8-9788-41e0-5c75-c72af1525029@madpilot.net> References: <CAKsGTHQnaEsqmf_g%2BhH=agmfJ5Z4sZY8qkw1iJWyOF=1e6qm-g@mail.gmail.com> <7bb8463e-aa5d-bade-7ae7-6c612bae65f9@gmail.com> <CAKsGTHTLAaPW6P94J_uv%2ByPpOv9FuZZQQjBDYV-vTJUDYZSa%2Bg@mail.gmail.com> <e5333ed8-9788-41e0-5c75-c72af1525029@madpilot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to all of you for the quick responses. I see this issue only on a particular server. I do not see this issue on another server with slightly older processor Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz (dual socket 6 core per socket) In this system the same program takes only about 800 usec I wonder whether it is problem with 11.x FreeBSD release on this particular processor. I came across two results (given below) from Phoronix OSbench test suite which also show poor thread creation time for FreeBSD 11.x https://openbenchmarking.org/result/1804094-AR-1804096AR58 https://openbenchmarking.org/result/1807114-RA-WINDOWSSE47 In this look for "Create Threads" row. Thanks Steevan On Tue, Nov 6, 2018 at 3:17 PM Guido Falsi <mad@madpilot.net> wrote: > On 06/11/18 10:01, Steevan Rodrigues wrote: > > Ok. Sorry about that. Again I have attached that test program as a tar > > file. I am not sure whether even this gets stripped by mailing list > > software. > > > > Anyway here is the program given below. > > > > I'm not a kernel guy or an expert in such things, but I see that > flamegraphs are often used to analyze such issues. It gives an idea > where the kernel is actually spending it's time. > > There's also a port to help with this: > > https://www.freshports.org/benchmarks/flamegraph/ > > I think if you could gather such information and make it available you'd > make it easier for experts to explain what is happening and maybe also > do something about this. > > -- > Guido Falsi <mad@madpilot.net> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKsGTHRUUxW0Ww-0HXKN-S-r9V5Sj1ZU%2BDgdQ1ObHg75RkGxCQ>