Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXW6D-0006MV-VP for pgsql-performance@arkaria.postgresql.org; Tue, 18 Jul 2017 17:15:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dXW6D-000385-IC for pgsql-performance@arkaria.postgresql.org; Tue, 18 Jul 2017 17:15:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dXW4R-0007xh-NR for pgsql-performance@postgresql.org; Tue, 18 Jul 2017 17:14:04 +0000 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dXW4O-0006p7-S5 for pgsql-performance@postgresql.org; Tue, 18 Jul 2017 17:14:02 +0000 Received: by mail-io0-x22f.google.com with SMTP id k71so17003428iod.2 for ; Tue, 18 Jul 2017 10:14:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DJ6cREnLia4rkY+6DDZ0b+k9JOYbBWWpIOnhprRGzT0=; b=jjO7VB0c/HJkdqRQLMHo222MlhaTanqSw8ZvBf5WByqUBK4ghUWqmQPw5TCq8RvQJh XRfTF0hm5OckyZRQ6uTxJ9t7y8/rKyYPRk4eZJywUMadW4F+zcYFITKU5v9mcvzPtGQP yHCOPUQ0fAnbqnl3kTb6KWL5hpWqGs0ShwB6FG2QYqLL55ezmuYE4CT2Ef3oXXbb0jQj zYAwdJLvCVLJB/teOBuKV0voO1lPv9LfvysSmaAZsHUouuzsxcUrlPlWiAxIogJaUqQI 2rmFwTM6zqxsVA8in/AGD55hRxhJrcmZ0aG4mmUDpy26gPGpPDoqCGt9/ovssVLHF/yd afjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DJ6cREnLia4rkY+6DDZ0b+k9JOYbBWWpIOnhprRGzT0=; b=cr4StlHaOSFpJ2pFbRyxfuT8fbhXOYYqEH8FahBVM3zM5kqCdH18VidyD6qzkN+J5i RS2YuDfwg3lqMvYxl6W/VwNUfQ/EwCoF9EAHdTewms6gTct3bjK+MT8rIIXDA3tZyc4H oI0WbKhHMCPR/cGjIqScngGXTVMaiDEMYy+SgnavsVDN621BOPDGfuaV0nej70J0/Kpc s4HOWO3lxy1eDL0SApkjhLMWnDJoZ+Vvi/S0Usc5r0NFrqG0Lccu1MzwyAU9v/sQBicH 6d/HGROjuHM/M2fH2hJ3rWkBMTv4wtLeB9vSzf3FGLoB4/k7caIpstreyD9pmiIYF8j6 X0Tg== X-Gm-Message-State: AIVw113scVQS+hNwlHvaDVP4dmHgkdXe+oCj1UxMknqQFaCd9eQuyTQP heXkykvvynO/DwONuI64tu+FGu755g== X-Received: by 10.107.161.203 with SMTP id k194mr2570551ioe.189.1500398040101; Tue, 18 Jul 2017 10:14:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.40.136 with HTTP; Tue, 18 Jul 2017 10:13:58 -0700 (PDT) In-Reply-To: References: From: Claudio Freire Date: Tue, 18 Jul 2017 14:13:58 -0300 Message-ID: Subject: Re: Very poor read performance, query independent To: Charles Nadeau Cc: Igor Neyman , Jeff Janes , "pgsql-performance@postgresql.org" Content-Type: text/plain; charset="UTF-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On Tue, Jul 18, 2017 at 1:01 PM, Claudio Freire wrote: > On Tue, Jul 18, 2017 at 6:20 AM, Charles Nadeau > wrote: >> Claudio, >> >> At one moment >> during the query, there is a write storm to the swap drive (a bit like this >> case: >> https://www.postgresql.org/message-id/AANLkTi%3Diw4fC2RgTxhw0aGpyXANhOT%3DXBnjLU1_v6PdA%40mail.gmail.com). >> I can hardly explain it as there is plenty of memory on this server. > > That sounds a lot like NUMA zone_reclaim issues: > > https://www.postgresql.org/message-id/500616CB.3070408@2ndQuadrant.com I realize you have zone_reclaim_mode set to 0. Still, the symptoms are eerily similar. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance