Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 71548 invoked from network); 7 Jul 2008 18:07:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2008 18:07:39 -0000 Received: (qmail 4829 invoked by uid 500); 7 Jul 2008 18:07:39 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 4792 invoked by uid 500); 7 Jul 2008 18:07:39 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 4779 invoked by uid 99); 7 Jul 2008 18:07:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 11:07:39 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 18:06:56 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 2AA8B234C157; Mon, 7 Jul 2008 11:07:17 -0700 (PDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 45356] New: ab: optionally reduce ressource usage ( qsort and memory) X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: support X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rainer.jung@kippdata.de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 7 Jul 2008 11:07:17 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org 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