CPU usage of 2.0.0-M2 build

View: New views
3 Messages — Rating Filter:   Alert me  

CPU usage of 2.0.0-M2 build

by dan.kirkpatrick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm not sure if this is a known issue, but v2.0.0-M2 seems to be a resource hog when it is idle.  If I run only a JMX agent (i.e. no SEDA services or anything...just the JMX agent), cpu usage hovers around 0%.  Add in *any* UMO, and I get 99+% cpu usage across both cores.  A similar configuration under v1.4.3 hovers around 0%, as expected.  I know this is an early release, but I wanted to make sure this issue was known.  This is running under MacOS X 10.4 and jdk1.5, with the stock M2 milestone release.

Here is my 2.0.0-M2 configuration:

<mule:mule>

<stdio:connector name="SystemStreamConnector" promptMessage="Please enter a string: " messageDelayTime="1000"/>
  
<mule:model name="helloWorld">
<mule:service name="HelloWorldUMO">
<mule:component class="org.mule.components.simple.StaticComponent" />
<mule:inbound-router>
<mule:inbound-endpoint address="stdio://System.in"/>
</mule:inbound-router>
<mule:outbound-router>
<mule:outbound-pass-through-router>
<mule:outbound-endpoint address="stdio://System.out"/>
</mule:outbound-pass-through-router>
</mule:outbound-router>
</mule:service>
</mule:model>
  </mule:mule>

Here's the configuration that works fine under v1.4.3:

<mule-configuration id="HelloWorld" version=" 1.0">    
  <connector name="SystemStreamConnector" className="org.mule.providers.stream.SystemStreamConnector">
  <properties>
  <property name="promptMessage" value="Please enter a string: "/>
  <property name="messageDelayTime" value="1000"/>
  </properties>
  </connector>
    
  <model name="helloWorld">
  <mule-descriptor name="HelloWorldUMO" implementation=" org.mule.components.simple.StaticComponent">
  <inbound-router>
  <endpoint address="stream://System.in"/>
  </inbound-router>
  <outbound-router>
  <router className="org.mule.routing.outbound.OutboundPassThroughRouter">
  <endpoint address="stream://System.out"/>
  </router>
  </outbound-router>
<properties>
<property name="data" value="Hello world!"/>
</properties>
  </mule-descriptor>
  </model>
</mule-configuration>




Re: CPU usage of 2.0.0-M2 build

by Andrew Perepelytsya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dan,

We're about to file a JIRA with minimal config to reproduce it. Thanks for the report. I'll post on the thread when I have a JIRA #.

Andrew

On 10/16/07, Dan Kirkpatrick <dan.kirkpatrick@...> wrote:

I'm not sure if this is a known issue, but v2.0.0-M2 seems to be a resource hog when it is idle.  If I run only a JMX agent (i.e. no SEDA services or anything...just the JMX agent), cpu usage hovers around 0%.  Add in *any* UMO, and I get 99+% cpu usage across both cores.  A similar configuration under v1.4.3 hovers around 0%, as expected.  I know this is an early release, but I wanted to make sure this issue was known.  This is running under MacOS X 10.4 and jdk1.5, with the stock M2 milestone release.

Here is my 2.0.0-M2 configuration:

<mule:mule>

<stdio:connector name="SystemStreamConnector" promptMessage="Please enter a string: " messageDelayTime="1000"/>
  
<mule:model name="helloWorld">
<mule:service name="HelloWorldUMO">
<mule:component class="org.mule.components.simple.StaticComponent" />
<mule:inbound-router>
<mule:inbound-endpoint address="stdio://System.in"/>
</mule:inbound-router>
<mule:outbound-router>
<mule:outbound-pass-through-router>
<mule:outbound-endpoint address="stdio://System.out"/>
</mule:outbound-pass-through-router>
</mule:outbound-router>
</mule:service>
</mule:model>
  </mule:mule>

Here's the configuration that works fine under v1.4.3:

<mule-configuration id="HelloWorld" version=" 1.0">    
  <connector name="SystemStreamConnector" className="org.mule.providers.stream.SystemStreamConnector">
  <properties>
  <property name="promptMessage" value="Please enter a string: "/>
  <property name="messageDelayTime" value="1000"/>
  </properties>
  </connector>
    
  <model name="helloWorld">
  <mule-descriptor name="HelloWorldUMO" implementation=" org.mule.components.simple.StaticComponent">
  <inbound-router>
  <endpoint address="stream://System.in"/>
  </inbound-router>
  <outbound-router>
  <router className="org.mule.routing.outbound.OutboundPassThroughRouter">
  <endpoint address="stream://System.out"/>
  </router>
  </outbound-router>
<properties>
<property name="data" value="Hello world!"/>
</properties>
  </mule-descriptor>
  </model>
</mule-configuration>





Re: CPU usage of 2.0.0-M2 build

by Anatoli Kuzmin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have created the jira issue
http://mule.mulesource.org/jira/browse/MULE-2566

On 10/16/07, Dan Kirkpatrick <dan.kirkpatrick@...> wrote:

I'm not sure if this is a known issue, but v2.0.0-M2 seems to be a resource hog when it is idle.  If I run only a JMX agent (i.e. no SEDA services or anything...just the JMX agent), cpu usage hovers around 0%.  Add in *any* UMO, and I get 99+% cpu usage across both cores.  A similar configuration under v1.4.3 hovers around 0%, as expected.  I know this is an early release, but I wanted to make sure this issue was known.  This is running under MacOS X 10.4 and jdk1.5, with the stock M2 milestone release.

Here is my 2.0.0-M2 configuration:

<mule:mule>

<stdio:connector name="SystemStreamConnector" promptMessage="Please enter a string: " messageDelayTime="1000"/>
  
<mule:model name="helloWorld">
<mule:service name="HelloWorldUMO">
<mule:component class="org.mule.components.simple.StaticComponent" />
<mule:inbound-router>
<mule:inbound-endpoint address="stdio://System.in"/>
</mule:inbound-router>
<mule:outbound-router>
<mule:outbound-pass-through-router>
<mule:outbound-endpoint address="stdio://System.out"/>
</mule:outbound-pass-through-router>
</mule:outbound-router>
</mule:service>
</mule:model>
  </mule:mule>

Here's the configuration that works fine under v1.4.3:

<mule-configuration id="HelloWorld" version=" 1.0">    
  <connector name="SystemStreamConnector" className="org.mule.providers.stream.SystemStreamConnector">
  <properties>
  <property name="promptMessage" value="Please enter a string: "/>
  <property name="messageDelayTime" value="1000"/>
  </properties>
  </connector>
    
  <model name="helloWorld">
  <mule-descriptor name="HelloWorldUMO" implementation=" org.mule.components.simple.StaticComponent">
  <inbound-router>
  <endpoint address="stream://System.in"/>
  </inbound-router>
  <outbound-router>
  <router className="org.mule.routing.outbound.OutboundPassThroughRouter">
  <endpoint address="stream://System.out"/>
  </router>
  </outbound-router>
<properties>
<property name="data" value="Hello world!"/>
</properties>
  </mule-descriptor>
  </model>
</mule-configuration>






--
Best regards,
Anatoli Kuzmin