[Bug 233396] In FreeBSD 11.x thread creation time is too much on Xeon Gold 5115 CPU

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 22 05:17:04 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233396

            Bug ID: 233396
           Summary: In FreeBSD 11.x thread creation time is  too much on
                    Xeon Gold 5115 CPU
           Product: Base System
           Version: 11.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: threads
          Assignee: threads at FreeBSD.org
          Reporter: steevanxperia at gmail.com
 Attachment #199443 text/plain
         mime type:

Created attachment 199443
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199443&action=edit
simple c code

Hi 

I have attached simple program which just creates one thread and computes time
taken to create a thread. 

System Details: 
dmesg | grep CPU
CPU: Intel(R) Xeon(R) Gold 5115 CPU @ 2.40GHz (2400.07-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 40 CPUs

System Information
    Manufacturer: Supermicro
    Product Name: Super Server
    Version: 0123456789
Base Board Information
    Manufacturer: Supermicro
    Product Name: X11DPH-Tq
    Version: 1.01

On this system it takes about 6000 to 15000 microseconds ( usec) to create a
thread. 

I also ran Phoronix OS bench test suite and that also shows same issue.
Couple of other users have also reported this issue for FreeBSD 11.x 
Please see these following links and look for "Create Threads"   row.

https://openbenchmarking.org/result/1804094-AR-1804096AR58
https://openbenchmarking.org/result/1807114-RA-WINDOWSSE47

On the other hand  this issue is not found when I run FreeBSD 12.0 Beta3 on
this same hardware. It takes about 200 to 300 usec to create one thread. 

Regards
Steevan

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-threads mailing list