Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WeqCb-0003mP-OX for pgsql-performance@arkaria.postgresql.org; Mon, 28 Apr 2014 18:22:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WeqCb-0002yf-8R for pgsql-performance@arkaria.postgresql.org; Mon, 28 Apr 2014 18:22:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WeqCZ-0002x8-GK for pgsql-performance@postgresql.org; Mon, 28 Apr 2014 18:22:51 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WeqCW-00019j-7F for pgsql-performance@postgresql.org; Mon, 28 Apr 2014 18:22:51 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 897E929A33; Mon, 28 Apr 2014 11:22:43 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 830D441249; Mon, 28 Apr 2014 11:22:38 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 0E06912000A; Mon, 28 Apr 2014 11:22:40 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Mon, 28 Apr 2014 11:22:39 -0700 (PDT) Message-ID: <535E9C6C.7090407@vmware.com> Date: Mon, 28 Apr 2014 21:22:36 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: Karl Denninger , pgsql-performance@postgresql.org Subject: Re: Revisiting disk layout on ZFS systems References: <535E781A.5030708@denninger.net> <535E9812.1090605@vmware.com> <535E98DA.7080702@denninger.net> In-Reply-To: <535E98DA.7080702@denninger.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.6 (-------) 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 04/28/2014 09:07 PM, Karl Denninger wrote: >> The WAL is fsync'd frequently. My guess is that that causes a lot of >> extra work to repeatedly recompress the same data, or something like >> that. > > It shouldn't as ZFS re-writes on change, and what's showing up is not > high I/O*count* but rather percentage-busy, which implies lots of head > movement (that is, lots of sub-allocation unit writes.) That sounds consistent frequent fsyncs. > Isn't WAL essentially sequential writes during normal operation? Yes, it's totally sequential. But it's fsync'd at every commit, which means a lot of small writes. - Heikki -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance