Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C8590200C73 for ; Wed, 10 May 2017 12:01:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C36F0160BB4; Wed, 10 May 2017 10:01:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 14F93160BA8 for ; Wed, 10 May 2017 12:01:31 +0200 (CEST) Received: (qmail 49121 invoked by uid 500); 10 May 2017 10:01:30 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 49105 invoked by uid 99); 10 May 2017 10:01:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2017 10:01:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0F1391AF9F9 for ; Wed, 10 May 2017 10:01:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.296 X-Spam-Level: X-Spam-Status: No, score=-0.296 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=imagine-orb-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id nKYofjr8MekU for ; Wed, 10 May 2017 10:01:28 +0000 (UTC) Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3D51A5F642 for ; Wed, 10 May 2017 10:01:28 +0000 (UTC) Received: by mail-wr0-f181.google.com with SMTP id l50so36331038wrc.3 for ; Wed, 10 May 2017 03:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imagine-orb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=f2I+y5oKR3p6Qyzb7ipatD/GkLgELCRayGJhYvrRkiQ=; b=DReqJZE/6HLASeNPVboZw1BQ8Aup7H6Jepp32DjRlAY2yo7mSMq08I85uxJ//+F8QQ zxDZ1/kmkv1rykmQ7wCHpaSBul9IZ03I1OXvIcxbjUQn6HYEe5W+ujboHXlRKCnonb30 ydyEVoz5liLdLSKRfR7L6R6mWi8m0WTsrTd5rnxl+Oi7yT7N8QJeruNCByC37ASBBzUT 5g9gHd0HKyDsISrR2sad9PLXi/WGuzNbvobh7766cuEbriIULxqyiQS4Q2/BeZGwa9vK rzwpVOt0AJ6+IL/fcK7SJLG6C3mr/xnSJr4JuWbXUNUONpfz4Q19C7U1LGqwBwpa4NPr 1vIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=f2I+y5oKR3p6Qyzb7ipatD/GkLgELCRayGJhYvrRkiQ=; b=kp1c12d7gCXB9ES6/EsQTxEsh/5ImbmX0o6SIVhIGo4IJFaLGBq7GihqyVBsb9lxxD g5wCFuer3LP5fvTr/c3t3DaUU4lLz4TGn2v5QSENcjVQ62I9dJOCzWQ1WW4VLl+g9scQ u6wDaYnoEua/iZ2/SXX9S6KK/OoIS1R5ISkw4DVjlVsYnelvhNn/jPsLxbF5wq+7kJEq APOeLVucmEtfwZuFy2qIDLKCBRGDJMXF1DjwW8VeGLVLnnpqJEfANUeEN3rZElLQ7L1n vIndu6OxEZZJ0aryg2GfYFRSYh2pXxz8tmLiTRcoi46QroMMHBxtyd0b2Sc4xDrZN8Ez Zhpw== X-Gm-Message-State: AODbwcCMRwQFAFB0ZhVznS9GOcI+1iwnQITSE/iyPmJ9HDPad8UmHa9S KSqIwnfkJDYOQG8PfV1w6FiMj2aqzA== X-Received: by 10.223.176.163 with SMTP id i32mr3313588wra.32.1494410487621; Wed, 10 May 2017 03:01:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.8.14 with HTTP; Wed, 10 May 2017 03:01:27 -0700 (PDT) From: Yuji Ito Date: Wed, 10 May 2017 19:01:27 +0900 Message-ID: Subject: Difference between yum and git To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1140ba3c437c05054f288e06 archived-at: Wed, 10 May 2017 10:01:33 -0000 --001a1140ba3c437c05054f288e06 Content-Type: text/plain; charset=UTF-8 Hi all, I'm trying a simple performance test. The test requests select operations (CL.SERIAL or CL.QUORUM) by increasing the number of threads. There is the difference of the performance between C* installed by yum and C* which I built by myself. What causes the difference? I use C* 2.2.8. One of them was installed by yum (# yum install cassandra22). Another was acquired by git from https://github.com/apache/ cassandra/tree/cassandra-2.2.8 and built it by myself. I changed cassandra.yaml to set `commitlog_sync: batch` and `commitlog_sync_batch_window_in_ms: 2`. My environment: - a cluster has 3 nodes - node: AWS EC2 m4.large with 200 IOPS EBS volume - Replication Factor: 3 - 10000 rows Result: ** yum ==== select (CL.SERIAL) ==== threads operations/sec 1 188 2 156 4 434 8 396 16 837 32 1176 64 2206 128 4115 256 7272 ** git ==== select (CL.SERIAL) ==== threads operations/sec 1 192 2 162 4 264 8 446 16 733 32 1114 64 1715 128 2776 256 3920 ** yum ==== select (CL.QUORUM) ==== threads operations/sec 1 434 2 909 4 1481 8 1904 16 2666 32 3106 64 3555 128 5000 256 9014 ** git ==== select (CL.QUORUM) ==== threads operations/sec 1 666 2 1538 4 2500 8 3333 16 4210 32 5333 64 6597 128 7356 256 8075 Thanks, Yuji --001a1140ba3c437c05054f288e06 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

I'm trying a simple perform= ance test.
The test requests select operations (CL.SERIAL or CL.Q= UORUM) by increasing the number of threads.
There is the differen= ce of the performance between C* installed by yum and C* which I built by m= yself.
What causes the difference?

I use= C* 2.2.8.
One of them was installed by yum (# yum install cassan= dra22).
Another was acquired by git from https://gith= ub.com/apache/cassandra/tree/cassandra-2.2.8 and built it by mysel= f.
I changed cassandra.yaml to set `commitlog_sync: batch` and `c= ommitlog_sync_batch_window_in_ms: 2`.

My envi= ronment:
- a cluster has 3 nodes
- node: AWS EC2 m4.lar= ge with 200 IOPS EBS volume
- Replication Factor: 3
- 10000 rows

Result:
** yum=
=3D=3D=3D=3D select (CL.SERIAL) =3D=3D=3D=3D
threads = =C2=A0operations/sec
1 =C2=A0 188
2 =C2=A0 156
4 =C2=A0 434
8 =C2=A0 396
16 =C2=A0837
32 = =C2=A01176
64 =C2=A02206
128 4115
256 7272

** git
=3D=3D=3D=3D select (CL.= SERIAL) =3D=3D=3D=3D
threads =C2=A0operations/sec
1 =C2= =A0 192
2 =C2=A0 162
4 =C2=A0 264
8 =C2=A0 44= 6
16 =C2=A0733
32 =C2=A01114
64 =C2=A01715
128 2776
256 3920

** yum
=3D=3D=3D=3D select (CL.QUORUM) =3D=3D=3D=3D
threads =C2= =A0operations/sec
1 =C2=A0 434
2 =C2=A0 909
4= =C2=A0 1481
8 =C2=A0 1904
16 =C2=A02666
32 = =C2=A03106
64 =C2=A03555
128 5000
256 9014

** git
=3D=3D=3D=3D select (CL.QUORU= M) =3D=3D=3D=3D
threads =C2=A0operations/sec
1 =C2=A0 6= 66
2 =C2=A0 1538
4 =C2=A0 2500
8 =C2=A0 3333<= /div>
16 =C2=A04210
32 =C2=A05333
64 =C2=A06597
128 7356
256 8075

Thanks,
Yuji

--001a1140ba3c437c05054f288e06--