Displaying 1 result from an estimated 1 matches for "naverage".
Did you mean:
average
2003 Jan 30
0
[Bug 32] New: ip_conntrack seems to track everything which can be very slow on HTTP
...", @ARGV), "\n\n";
$sum=0;
$n=0;
for(my $i=1;$i<10;++$i) {
my $res = `/usr/local/apache/bin/ab -c 2 -n 1000 $ARGV[0] 2>&1`;
if ($res =~ /Requests per second:\s*(\S*)/) {
printf("%-8.2f", $1);
$sum += $1;
$n++;
}
}
print "\nAverage: ", $sum/$n, "\n";
The performance locally usually stay at the same level for each number. On
ip_conntrack the performance is going down very fast.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.