Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 50F00781E for ; Mon, 26 Sep 2011 21:11:52 +0000 (UTC) Received: (qmail 45257 invoked by uid 500); 26 Sep 2011 21:11:50 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 45234 invoked by uid 500); 26 Sep 2011 21:11:50 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 45226 invoked by uid 99); 26 Sep 2011 21:11:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 21:11:50 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of JEREMIAH.JORDAN@morningstar.com designates 216.228.224.32 as permitted sender) Received: from [216.228.224.32] (HELO mx85.morningstar.com) (216.228.224.32) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 Sep 2011 21:11:42 +0000 Received: from [172.28.18.112] ([172.28.18.112]) by mx85.morningstar.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 26 Sep 2011 16:11:21 -0500 Message-ID: <4E80EA64.5070105@morningstar.com> Date: Mon, 26 Sep 2011 16:11:00 -0500 From: Jeremiah Jordan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Thrift CPU Usage References: <4BE0A38A-E7C9-4E55-B4DC-05CD70E316DB@gmail.com> In-Reply-To: <4BE0A38A-E7C9-4E55-B4DC-05CD70E316DB@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Sep 2011 21:11:21.0672 (UTC) FILETIME=[D7552C80:01CC7C90] X-Virus-Checked: Checked by ClamAV on apache.org Yes. All the stress tool does is flood data through the API, no real processing or anything happens. So thrift reading/writing data should be the majority of the CPU time... On 09/26/2011 08:32 AM, Baskar Duraikannu wrote: > Hello - > > I have been running read tests on Cassandra using "stress" tool. I have been noticing that thrift seems to be taking lot of CPU over 70% when I look at the "CPU samples" report. Is this normal? > > CPU usage seems to go down by 5 to 10% when I change the RPC from "sync" to "async". Is this normal? > > I am running Cassandra 0.8.4 on Cent OS 5.6 ( Kernel 2.6.18.238) and Oracle JVM. > > - > Thanks > Baskar Duraikannu