You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2006/06/09 12:58:51 UTC
[jira] Created: (AMQ-744) add a "vmstat" agent to the maven
activemq performance plugin so we can track the CPU, IO, RAM use on the
machine we are running the test on
add a "vmstat" agent to the maven activemq performance plugin so we can track the CPU, IO, RAM use on the machine we are running the test on
--------------------------------------------------------------------------------------------------------------------------------------------
Key: AMQ-744
URL: https://issues.apache.org/activemq/browse/AMQ-744
Project: ActiveMQ
Type: Improvement
Components: Performance Test
Reporter: james strachan
Assigned to: Adrian Co
Fix For: 4.1
When running a performance test it would be good to spawn off a process to run 'vmstat' which works on linux and solaris (the flags may differ etc) which outputs the amout of CPU use in system/user code and how much is idle together with RAM & IO numbers.
I'd be good to include in each snapshot whatever vmstat numbes we can find so we can see how the box was doing as the test was running.
e.g.
<sample index="5" ... >
<machine cpuSystem="50" cpuUser="25" cpuIdle="25" ram="44" io="1000"/>
</sample>
Note that we may wanna make a few different machine monitoring agents using different tools - so lets make it pluggable - let 'em write whatever XML they can - though we should be able to get linux and solaris done (linux only would be fine for now)
To call vmstat we'll need to do a System.exec() then parse the results etc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AMQ-744) add a "vmstat" agent to the maven
activemq performance plugin so we can track the CPU, IO, RAM use on the
machine we are running the test on
Posted by "Adrian Co (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-744?page=comments#action_36467 ]
Adrian Co commented on AMQ-744:
-------------------------------
Ive added the vmstat plugin and this is the result it writes:
<cpudata index='0' r='1' b='0' w='0' swpd='48952' free='6220' inact='33244' active='372324' si='0' so='0' bi='0' bo='0' in='106' cs='42882' us='82' sy='18' id='0' />
<cpudata index='1' r='0' b='0' w='0' swpd='48960' free='6216' inact='32988' active='372328' si='0' so='8' bi='0' bo='8' in='105' cs='36723' us='83' sy='17' id='0' />
<cpudata index='2' r='1' b='0' w='0' swpd='48960' free='6200' inact='32988' active='372328' si='0' so='0' bi='0' bo='0' in='114' cs='36160' us='78' sy='22' id='0' />
<cpudata index='3' r='0' b='0' w='0' swpd='48968' free='6216' inact='32732' active='372328' si='0' so='8' bi='0' bo='8' in='104' cs='42996' us='80' sy='20' id='0' />
This is generally straight from the vmstat command line. This is using vmstat 2.0.11.
Let me know which data is of interest and i can filter it out.
Also, what data should be included in the summary.
> add a "vmstat" agent to the maven activemq performance plugin so we can track the CPU, IO, RAM use on the machine we are running the test on
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-744
> URL: https://issues.apache.org/activemq/browse/AMQ-744
> Project: ActiveMQ
> Type: Improvement
> Components: Performance Test
> Reporter: james strachan
> Assignee: Adrian Co
> Fix For: 4.1
>
>
> When running a performance test it would be good to spawn off a process to run 'vmstat' which works on linux and solaris (the flags may differ etc) which outputs the amout of CPU use in system/user code and how much is idle together with RAM & IO numbers.
> I'd be good to include in each snapshot whatever vmstat numbes we can find so we can see how the box was doing as the test was running.
> e.g.
> <sample index="5" ... >
> <machine cpuSystem="50" cpuUser="25" cpuIdle="25" ram="44" io="1000"/>
> </sample>
> Note that we may wanna make a few different machine monitoring agents using different tools - so lets make it pluggable - let 'em write whatever XML they can - though we should be able to get linux and solaris done (linux only would be fine for now)
> To call vmstat we'll need to do a System.exec() then parse the results etc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AMQ-744) add a "vmstat" agent to the maven
activemq performance plugin so we can track the CPU, IO, RAM use on the
machine we are running the test on
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-744?page=comments#action_36552 ]
james strachan commented on AMQ-744:
------------------------------------
Looks great - thanks!
> add a "vmstat" agent to the maven activemq performance plugin so we can track the CPU, IO, RAM use on the machine we are running the test on
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-744
> URL: https://issues.apache.org/activemq/browse/AMQ-744
> Project: ActiveMQ
> Type: Improvement
> Components: Performance Test
> Reporter: james strachan
> Assignee: Adrian Co
> Fix For: 4.1
>
>
> When running a performance test it would be good to spawn off a process to run 'vmstat' which works on linux and solaris (the flags may differ etc) which outputs the amout of CPU use in system/user code and how much is idle together with RAM & IO numbers.
> I'd be good to include in each snapshot whatever vmstat numbes we can find so we can see how the box was doing as the test was running.
> e.g.
> <sample index="5" ... >
> <machine cpuSystem="50" cpuUser="25" cpuIdle="25" ram="44" io="1000"/>
> </sample>
> Note that we may wanna make a few different machine monitoring agents using different tools - so lets make it pluggable - let 'em write whatever XML they can - though we should be able to get linux and solaris done (linux only would be fine for now)
> To call vmstat we'll need to do a System.exec() then parse the results etc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (AMQ-744) add a "vmstat" agent to the maven
activemq performance plugin so we can track the CPU, IO, RAM use on the
machine we are running the test on
Posted by "Adrian Co (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-744?page=all ]
Adrian Co resolved AMQ-744:
---------------------------
Resolution: Fixed
Added summary for blocks received, blocks sent, context switch, user time, system time, idle time, wait time.
> add a "vmstat" agent to the maven activemq performance plugin so we can track the CPU, IO, RAM use on the machine we are running the test on
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-744
> URL: https://issues.apache.org/activemq/browse/AMQ-744
> Project: ActiveMQ
> Type: Improvement
> Components: Performance Test
> Reporter: james strachan
> Assignee: Adrian Co
> Fix For: 4.1
>
>
> When running a performance test it would be good to spawn off a process to run 'vmstat' which works on linux and solaris (the flags may differ etc) which outputs the amout of CPU use in system/user code and how much is idle together with RAM & IO numbers.
> I'd be good to include in each snapshot whatever vmstat numbes we can find so we can see how the box was doing as the test was running.
> e.g.
> <sample index="5" ... >
> <machine cpuSystem="50" cpuUser="25" cpuIdle="25" ram="44" io="1000"/>
> </sample>
> Note that we may wanna make a few different machine monitoring agents using different tools - so lets make it pluggable - let 'em write whatever XML they can - though we should be able to get linux and solaris done (linux only would be fine for now)
> To call vmstat we'll need to do a System.exec() then parse the results etc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira