pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shaun Thomas <sthomas@optionshouse.com>
To: Tim Kane <tim.kane@gmail.com>
To: Brio <brianoraas@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: postgres files in use not staying in linux file cache
Date: Fri, 13 Jun 2014 11:11:41 -0500
Message-ID: <539B22BD.6010803@optionshouse.com> (raw)
In-Reply-To: <CFC06009.865FB%tim.kane@gmail.com>
References: <CAM+G8pRg9-Dvfr3dam9qG-etQGNGUQEO-cDPyhwR-_HTvWQABA@mail.gmail.com>
	<53977376.3040406@optionshouse.com>
	<CFC06009.865FB%tim.kane@gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On 06/13/2014 02:19 AM, Tim Kane wrote:

> I ask because I’ve just read your statement above about 3.2 being
> pants-on-head, and having had more luck with 3.8 and above – despite
>  most installations being on much older (2.6.19) kernels (as per the
> thread).

Well, the issue is that the 3.2 kernel was a huge departure from the 2.6 
tree that most people are still using. Thanks to RHEL, CentOS and their 
ilk, the 2.6 tree has had a much longer lifetime than it probably should 
have. As a result, the newer kernels haven't had sufficient real-world 
server testing.

With 3.2 being the first of those, it was a bit wonky, to be honest. The 
new CPU scheduler didn't have enough knobs, and the knobs that *were* 
there, were set more appropriately for desktop use. The memory manager 
was a train wreck and has been patched numerous times with rather 
sweeping changes since. For a while, there was even a bug at how system 
load was calculated that caused it to be off by an order of magnitude or 
more based on process switching activity.

The overall situation has improved significantly, as has the development 
momentum. It's extremely difficult to say which kernel versions have 
more risk than others, since no kernel seems to be around for more than 
a month or two before the next one comes out. My opinion has been to get 
on the latest stable kernel for the distribution, and ignore everything 
else.

For Ubuntu 12.04.4 LTS, that's 3.11.

Our systems are definitely much happier since the upgrade, but the 
plural of anecdote is not data. :)

-- 
Shaun Thomas
OptionsHouse, LLC | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@optionshouse.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (6+ messages)  latest in thread

Message-ID: <539B22BD.6010803@optionshouse.com>
Permalink:  ../539B22BD.6010803@optionshouse.com/
Also on:    postgresql.org/message-id/539B22BD.6010803@optionshouse.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sthomas@optionshouse.com, tim.kane@gmail.com, brianoraas@gmail.com
  Subject: Re: postgres files in use not staying in linux file cache
  In-Reply-To: <539B22BD.6010803@optionshouse.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox