httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45356] New: ab: optionally reduce ressource usage ( qsort and memory)
Date Mon, 07 Jul 2008 18:07:17 GMT

           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
        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

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.

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

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message