You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mkeenan <ke...@p2sol.com> on 2009/02/03 00:23:07 UTC

Heavy Disk Write?

I am using ActiveMQ 5.2 (also tried 5.3) on Windows XP with the default
out-of-the-box configuration.

I have a small test program with one producer and one consumer.  The
producer puts 500 text messages on a queue with a tiny payload (~32 bytes). 
The consumer (a message listener) reads the message and increments a
counter.

All three processes are running locally.

Regardless of persistence setting, the hard disk is hammered non-stop with
read/write requests while the test is running.  I am using Process Monitor
from the sysinternals suite and it shows that ActiveMQ is constantly reading
and writing under the data\journal and data\kr-store folders.

Is this normal?

I noticed it because I recently got a new machine (with dual 15k SAS drives
in a RAID stripe) and they go NUTS when I'm running a local broker and
executing these tests.
-- 
View this message in context: http://www.nabble.com/Heavy-Disk-Write--tp21800869p21800869.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Heavy Disk Write?

Posted by mkeenan <ke...@p2sol.com>.

mkeenan wrote:
> 
> Regardless of persistence setting, the hard disk is hammered non-stop with
> read/write requests while the 

Apologies for responding to myself.

I am using NMS 1.1 with Spring.NET 1.2.1 and it looks like I did not
understand the behavior of the default message handlers (in Spring).
Although the messages were NON-PERSISTENT at the first queue in my chain,
after that point they were PERSISTENT, which explains the disk IO usage.

-- 
View this message in context: http://www.nabble.com/Heavy-Disk-Write--tp21800869p21801150.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.