You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Peter Lin <wo...@gmail.com> on 2005/01/10 15:54:32 UTC

Some benchmark results

I've started running a series of benchmarks for static files. Here are
some early results. I plan to write up the results once it's all done.

Server:
AMD 2ghz
RAM 1Gb
jdk1.4.2
tomcat 5.0.x

Client:
gateway laptop 450
centrino 1.4ghz
RAM 1Gb

The basic setup
Concurrent threads: 5, 10, 15, 20, 25, 30
page size in KB: 1, 5, 10, 20, 40, 80, 160
image size KB: 1, 5, 10, 20, 40, 80, 160


The results I have so far using JMeter.

peter 

--------------------------------------

1K
-----------------------------------------------------------------------------------------------
protocol | samples | average | median | 90% line | min | max | error%
| throughput | Kb/sec
-----------------------------------------------------------------------------------------------
HTTP Request	5000	2.4158	0	10	0	231	0.00%	1296.7/sec	1337.20
HTTP Request	10000	3.2866	0	10	0	490	0.00%	1384.8/sec	1428.13
HTTP Request	15000	3.56353	0	10	0	3626	0.00%	1335.0/sec	1376.71
HTTP Request	20000	6.3406	0	20	0	120	0.00%	1352.1/sec	1394.33
HTTP Request	25000	8.27288	0	20	0	281	0.00%	1309.1/sec	1350.02
HTTP Request	30000	4.6102	0	20	0	972	0.00%	1259.2/sec	1298.53

5k
----------------
HTTP Request	5000	2.9246	0	10	0	330	0.00%	1044.5/sec	5314.28
HTTP Request	10000	4.4717	0	10	0	1162	0.00%	1002.6/sec	5101.15
HTTP Request	15000	6.7102	0	20	0	2373	0.00%	968.9/sec	4929.49
HTTP Request	20000	4.83515	0	10	0	1503	0.00%	950.1/sec	4834.10
HTTP Request	25000	10.3578	0	30	0	1922	0.00%	933.6/sec	4749.89
HTTP Request	30000	5.86573	0	20	0	441	0.00%	939.4/sec	4779.46

10k
----------------
HTTP Request	5000	4.1644	0	10	0	742	0.00%	726.7/sec	7308.61
HTTP Request	10000	8.8132	10	20	0	181	0.00%	763.5/sec	7678.00
HTTP Request	15000	7.7906	0	20	0	381	0.00%	718.0/sec	7221.14
HTTP Request	20000	10.8593	10	30	0	420	0.00%	705.2/sec	7091.88
HTTP Request	25000	32.2276	30	50	0	110	0.00%	704.0/sec	7079.95
HTTP Request	30000	19.3326	10	50	0	1653	0.00%	686.8/sec	6906.56

20k
----------------
HTTP Request	5000	7.4202	0	10	0	400	0.00%	491.9/sec	9936.63
HTTP Request	10000	14.1984	10	20	0	982	0.00%	490.9/sec	9917.12
HTTP Request	15000	17.698	10	40	0	531	0.00%	472.4/sec	9542.36
HTTP Request	20000	22.9608	20	50	0	471	0.00%	465.1/sec	9395.46
HTTP Request	25000	32.8229	40	61	0	1432	0.00%	461.3/sec	9318.23
HTTP Request	30000	50.4059	50	90	0	701	0.00%	429.6/sec	8678.60

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Some benchmark results

Posted by Henri Gomez <he...@gmail.com>.
Using full HTTP 1.1 ?

