httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45356] New: ab: optionally reduce ressource usage ( qsort and memory)
Date Mon, 07 Jul 2008 18:07:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45356

           Summary: ab: optionally reduce ressource usage (qsort and memory)
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: support
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rainer.jung@kippdata.de
        Depends on: 45355


1) qsort() CPU usage

At the end of a run, ab uses qsort() a couple of times to sort result data.
This is only needed if one wants to get confidence data, or percentile data.

Modern machines easily handle millions of requests in a very few minutes. The
qsort() processing time at the end of the run gets to long for such big
numbers.

Add a flag to disable qsort runs (automatically also disables confidence and
percentile data, since they rely on sorting the request data).

2) memory usage

ab saves detail data for each request in memory during the run. Again for huge
numbers of requests, this gets expensive.

Add a flag to disable request data saving. All statistics, that are available
via incremental computations still get produced (min/max/mean/total).

All patches are based on the final result of the patches in issue 45355.

https://issues.apache.org/bugzilla/show_bug.cgi?id=45355

I can provide patches against trunk, but 45355 makes the changes nicer.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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