incubator-olio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akara Sucharitakul <Akara.Sucharita...@Sun.COM>
Subject [Fwd: Re: Parsing Olio runtimeStats]
Date Wed, 05 May 2010 21:20:51 GMT
Hmmm, the apache mailing list won't let my current email post a reply. 
Trying again.

-Akara

-------- Original Message --------
Subject: 	Re: Parsing Olio runtimeStats
Date: 	Wed, 05 May 2010 14:17:35 -0700
From: 	Akara Sucharitakul <akara.sucharitakul@oracle.com>
Reply-To: 	akara.sucharitakul@oracle.com
Organization: 	Oracle
To: 	olio-user@incubator.apache.org
CC: 	akara.sucharitakul <Akara.Sucharitakul@sun.com>, Shanti Subramanyam 
<shanti.subramanyam@gmail.com>
References: 
<s2s89c38a6f1005051212z7cb84f71o589fa41c7ca8704d@mail.gmail.com>



Let me try to address this below:

On 05/05/10 12:12, Vasileios Kontorinis wrote:
> Akara and Shanti hi,
>     I am parsing the runtimeStats from the driver.log file and I run 
> into this interesting issue.
> In the output for _steady state_ I get "-" for the response time when 
> there are no successful operations since the last time runtimeStats 
> were printed.
> This can happen for two reasons:
> 1) The interval for printing the runtimeStats is small  (in my case 
> 5secs) and some operations, especially the ones that take long and 
> have small frequency in matrix (add event, add user) just never happened.
Yes, if the number of successful operations in that period is 0, most 
calculations will be a divide by 0. That's why it is printing a '-'.
> 2) There are a bunch of requests going on and none of them is 
> successful. This can happen when there is no sufficient memory in the 
> machine. In that case there is lots of swapping, the cpu goes to 100% 
> utilization and all the operations time-out.
>
> Is there any small change I can do to distinguish between the two 
> cases? Maybe printing a small "t" when there are many requests timing 
> out, so that I can distinguish between the two cases? Any ideas are 
> welcome.
There is the error count in the runtime stats that tell you about error 
cases. This would also include timeouts. But the problem is not that 
simple. The real problem is not the operations timing out but rather the 
operations waiting that would time out. And  we cannot distinguish 
between these waiting operations and other operations waiting just with 
slow response time.
>
> One more thing. I use the variableLoad setting and in order  to know 
> how many users are simulated while the benchmark run, I  parse log.xml 
> looking for "Active threads: ". The problem is that log.xml is big 
> especially when many requests timeout. Is it easy to also log the 
> changes of active threads in the drive.log file ??

Please look into log configuration in $FABAN/config/logging.properties. 
You should be able to make certain loggers log to a particular file. I 
don't have the detail off  the  top of my head.

-Akara


Mime
View raw message