On Mon, 10 Jan 2005 09:54:32 -0500, Peter Lin <wo...@gmail.com> wrote:
> I've started running a series of benchmarks for static files. Here are
> some early results. I plan to write up the results once it's all done.
> 
> Server:
> AMD 2ghz
> RAM 1Gb
> jdk1.4.2
> tomcat 5.0.x
> 
> Client:
> gateway laptop 450
> centrino 1.4ghz
> RAM 1Gb
> 
> The basic setup
> Concurrent threads: 5, 10, 15, 20, 25, 30
> page size in KB: 1, 5, 10, 20, 40, 80, 160
> image size KB: 1, 5, 10, 20, 40, 80, 160
> 
> The results I have so far using JMeter.
> 
> peter
> 
> --------------------------------------
> 
> 1K
> -----------------------------------------------------------------------------------------------
> protocol | samples | average | median | 90% line | min | max | error%
> | throughput | Kb/sec
> -----------------------------------------------------------------------------------------------
> HTTP Request    5000    2.4158  0       10      0       231     0.00%   1296.7/sec      1337.20
> HTTP Request    10000   3.2866  0       10      0       490     0.00%   1384.8/sec      1428.13
> HTTP Request    15000   3.56353 0       10      0       3626    0.00%   1335.0/sec      1376.71
> HTTP Request    20000   6.3406  0       20      0       120     0.00%   1352.1/sec      1394.33
> HTTP Request    25000   8.27288 0       20      0       281     0.00%   1309.1/sec      1350.02
> HTTP Request    30000   4.6102  0       20      0       972     0.00%   1259.2/sec      1298.53
> 
> 5k
> ----------------
> HTTP Request    5000    2.9246  0       10      0       330     0.00%   1044.5/sec      5314.28
> HTTP Request    10000   4.4717  0       10      0       1162    0.00%   1002.6/sec      5101.15
> HTTP Request    15000   6.7102  0       20      0       2373    0.00%   968.9/sec       4929.49
> HTTP Request    20000   4.83515 0       10      0       1503    0.00%   950.1/sec       4834.10
> HTTP Request    25000   10.3578 0       30      0       1922    0.00%   933.6/sec       4749.89
> HTTP Request    30000   5.86573 0       20      0       441     0.00%   939.4/sec       4779.46
> 
> 10k
> ----------------
> HTTP Request    5000    4.1644  0       10      0       742     0.00%   726.7/sec       7308.61
> HTTP Request    10000   8.8132  10      20      0       181     0.00%   763.5/sec       7678.00
> HTTP Request    15000   7.7906  0       20      0       381     0.00%   718.0/sec       7221.14
> HTTP Request    20000   10.8593 10      30      0       420     0.00%   705.2/sec       7091.88
> HTTP Request    25000   32.2276 30      50      0       110     0.00%   704.0/sec       7079.95
> HTTP Request    30000   19.3326 10      50      0       1653    0.00%   686.8/sec       6906.56
> 
> 20k
> ----------------
> HTTP Request    5000    7.4202  0       10      0       400     0.00%   491.9/sec       9936.63
> HTTP Request    10000   14.1984 10      20      0       982     0.00%   490.9/sec       9917.12
> HTTP Request    15000   17.698  10      40      0       531     0.00%   472.4/sec       9542.36
> HTTP Request    20000   22.9608 20      50      0       471     0.00%   465.1/sec       9395.46
> HTTP Request    25000   32.8229 40      61      0       1432    0.00%   461.3/sec       9318.23
> HTTP Request    30000   50.4059 50      90      0       701     0.00%   429.6/sec       8678.60
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Some benchmark results

Posted by Henri Gomez <he...@gmail.com>.
I could say that I'm using some Linux boxes with 2.6.x and latest IBM
SDK 1.4.2 and it rocks, faster than my workstation running XP and Sun
SDK which use a similar hardware (P4 2.8Ghz).

Which Linux distribution/version did you tried ?

