You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by mari_yaguchi <st...@yahoo.co.id> on 2013/03/06 04:15:45 UTC

Camel Route Transaction Per Second so low

Dear all, I use Camel Route to route some files with the target is located in
the same disk as the source folder. My Camel Route is :

<camelContext xmlns="http://camel.apache.org/schema/spring">
<route autoStartup="true">

<from uri="file:/root/Source236?noop=true"/>
<to uri="file:/root/Target100"/>
<log message="Routing 236 Start"/>

</route>
</camelContext>

The file size is 1kb and there is 500 files i want to route in the Source236
folder. The environment I use is Centos 6 32bit with 8GB RAM Intel Xeon
3,1GHz.

The *problem* is the routing performance is very slow. I just get about
15-20 transaction per second. How can I optimize the routing performance?
Thanks for your help :)



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Transaction-Per-Second-so-low-tp5728625.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Route Transaction Per Second so low

Posted by mari_yaguchi <st...@yahoo.co.id>.
I am sorry, but what do you mean about Box?? do you mean Virtual Box?



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Transaction-Per-Second-so-low-tp5728625p5728637.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Route Transaction Per Second so low

Posted by Willem jiang <wi...@gmail.com>.
That is strange, did you try to run the test on the other box ?


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Wednesday, March 6, 2013 at 2:50 PM, mari_yaguchi wrote:

> I am sorry, but i dont really get you, what do you mean about mount the
> directory from other box?
>  
> I route the files from folder Source236 to folder Target. That two folder
> are located in the same local disk.  
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Transaction-Per-Second-so-low-tp5728625p5728633.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).




Re: Camel Route Transaction Per Second so low

Posted by mari_yaguchi <st...@yahoo.co.id>.
I am sorry, but i dont really get you, what do you mean about mount the
directory from other box?

I route the files from folder Source236 to folder Target. That two folder
are located in the same local disk. 



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Transaction-Per-Second-so-low-tp5728625p5728633.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Route Transaction Per Second so low

Posted by Willem jiang <wi...@gmail.com>.
Are you using NFS or just mount the directory from other box ?


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Wednesday, March 6, 2013 at 1:35 PM, mari_yaguchi wrote:

> Thanks for the reply Willem, really appreciate it..
>  
> I run some test with fewer files, but it also generate the same tps, still
> about 15-20 tps.  
> I also check the log and camel seem don't complain about anything.
> Can you give me some suggestions about what factor can influence the tps
> here?maybe the configuration or disk or something?  
>  
> Thank you for your help.
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Transaction-Per-Second-so-low-tp5728625p5728628.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).




Re: Camel Route Transaction Per Second so low

Posted by mari_yaguchi <st...@yahoo.co.id>.
Thanks for the reply Willem, really appreciate it..

I run some test with fewer files, but it also generate the same tps, still
about 15-20 tps. 
I also check the log and camel seem don't complain about anything.
Can you give me some suggestions about what factor can influence the tps
here?maybe the configuration or disk or something? 

Thank you for your help.



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Transaction-Per-Second-so-low-tp5728625p5728628.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Route Transaction Per Second so low

Posted by Willem jiang <wi...@gmail.com>.
If you just copy the file from one place to other, I don't think it makes sense with such low TPS.

I'm not sure if it relates to there are lots of files in the Source directory.
Did you run some test with few files?
BTW, did you check the log file to see if camel complain anything?


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem




On Wednesday, March 6, 2013 at 11:15 AM, mari_yaguchi wrote:

> Dear all, I use Camel Route to route some files with the target is located in
> the same disk as the source folder. My Camel Route is :
>  
> <camelContext xmlns="http://camel.apache.org/schema/spring">
> <route autoStartup="true">
>  
> <from uri="file:/root/Source236?noop=true"/>
> <to uri="file:/root/Target100"/>
> <log message="Routing 236 Start"/>
>  
> </route>
> </camelContext>
>  
> The file size is 1kb and there is 500 files i want to route in the Source236
> folder. The environment I use is Centos 6 32bit with 8GB RAM Intel Xeon
> 3,1GHz.
>  
> The *problem* is the routing performance is very slow. I just get about
> 15-20 transaction per second. How can I optimize the routing performance?
> Thanks for your help :)
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Transaction-Per-Second-so-low-tp5728625.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).




Re: Camel Route Transaction Per Second so low

Posted by mari_yaguchi <st...@yahoo.co.id>.
I am sorry Claus for the inconvenience. Thank you for your help :)



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Transaction-Per-Second-so-low-tp5728625p5728642.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Route Transaction Per Second so low

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

This user also posted the same question at this forum
http://fusesource.com/forums/thread.jspa?threadID=4673&tstart=0

Just mind that this is being debated multiple places.

@Steve, its good curtsy to mention that you have posted the same
question at other places.


On Wed, Mar 6, 2013 at 4:15 AM, mari_yaguchi <st...@yahoo.co.id> wrote:
> Dear all, I use Camel Route to route some files with the target is located in
> the same disk as the source folder. My Camel Route is :
>
> <camelContext xmlns="http://camel.apache.org/schema/spring">
> <route autoStartup="true">
>
> <from uri="file:/root/Source236?noop=true"/>
> <to uri="file:/root/Target100"/>
> <log message="Routing 236 Start"/>
>
> </route>
> </camelContext>
>
> The file size is 1kb and there is 500 files i want to route in the Source236
> folder. The environment I use is Centos 6 32bit with 8GB RAM Intel Xeon
> 3,1GHz.
>
> The *problem* is the routing performance is very slow. I just get about
> 15-20 transaction per second. How can I optimize the routing performance?
> Thanks for your help :)
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Transaction-Per-Second-so-low-tp5728625.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen