Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TLxfy-0002Zu-8v for pgsql-performance@postgresql.org; Wed, 10 Oct 2012 14:54:22 +0000 Received: from smtp2.peak6.com ([38.98.137.9]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TLxfw-0007JA-U0 for pgsql-performance@postgresql.org; Wed, 10 Oct 2012 14:54:21 +0000 X-AuditID: 0a02cb1e-b7f4d6d0000008be-b1-50758b1f32d4 Message-ID: <50758C1B.7010805@optionshouse.com> Date: Wed, 10 Oct 2012 09:54:19 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: =?UTF-8?B?U3RyYWhpbmphIEt1c3R1ZGnEhw==?= CC: Subject: Re: shared_buffers/effective_cache_size on 96GB server References: <507573A4.1090605@optionshouse.com> <50758857.6030008@optionshouse.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Length: 961 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.10.201.64] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphleLIzCtJLcpLzFFi42LhSuEV01XoLg0w+PCSzeL6zHPMFoceXGBz YPK4u0LW48K+aewBTFENjDaJeXn5JYklqQopqcXJtkr+BSWZ+XnFHvmlxakKLpnFyTmJmbmp RUoKmSm2SuZKCgU5icmpual5JbZKiQUFqXkpSnZcChjABqgsM08hNS85PyUzL91WyTPYX9fC wtRS11DJLh4ZJHSyZEz6+IuxYDVbxZ9T+xkbGBtYuxg5OSQETCS+XZvJBmGLSVy4tx7M5hXQ l1hx8AEziM0ioCqx/P9DsHo2AV2JSf0rwGqEBFQk+s7eYAKx+QWEJfZ9aAKrFxUIk3j36ygr xBxBiZMzn7CA2CICrhKPH/WD9TILqEnMfTgJrEZYwFNi5aGvUDMXMUn8muYKYnMKBEp0nLrO BFFvIbH4zUF2CFteonnrbGaIelWJFc0Toe5XkPh/5R3TBEahWUhWz0LSPgtJ+wJG5lWM4sVl ickZmWYFxbklBYZ6BamJ2WZ6eaklmxhBcct0Wm4H44oLiocYBTgYlXh4DUpKAoRYE8uKK3MP MUpwMCuJ8Jr6lAYI8aYkVlalFuXHF5XmpBYfYkwGhtlEZinR5HxgSskriTc0NrQ0tTQxszQ3 NjYgTVhJnFehTylASCAdmHiyU1MLUotgtjBxcEo1MArE77739csxjt+vpx4/dIr9ZOjRI98i DC8sX/a28PYyn7Oytx8zyNYL9DySuydnsKzrXc+1GPNK95ULljy7Nzlb5r32f93oFYWN/zgk /m4N/h7I8SFl8sE9rYuPdc9r+X1LcEaO36N57P/+pLdJrtw6+yx3g4bgzaRrT0Ndts3zsdiX wGb8/62HEktxRqKhFnNRcSIA77K0Kx8DAAA= X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201210/115 X-Sequence-Number: 48074 On 10/10/2012 09:49 AM, Strahinja Kustudi=C4=87 wrote: > I will change those, but I don't think this is that big of an issue if > most of the IO is done by Postgres, since Postgres has it's own > mechanism to tell the OS to sync the data to disk. For example when it's > writing a wal file, or when it's writing a check point, those do not get > cached. You'd be surprised. Greg Smith did a bunch of work a couple years back that supported these changes. Most DBAs with heavily utilized systems could even see this in action by turning on checkpoint logging, and there's an occasional period where the sync time lags into the minutes due to a synchronous IO switch. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604 312-444-8534 sthomas@optionshouse.com ______________________________________________ See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email