On Tue, 11 Jan 2005 05:07:18 -0800 (PST), Leon Gent <le...@yahoo.com> wrote:
> What OS on server and client? We found that certain
> flavors of Linux did not perform nearly as well as XP,
> for instance. In other words, OS has huge influence on
> performance.
> 
> 
> --- Peter Lin <wo...@gmail.com> wrote:
> 
> > I've started running a series of benchmarks for
> > static files. Here are
> > some early results. I plan to write up the results
> > once it's all done.
> >
> > Server:
> > AMD 2ghz
> > RAM 1Gb
> > jdk1.4.2
> > tomcat 5.0.x
> >
> > Client:
> > gateway laptop 450
> > centrino 1.4ghz
> > RAM 1Gb
> >
> > The basic setup
> > Concurrent threads: 5, 10, 15, 20, 25, 30
> > page size in KB: 1, 5, 10, 20, 40, 80, 160
> > image size KB: 1, 5, 10, 20, 40, 80, 160
> >
> >
> > The results I have so far using JMeter.
> >
> > peter
> >
> > --------------------------------------
> >
> > 1K
> >
> -----------------------------------------------------------------------------------------------
> > protocol | samples | average | median | 90% line |
> > min | max | error%
> > | throughput | Kb/sec
> >
> -----------------------------------------------------------------------------------------------
> > HTTP Request  5000    2.4158  0       10      0       231     0.00%   1296.7/sec
> > 1337.20
> > HTTP Request  10000   3.2866  0       10      0       490     0.00%
> > 1384.8/sec    1428.13
> > HTTP Request  15000   3.56353 0       10      0       3626    0.00%
> > 1335.0/sec    1376.71
> > HTTP Request  20000   6.3406  0       20      0       120     0.00%
> > 1352.1/sec    1394.33
> > HTTP Request  25000   8.27288 0       20      0       281     0.00%
> > 1309.1/sec    1350.02
> > HTTP Request  30000   4.6102  0       20      0       972     0.00%
> > 1259.2/sec    1298.53
> >
> > 5k
> > ----------------
> > HTTP Request  5000    2.9246  0       10      0       330     0.00%   1044.5/sec
> > 5314.28
> > HTTP Request  10000   4.4717  0       10      0       1162    0.00%
> > 1002.6/sec    5101.15
> > HTTP Request  15000   6.7102  0       20      0       2373    0.00%
> > 968.9/sec     4929.49
> > HTTP Request  20000   4.83515 0       10      0       1503    0.00%
> > 950.1/sec     4834.10
> > HTTP Request  25000   10.3578 0       30      0       1922    0.00%
> > 933.6/sec     4749.89
> > HTTP Request  30000   5.86573 0       20      0       441     0.00%
> > 939.4/sec     4779.46
> >
> > 10k
> > ----------------
> > HTTP Request  5000    4.1644  0       10      0       742     0.00%   726.7/sec
> > 7308.61
> > HTTP Request  10000   8.8132  10      20      0       181     0.00%
> > 763.5/sec     7678.00
> > HTTP Request  15000   7.7906  0       20      0       381     0.00%   718.0/sec
> > 7221.14
> > HTTP Request  20000   10.8593 10      30      0       420     0.00%
> > 705.2/sec     7091.88
> > HTTP Request  25000   32.2276 30      50      0       110     0.00%
> > 704.0/sec     7079.95
> > HTTP Request  30000   19.3326 10      50      0       1653    0.00%
> > 686.8/sec     6906.56
> >
> > 20k
> > ----------------
> > HTTP Request  5000    7.4202  0       10      0       400     0.00%   491.9/sec
> > 9936.63
> > HTTP Request  10000   14.1984 10      20      0       982     0.00%
> > 490.9/sec     9917.12
> > HTTP Request  15000   17.698  10      40      0       531     0.00%
> > 472.4/sec     9542.36
> > HTTP Request  20000   22.9608 20      50      0       471     0.00%
> > 465.1/sec     9395.46
> > HTTP Request  25000   32.8229 40      61      0       1432    0.00%
> > 461.3/sec     9318.23
> > HTTP Request  30000   50.4059 50      90      0       701     0.00%
> > 429.6/sec     8678.60
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tomcat-dev-help@jakarta.apache.org
> >
> >
> 
>                 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Some benchmark results

