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 1E9D8200BF6 for ; Tue, 10 Jan 2017 18:57:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1D374160B3D; Tue, 10 Jan 2017 17:57:51 +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 414E3160B2C for ; Tue, 10 Jan 2017 18:57:50 +0100 (CET) Received: (qmail 10866 invoked by uid 500); 10 Jan 2017 17:57:48 -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 10856 invoked by uid 99); 10 Jan 2017 17:57:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2017 17:57:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4EC33C1A51 for ; Tue, 10 Jan 2017 17:57:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 8i8mNsxY7DxI for ; Tue, 10 Jan 2017 17:57:47 +0000 (UTC) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0116.outbound.protection.outlook.com [104.47.41.116]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 47A425F365 for ; Tue, 10 Jan 2017 17:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gSBgPrlGs9iy8Jgrsu7mVSvyrHjb61KZ4YGGNcxCt7g=; b=T4osMbOGXgVTP4icbz2zKBS8y0zo0t/DFHxJt60sIKTxw56/Urqz1rN+YeQ9yazRkuAJKL3YFE7pm8bJLv40jzdS8yRxejjJiiwsay5B4gefaeVCqbMfkKEDglwsoK783Nzk0nDv/b7IRNOmhLgNzUQ5zKPxOd+0ho9u+DHxd1I= Received: from CY1PR00MB0124.namprd00.prod.outlook.com (10.167.9.155) by CY1PR00MB0156.namprd00.prod.outlook.com (10.167.17.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.868.0; Tue, 10 Jan 2017 17:57:38 +0000 Received: from CY1PR00MB0124.namprd00.prod.outlook.com ([fe80::4127:34c3:c55e:c1cb]) by CY1PR00MB0124.namprd00.prod.outlook.com ([fe80::4127:34c3:c55e:c1cb%17]) with mapi id 15.01.0868.000; Tue, 10 Jan 2017 17:57:38 +0000 From: Anubhav Kale To: "user@cassandra.apache.org" CC: Sean Usher Subject: RemoveNode CPU Spike Question Thread-Topic: RemoveNode CPU Spike Question Thread-Index: AdJrawShXAXCMTC5RMCBa9RE/z4HxA== Date: Tue, 10 Jan 2017 17:57:37 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anubhav.Kale@microsoft.com; x-originating-ip: [2001:4898:80e8::67d] x-ms-office365-filtering-correlation-id: 4b037466-3540-4c48-374e-08d439822a0d x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY1PR00MB0156; x-microsoft-exchange-diagnostics: 1;CY1PR00MB0156;7:eHPD3psJwLZko8RiyZwMX0b0B59EMMSQ17fVD0AE7iew3zHWh645eqCLnkdTvwWmeMXWAQEF8tPpo8qNcVTPG5SRpoBIC99HvoehEMkCI1UlhLD4/6iZ4AgWVRZPF+9nWcLWLEBQUZxNwPIWkY5Z3gWMjDlhfSof/u56JBDR3kWiy8F/d5BJ7HMXTQIZyUqAT2nNja5K7mfH6Zo6d8ECOUa9u4GPrJIq6vWe6JcEcnuEsdzMf7KZic2MMKZSH3gNb2KETpHgZ7yJFPykxan3Wn+2ckQpkBOEZ3WmaztWhDzdj9aU0djP6wXas/BfSJtNWTeGv0FkDfxoaBiKvHnzZG34UZXVgB0i8rcfldxB64MPkLUCy3XlS7Vby4FqHL69EiUfmSAJJiO9IOLubq0qhqBO6/SnjY6IYrCM27QrF/qWiOvhm53Fi6rRNo67ZVdxECAgH6j4NqkzISzXOMy8T8xtrUrd2IKOspcDxKJV1Js= x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(20161123560025)(20161123558021)(20161123555025)(20161123562025)(20161123564025)(6047074)(6072148);SRVR:CY1PR00MB0156;BCL:0;PCL:0;RULEID:;SRVR:CY1PR00MB0156; x-forefront-prvs: 01834E39B7 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916002)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(189002)(199003)(2900100001)(68736007)(86612001)(5660300001)(7696004)(4001430100002)(6436002)(101416001)(7906003)(7736002)(102836003)(50986999)(92566002)(6306002)(54896002)(54356999)(6116002)(790700001)(2906002)(4326007)(74316002)(97736004)(5640700003)(38730400001)(1730700003)(33656002)(450100001)(10290500002)(5005710100001)(3480700004)(2501003)(5250100002)(81166006)(236005)(9686003)(8936002)(606005)(8676002)(10090500001)(6506006)(81156014)(9326002)(106356001)(107886002)(55016002)(3280700002)(110136003)(99286003)(6916009)(105586002)(3660700001)(2351001)(8990500004)(189998001)(86362001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR00MB0156;H:CY1PR00MB0124.namprd00.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_CY1PR00MB0124BD90A98D38841141633D8B670CY1PR00MB0124namp_" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2017 17:57:37.8752 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR00MB0156 archived-at: Tue, 10 Jan 2017 17:57:51 -0000 --_000_CY1PR00MB0124BD90A98D38841141633D8B670CY1PR00MB0124namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, Recently, I started noticing an interesting pattern. When I execute "remove= node", a subset of the nodes that now own the tokens result it in a CPU spi= ke / disk activity, and sometimes SSTables on those nodes shoot up. After looking through the code, it appears to me that below function forces= data to be streamed from some of the new nodes to the node from where "rem= ovenode" is kicked in. Is my understanding correct ? https://github.com/apache/cassandra/blob/d384e781d6f7c028dbe88cfe9dd3e966e7= 2cd046/src/java/org/apache/cassandra/service/StorageService.java#L2548 Our nodes don't run very hot, but it appears this streaming causes them to = have issues. Have other people seen this ? Thanks ! --_000_CY1PR00MB0124BD90A98D38841141633D8B670CY1PR00MB0124namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

Recently, I started noticing an interesting pattern.= When I execute “removenode”, a subset of the nodes that now ow= n the tokens result it in a CPU spike / disk activity, and sometimes SSTabl= es on those nodes shoot up.

 

After looking through the code, it appears to me tha= t below function forces data to be streamed from some of the new nodes to t= he node from where “removenode” is kicked in. Is my understandi= ng correct ?

 

https://github.com/apache/cassandra/blob/d38= 4e781d6f7c028dbe88cfe9dd3e966e72cd046/src/java/org/apache/cassandra/service= /StorageService.java#L2548

 

Our nodes don’t run very hot, but it appears t= his streaming causes them to have issues. Have other people seen this ?

 

Thanks !

--_000_CY1PR00MB0124BD90A98D38841141633D8B670CY1PR00MB0124namp_--