Re: Two Necessary Kernel Tweaks for Linux Systems

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: sthomas(at)optionshouse(dot)com
Cc: Midge Brown <midgems(at)sbcglobal(dot)net>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Two Necessary Kernel Tweaks for Linux Systems
Date: 2013-01-08 18:31:13
Message-ID: CAOR=d=2g4iH+4U2Dkn2EZtTnZrescxp+MW10zehVUzX6a5GXSA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Jan 8, 2013 at 11:28 AM, Shaun Thomas <sthomas(at)optionshouse(dot)com> wrote:
> On 01/08/2013 12:25 PM, Midge Brown wrote:
>
>> The kernel on our Linux system doesn't appear to have these two
>> settings according to the list provided by sysctl -a. Please pardon
>> my ignorance, but should I add them?
>
>
> Sorry if I wasn't more clear. These only apply to Linux systems with the
> Completely Fair Scheduler, as opposed to the O(1) scheduler. For all intents
> and purposes, this means 3.0 kernels and above.
>
> With a 2.6 kernel, you're fine.
>
> Effectively these changes fix what is basically a performance regression
> compared to older kernels.

What's the comparison of these settings versus say going to the NOP scheduler?

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Shaun Thomas 2013-01-08 18:36:50 Re: Two Necessary Kernel Tweaks for Linux Systems
Previous Message Shaun Thomas 2013-01-08 18:28:25 Re: Two Necessary Kernel Tweaks for Linux Systems