dup() scales badly on multicore platform

崔岩ccuiyyan@sina.com ccuiyyan at gmail.com
Thu Apr 2 03:19:31 PDT 2009


Dear all;

       i benchchmark the dup() system call on 32 cores machine in
FreeBSD-current8.0.

       The results are bad. The phenomenon is easy to come out. Each
process(not thread) on the core

       dup() its private file, and close() in a tight loop. The time
completing the parallel workload

       is considered as performance. At first,  i think there are some
locks. However, lock profiling

       in FreeBSD is strange and interesting. I attach the graph and lock
profiling. Any ideas?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TCCC
Type: application/octet-stream
Size: 4867 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090402/d8432ee4/TCCC.obj


More information about the freebsd-current mailing list