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 D1E83200BD0 for ; Wed, 30 Nov 2016 19:50:35 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D08A7160B13; Wed, 30 Nov 2016 18:50:35 +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 223AD160B06 for ; Wed, 30 Nov 2016 19:50:34 +0100 (CET) Received: (qmail 8993 invoked by uid 500); 30 Nov 2016 18:50:34 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 8972 invoked by uid 99); 30 Nov 2016 18:50:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2016 18:50:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 612DF1800EC for ; Wed, 30 Nov 2016 18:50:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.13 X-Spam-Level: ** X-Spam-Status: No, score=2.13 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id cE5tuMmHtQFP for ; Wed, 30 Nov 2016 18:50:31 +0000 (UTC) Received: from mail-yb0-f181.google.com (mail-yb0-f181.google.com [209.85.213.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 506595F1F0 for ; Wed, 30 Nov 2016 18:50:31 +0000 (UTC) Received: by mail-yb0-f181.google.com with SMTP id v132so19628156yba.0 for ; Wed, 30 Nov 2016 10:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=vMvFq/oH/t2XRwtiquRTL31Q9SPaWKdIQM7q9EPhKEU=; b=IpROqNDgPiOnpkOIe3Mn626dZz8JSwhHPlYd4B5hktYvvrgjo3JalBmleIjfXtAr7g RgnPyyyO6IHpdPviQzlzR1IN3kC0Bwo0pRfkOqd9wiPVOVMoF0sxOQIBVEEtJ4f6W9B+ yM0pIIS1hZFFmlFGCKNTjDjxydPyjjKmvgoeriaSoBdP4z6dfnMiDOa4LqFC9NXTHlxj kmNUfJAFwDFErII5BDHTNSOh8bK6DND8gvuB6dCgcSN/HxURdwUXNbrYt9W+kKbZncpx TDcI1r16STdyLyO/hzx1oZXPC81HnTDPNCcEs08M5mLQdOBOfDK2zCufo0AYCKM1yaoF cn+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vMvFq/oH/t2XRwtiquRTL31Q9SPaWKdIQM7q9EPhKEU=; b=H3MrxoQoCKfA4SIgYjThABoIObERfxqeutTydl2tXwjI9+7Bkzjp5MYnuWMNTi3G6/ ES3OP6sJeCT5MqU0bcJ/3AhDyIrQtPUFrRttLpF8dpczQmu/h0gj96ecwDEjNoN4kdfX /Pj3iWWvR3lmlFCYl6hR2tHbtCQnu1cS7aIc8evmAeKGOTGwZThaa0eTpZvlu4pSoH9X qX9dpXHFE6afb0W5mrowjy7XC0Z+8zH7675fkm53uSfr4B++Xp6TpalCRYX5/IP0s8xY t6iK10rJNrOplC0A1y+FM88LyXRgY+UvgmltA1SOUxtc9NM28uwyHLAzSZ9vEwOIvgkg gcZA== X-Gm-Message-State: AKaTC01neYXUXaXH8ja5oXQ9dF3Tymls3O6Xb+I0kOoER2mHEQ2264Vt0xuaQn8vSfAy6r+VgQTPuLjinAHSsA== X-Received: by 10.37.248.14 with SMTP id u14mr9909002ybd.98.1480531830778; Wed, 30 Nov 2016 10:50:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.175.5 with HTTP; Wed, 30 Nov 2016 10:50:30 -0800 (PST) From: DA Date: Wed, 30 Nov 2016 19:50:30 +0100 Message-ID: Subject: Re: view/index rebuild in v2.0 To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=f403045db942da3c2f0542892d84 archived-at: Wed, 30 Nov 2016 18:50:36 -0000 --f403045db942da3c2f0542892d84 Content-Type: text/plain; charset=UTF-8 Hi, thanks Peter, but I was thinking of a measures suitable for production usage. Meanwhile, few observations: - the 8 respective indexer tasks are not progressing evenly, some are at 50%, some at 90% - I noticed the system usage fell by almost 50%, both CPU and disk activity. So the system is now even more under-utilized, quite strange. When it's completed, I will try the same excercise on an SSD disk. Cheers, Daniel On Wed, Nov 30, 2016 at 10:03 AM Peyton Vaughn wrote: > Hi Daniel, > Do you have 'delayed_commits' set to true? It's now defaulted to false in > couch 2.0, but it really causes a pretty hefty performance hit when > disabled. > > Peyton > > On Wed, Nov 30, 2016 at 5:57 AM, Daniel Adam > wrote: > > > Hi, > > I'm running an index/view re-generation with 10M documents, 10views, > having > > 1 node and 8 shards on it. > > It seems it will take more than 1 day. What are limiting factors for > that? > > Looking at perfromance monitoring tools (Task Manager and Process > > Explorer), it seems neither I/O or CPU is saturated: > > CPU (8 cores) each core taking <30% its capacity > > I/O reads ~ 8MB/s > > I/O writes ~ 1.5MB/s > > > > Windows 7 64bit > > 16GB memory > > Intel i7-4800 @ 2.7GHz > > HDD Seagate ST500LM0 > > > > Any explanation why the system limits are not being saturated? Seems to > me > > the bottleneck is I/O, but the disk is capable of 100MB/s throughput in > > sequential reads/writes. If the limiting factor is indeed I/O, I assume > > changing number of shards would not gain much, possibly even 1 shard > would > > provide a similar speed. > > > > Any way to improve the speed of index rebuild? > > > > Thanks, > > Daniel > > > --f403045db942da3c2f0542892d84--