You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pedro Salazar <pe...@ptinovacao.pt> on 2003/10/09 11:50:44 UTC

Re: [users@httpd] httpd 2.0.47 -> ab (apache benchmark) too slow!!! (UPDATE)

On Thu, 2003-09-25 at 17:05, Pedro Salazar wrote:
> Greetings,
> 
> I installed apache httpd 2.0.47 on linux RedHat 9.0 box. I'm trying to
> make benchmarks using the ab (apache benchmark) but I noticed that ab
> it's too sllllooooowwwwww (slow)!!
> 
> I installed also a previous version (2.0.43), and the _ab_ works just
> fine. It's a possible bug or a incompatible feature on my machine with
> RH 9.0?
> 

Since no one has replied, I feel obligated to add more information about
the problem identified. 

I captured the tcp requests with tcpdump from ab 2.0.43 (OK) requests
and ab 2.0.47 (TIMEOUT) requests. I hope that anyone may comment this
updated information, and if possible, to test it also on their local
server.

[root@vitoria root]# /usr/sbin/tcpdump -i lo port 80

// [ab 2.0.47] --> /opt/apache-httpd-2.0.43/bin/ab localhost/

tcpdump: listening on lo
10:41:38.620116 localhost.localdomain.50079 >
localhost.localdomain.http: S 4032
471660:4032471660(0) win 32767 <mss 16396,sackOK,timestamp 8262134
0,nop,wscale 
0> (DF)
10:41:38.620141 localhost.localdomain.http >
localhost.localdomain.50079: S 4031
261832:4031261832(0) ack 4032471661 win 32767 <mss
16396,sackOK,timestamp 826213
4 8262134,nop,wscale 0> (DF)
10:41:38.620156 localhost.localdomain.50079 >
localhost.localdomain.http: . ack 
1 win 32767 <nop,nop,timestamp 8262134 8262134> (DF)
10:41:38.620383 localhost.localdomain.50079 >
localhost.localdomain.http: P 1:85
(84) ack 1 win 32767 <nop,nop,timestamp 8262134 8262134> (DF)
10:41:38.620393 localhost.localdomain.http >
localhost.localdomain.50079: . ack 
85 win 32767 <nop,nop,timestamp 8262134 8262134> (DF)
10:41:38.654790 localhost.localdomain.http >
localhost.localdomain.50079: P 1:16
48(1647) ack 85 win 32767 <nop,nop,timestamp 8262137 8262134> (DF)
10:41:38.654808 localhost.localdomain.50079 >
localhost.localdomain.http: . ack 
1648 win 34587 <nop,nop,timestamp 8262137 8262137> (DF)
10:41:38.679832 localhost.localdomain.http >
localhost.localdomain.50079: F 1648
:1648(0) ack 85 win 32767 <nop,nop,timestamp 8262140 8262137> (DF)
10:41:38.679889 localhost.localdomain.50079 >
localhost.localdomain.http: F 85:8
5(0) ack 1649 win 34587 <nop,nop,timestamp 8262140 8262140> (DF)
10:41:38.679897 localhost.localdomain.http >
localhost.localdomain.50079: . ack 
86 win 32767 <nop,nop,timestamp 8262140 8262140> (DF)



// [ab 2.0.47] --> /opt/apache-httpd-2.0.47/bin/ab localhost/

10:41:50.387345 localhost.localdomain.50083 >
localhost.localdomain.http: S 4044
040347:4044040347(0) win 32767 <mss 16396,sackOK,timestamp 8263310
0,nop,wscale 
0> (DF)
10:41:50.387371 localhost.localdomain.http >
localhost.localdomain.50083: S 4048
448824:4048448824(0) ack 4044040348 win 32767 <mss
16396,sackOK,timestamp 826331
0 8263310,nop,wscale 0> (DF)
10:41:50.387386 localhost.localdomain.50083 >
localhost.localdomain.http: . ack 
1 win 32767 <nop,nop,timestamp 8263310 8263310> (DF)


Thanks,
Pedro Salazar.
-- 
PS
pedro-b-salazar@ptinovacao.pt
PGP:0E129E31D803BC61


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org