Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X2Oqh-0007Ff-82 for pgsql-performance@arkaria.postgresql.org; Wed, 02 Jul 2014 18:01:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X2Oqg-00065b-Ny for pgsql-performance@arkaria.postgresql.org; Wed, 02 Jul 2014 18:01:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X2Oqg-00065P-00 for pgsql-performance@postgresql.org; Wed, 02 Jul 2014 18:01:38 +0000 Received: from nm2-vm1.bullet.mail.ne1.yahoo.com ([98.138.91.33]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1X2Oqb-0002TL-Rl for pgsql-performance@postgresql.org; Wed, 02 Jul 2014 18:01:36 +0000 Received: from [98.138.100.118] by nm2.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jul 2014 18:01:29 -0000 Received: from [98.138.89.199] by tm109.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jul 2014 18:01:29 -0000 Received: from [127.0.0.1] by omp1057.mail.ne1.yahoo.com with NNFMP; 02 Jul 2014 18:01:29 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 712264.56402.bm@omp1057.mail.ne1.yahoo.com Received: (qmail 44885 invoked by uid 60001); 2 Jul 2014 18:01:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1404324089; bh=S7lJkO1iiIbkWih0BnM/ov+sMgK8akTbJ65b6zPMZWU=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ksQ+ASA+bo4zg4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hbnRlZAp0byBwb2ludCBvdXQgdGhhdCB0aGUgZGlmZmVyZW5jZSBpbiBwZXJmb3JtYW5jZSB5b3UgY2l0ZSBhYm92ZSBpcwphYm91dCB0aGUgc2FtZSBhcyB0aGUgZGlmZmVyZW5jZSBiZXR3ZWVuIGFjY2Vzc2luZyBkYXRhIG9uIHRoZQpvdXQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.191.1 References: Message-ID: <1404324089.35659.YahooMailNeo@web122301.mail.ne1.yahoo.com> Date: Wed, 2 Jul 2014 11:01:29 -0700 From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: fragmention issue with ext4: e4defrag? To: Marc Mamin , "pgsql-performance@postgresql.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.0 (--) 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 Marc Mamin wrote: > I/O througput decreased from 300MB/s to 160. I don't have any experience with ext4 defrag tools, but just wanted to point out that the difference in performance you cite above is about the same as the difference between accessing data on the outer (and usually first-filled) tracks on a disk drive and the inner tracks.=A0 One of the reasons performance falls as a drive fills is that the OS is compelled to use slower and slower portions of the disk.=A0 Part of the benefit you are seeing might be due to freeing "fast" tracks and data being relocated there. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance