You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Gaƫl LHEZ <gl...@glowria.fr> on 2006/06/07 15:03:37 UTC

Result in Jmeter vs Result in Jboss : why is there such a difference?

Hi,

Now that I configured my test, tested them, and installed the whole test
platform, I begin to interest my self to the results. 100 users will connect
to a server, in 200 secons (ramp up)

Here is the configuration, note that all is in local network  (Ethernet,
100MBits/s)


Win2k Terminal + SQLServer
         |
Win2k Terminal + Jboss (jdk1.5_06)
           |
RedHat + Apache 2.0.55

When I run the test, I hit the apache server, which handle what he can, and
let jk_mod handle the rest, then jBoss call the database if needed, etc.

Here a comparaison :  (see below)

Result in red are strange : how could that sample be quicker than the thing
that create the sample? Since the difference is small, I think it simply due
to a redirect (which take less time)

Result in yellow are worse : I can understand that due to network there is
maximum 500ms seconds between the two result, but 2 seconds... 
 
I also had this problems with the same conf, but Apache running on the same
machine than jMeter (on WinXp pro)
 
I'm looking for a good explanation of that? 
 
(currently, I'm thinking that is due to thread issue : one thread is waiting
to get access to CPU's registry, and since System.getTimeMillis() is used to
determine start of time, we have the total lifespan of thread, not it alive
time)


 



	
	Jboss	 Jmeter	 Difference	
[prospect 2]	 /glow2/viewIndex.do	 32	 16	 -16	
[prospect 2]	 /viewTitleDetails.do?titreId=108580	 0	 15	 15

[prospect 3]	 /glow2/viewIndex.do	 16	 31	 15	
[prospect 4]	 /glow2/viewIndex.do	 16	 15	 -1	
[prospect 2]	 /viewTitleDetails.do?titreId=111907	 109	 125	 16

[prospect 5]	 /glow2/viewIndex.do	 16	 16	 0	
[prospect 1]	 /glow2/viewIndex.do	 16	 16	 0	
[prospect 5]	 /viewTitleDetails.do?titreId=108037	 63	 63	 0

[prospect 1]	 /viewTitleDetails.do?titreId=107902	 0	 31	 31

[prospect 6]	 /glow2/viewIndex.do	 16	 16	 0	
[prospect 4]	 /viewTitleDetails.do?titreId=12839	 125	 485	 360

[prospect 3]	 /viewTitleDetails.do?titreId=20364	 15	 109	 94

[prospect 7]	 /glow2/viewIndex.do	 1047	 1063	 16	
[prospect 5]	 /viewTitleDetails.do?titreId=102577	 438	 626	 188

[prospect 5]	 /viewTitleDetails.do?titreId=11119	 203	 219	 16

[prospect 14]	 /viewTitleDetails.do?titreId=21000	 109	 125	 16

[prospect 17]	 /viewTopTitles.do	 47	 79	 32	
[prospect 25]	 /viewTopTitles.do	 47	 94	 47	
[prospect 12]	 /viewTitleDetails.do?titreId=13344	 156	 219	 63

[prospect 27]	 /viewTopTitles.do	 62	 78	 16	
[prospect 1]	 /viewTitleDetails.do?titreId=120726	 62	 62	 0

[prospect 5]	 /viewTitleDetails.do?titreId=15274	 31	 47	 16

[prospect 24]	 /viewTitleDetails.do?titreId=123680	 32	 47	 15

[prospect 29]	 /viewNewEditoTitles.do	 47	 141	 94	
[prospect 15]	 /viewTopTitles.do	 47	 79	 32	
[prospect 13]	 /viewTitleDetails.do?titreId=118276	 78	 125	 47

[prospect 33]	 /viewNewEditoTitles.do	 47	 78	 31	
[prospect 32]	 /viewTitleDetails.do?titreId=14993	 360	 359	 -1

[prospect 38]	 /viewTitleDetails.do?titreId=14863	 578	 579	 1

[prospect 4]	 /viewTitleDetails.do?titreId=114928	 16	 16	 0

[prospect 11]	 /viewTopTitles.do	 46	 94	 48	
[prospect 17]	 /viewTitleDetails.do?titreId=123968	 157	 156	 -1

[prospect 22]	 /viewTitleDetails.do?titreId=13155	 16	 47	 31

[prospect 9]	 /viewTitleDetails.do?titreId=13609	 110	 172	 62

[prospect 44]	 /glow2/viewIndex.do	 16	 16	 0	
[prospect 4]	 /viewTitleDetails.do?titreId=125315	 31	 31	 0

[prospect 23]	 /viewTitleDetails.do?titreId=399	 171	 187	 16

[prospect 40]	 /viewTitleDetails.do?titreId=113054	 203	 204	 1

[prospect 36]	 /viewTitleDetails.do?titreId=22515	 203	 219	 16

[prospect 19]	 /viewTitleDetails.do?titreId=103015	 281	 297	 16

[prospect 8]	 /viewTitleDetails.do?titreId=100586	 203	 203	 0

[prospect 15]	 /viewTitleDetails.do?titreId=117370	 78	 78	 0

[prospect 35]	 /viewTitleDetails.do?titreId=122611	 16	 47	 31

[prospect 28]	 /viewTitleDetails.do?titreId=12443	 78	 94	 16

[prospect 2]	 /viewTitleDetails.do?titreId=112495	 234	 235	 1

[prospect 18]	 /viewTitleDetails.do?titreId=112228	 31	 2049
2018	
[prospect 29]	 /viewTitleDetails.do?titreId=21079	 0	 31	 31

[prospect 30]	 /viewTopTitles.do	 78	 1111	 1033	
[prospect 9]	 /viewTitleDetails.do?titreId=114931	 281	 1611
1330	
[prospect 16]	 /viewTitleDetails.do?titreId=125148	 250	 1485
1235	
[prospect 5]	 /viewTitleDetails.do?titreId=15489	 313	 2987
2674	
[prospect 4]	 /viewTitleDetails.do?titreId=114409	 360	 2049
1689