174e570 Ticket 62 - Remove unnecessary counters from jobs

Authored and Committed by William Brown 7 years ago
    Ticket 62 - Remove unnecessary counters from jobs
    
    Bug Description:  The nunc-stans queues had a number of counters to track
    max and min stats. As well they tracked the current number of jobs in the queues
    However, these used atomics, and so were very slow and caused a bottleneck.
    
    Fix Description:  Remove counters on the work and event queues that used atomics
    these would slow the server down. Additionally, remove some incorrect comments
    and deadcode. A rough benchmark shows this as have a 15% or more performance
    improvement. (cmocka_stress_test + external timer)
    
    https://fedorahosted.org/nunc-stans/ticket/62
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)
    
        
file modified
+5 -75
file modified
+0 -2