Posted by Leon Gent <le...@yahoo.com>.
What OS on server and client? We found that certain
flavors of Linux did not perform nearly as well as XP,
for instance. In other words, OS has huge influence on
performance.


--- Peter Lin <wo...@gmail.com> wrote:

> I've started running a series of benchmarks for
> static files. Here are
> some early results. I plan to write up the results
> once it's all done.
> 
> Server:
> AMD 2ghz
> RAM 1Gb
> jdk1.4.2
> tomcat 5.0.x
> 
> Client:
> gateway laptop 450
> centrino 1.4ghz
> RAM 1Gb
> 
> The basic setup
> Concurrent threads: 5, 10, 15, 20, 25, 30
> page size in KB: 1, 5, 10, 20, 40, 80, 160
> image size KB: 1, 5, 10, 20, 40, 80, 160
> 
> 
> The results I have so far using JMeter.
> 
> peter 
> 
> --------------------------------------
> 
> 1K
>
-----------------------------------------------------------------------------------------------
> protocol | samples | average | median | 90% line |
> min | max | error%
> | throughput | Kb/sec
>
-----------------------------------------------------------------------------------------------
> HTTP Request	5000	2.4158	0	10	0	231	0.00%	1296.7/sec
> 1337.20
> HTTP Request	10000	3.2866	0	10	0	490	0.00%
> 1384.8/sec	1428.13
> HTTP Request	15000	3.56353	0	10	0	3626	0.00%
> 1335.0/sec	1376.71
> HTTP Request	20000	6.3406	0	20	0	120	0.00%
> 1352.1/sec	1394.33
> HTTP Request	25000	8.27288	0	20	0	281	0.00%
> 1309.1/sec	1350.02
> HTTP Request	30000	4.6102	0	20	0	972	0.00%
> 1259.2/sec	1298.53
> 
> 5k
> ----------------
> HTTP Request	5000	2.9246	0	10	0	330	0.00%	1044.5/sec
> 5314.28
> HTTP Request	10000	4.4717	0	10	0	1162	0.00%
> 1002.6/sec	5101.15
> HTTP Request	15000	6.7102	0	20	0	2373	0.00%
> 968.9/sec	4929.49
> HTTP Request	20000	4.83515	0	10	0	1503	0.00%
> 950.1/sec	4834.10
> HTTP Request	25000	10.3578	0	30	0	1922	0.00%
> 933.6/sec	4749.89
> HTTP Request	30000	5.86573	0	20	0	441	0.00%
> 939.4/sec	4779.46
> 
> 10k
> ----------------
> HTTP Request	5000	4.1644	0	10	0	742	0.00%	726.7/sec
> 7308.61
> HTTP Request	10000	8.8132	10	20	0	181	0.00%
> 763.5/sec	7678.00
> HTTP Request	15000	7.7906	0	20	0	381	0.00%	718.0/sec
> 7221.14
> HTTP Request	20000	10.8593	10	30	0	420	0.00%
> 705.2/sec	7091.88
> HTTP Request	25000	32.2276	30	50	0	110	0.00%
> 704.0/sec	7079.95
> HTTP Request	30000	19.3326	10	50	0	1653	0.00%
> 686.8/sec	6906.56
> 
> 20k
> ----------------
> HTTP Request	5000	7.4202	0	10	0	400	0.00%	491.9/sec
> 9936.63
> HTTP Request	10000	14.1984	10	20	0	982	0.00%
> 490.9/sec	9917.12
> HTTP Request	15000	17.698	10	40	0	531	0.00%
> 472.4/sec	9542.36
> HTTP Request	20000	22.9608	20	50	0	471	0.00%
> 465.1/sec	9395.46
> HTTP Request	25000	32.8229	40	61	0	1432	0.00%
> 461.3/sec	9318.23
> HTTP Request	30000	50.4059	50	90	0	701	0.00%
> 429.6/sec	8678.60
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-dev-help@jakarta.apache.org
> 
> 



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org