httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60006] New: Replacing g_mutex_skiplist_mtx mutex lock with pthread_spin_lock provides performance benefit
Date Mon, 15 Aug 2016 16:47:44 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60006

            Bug ID: 60006
           Summary: Replacing g_mutex_skiplist_mtx mutex lock with
                    pthread_spin_lock provides performance benefit
           Product: Apache httpd-2
           Version: 2.4.20
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mpm_event
          Assignee: bugs@httpd.apache.org
          Reporter: mejbah.alam@gmail.com

While running benchmark ab with our tool we found that g_timer_skiplist_mtx is
acquired very frequently but the contention is very low. We experinted by
replacing this pthread_mutex_lock with spinlock. We achieve 7% speedup running 
./ab -k -c 350 -n 20000 localhost:8080/
in our 16 core linux machine.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message