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 41454200CE5 for ; Fri, 7 Jul 2017 19:08:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3E461169910; Fri, 7 Jul 2017 17:08:05 +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 8290C169915 for ; Fri, 7 Jul 2017 19:08:04 +0200 (CEST) Received: (qmail 82385 invoked by uid 500); 7 Jul 2017 17:08:03 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 82364 invoked by uid 99); 7 Jul 2017 17:08:03 -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; Fri, 07 Jul 2017 17:08:03 +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 1B29EC0264 for ; Fri, 7 Jul 2017 17:08:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id VZvADrHQlFRL for ; Fri, 7 Jul 2017 17:08:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 3542D5FDCB for ; Fri, 7 Jul 2017 17:08:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B1EAAE0D34 for ; Fri, 7 Jul 2017 17:08:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1C4F224698 for ; Fri, 7 Jul 2017 17:08:00 +0000 (UTC) Date: Fri, 7 Jul 2017 17:08:00 +0000 (UTC) From: "Jay Zhuang (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CASSANDRA-13078) Increase unittest test.runners to speed up the test MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 07 Jul 2017 17:08:05 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay Zhuang reassigned CASSANDRA-13078: -------------------------------------- Assignee: Jay Zhuang > Increase unittest test.runners to speed up the test > --------------------------------------------------- > > Key: CASSANDRA-13078 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13078 > Project: Cassandra > Issue Type: Improvement > Components: Testing > Reporter: Jay Zhuang > Assignee: Jay Zhuang > Priority: Minor > Attachments: unittest.png, unittest_time.png > > > The unittest takes very long time to run (about 40 minutes on a macbook). By overriding the [{{test.runners}}|https://github.com/apache/cassandra/blob/cassandra-3.0/build.xml#L62], it could speed up the test, especially on powerful servers. Currently, it's set to 1 by default. I would like to propose to set the {{test.runners}} by the [number of CPUs dynamically|http://www.iliachemodanov.ru/en/blog-en/15-tools/ant/48-get-number-of-processors-in-ant-en]. For example, {{runners = num_cores / 4}}. What do you guys think? -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org For additional commands, e-mail: commits-help@cassandra.apache.org