RE: 0.8.1 cpu usage

2014-04-30 Thread Libo Yu
Please forget the cause i found in my previous email. it is not true. i will keep investigating this issue. From: yu_l...@hotmail.com To: users@kafka.apache.org Subject: 0.8.1 cpu usage Date: Wed, 30 Apr 2014 11:10:07 -0400 Hi team, We have noticed that the cpu usage of 0.8.1 has more than

Re: 0.8.1 cpu usage

2014-04-30 Thread Jay Kreps
Hm, this seems counter-intuitive. Running 3x per second vs 2x per second should not really register on a modern CPU, right? Can you try this and see if you notice any difference? On Wed, Apr 30, 2014 at 8:10 AM, Libo Yu wrote: > Hi team, > > We have noticed that the cpu usage of 0.8.1 has more

0.8.1 cpu usage

2014-04-30 Thread Libo Yu
Hi team, We have noticed that the cpu usage of 0.8.1 has more than doubled compared to beta1. I captured a thread dump and compared source code. I believe the higher cpu usage is introduced by the change of timeout value used by selector.select() in SocketServer.scala.In beta1 it is 500ms. In 0