Re: [Lsf-pc] Linux kernel impact on PostgreSQL performance

From: Trond Myklebust <trondmy(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, Kevin Grittner <kgrittn(at)ymail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Joshua Drake <jd(at)commandprompt(dot)com>, Mel Gorman <mgorman(at)suse(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "lsf-pc(at)lists(dot)linux-foundation(dot)org" <lsf-pc(at)lists(dot)linux-foundation(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: [Lsf-pc] Linux kernel impact on PostgreSQL performance
Date: 2014-01-13 21:06:04
Message-ID: 2CCCC0A9-49A0-4BBF-9D87-C56970F84BDE@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Jan 13, 2014, at 16:03, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Mon, Jan 13, 2014 at 3:53 PM, Trond Myklebust <trondmy(at)gmail(dot)com> wrote:
>> O_DIRECT was specifically designed to solve the problem of double buffering between applications and the kernel. Why are you not able to use that in these situations?
>
> O_DIRECT was apparently designed by a deranged monkey on some serious
> mind-controlling substances. But don't take it from me, I have it on
> good authority:
>
> http://yarchive.net/comp/linux/o_direct.html
>
> One might even say the best authority.

You do realise that is 12 year old information, right? …and yes, we have added both aio and vectored operations to O_DIRECT in the meantime.

Meanwhile, no progress has been made on the “non-deranged” interface that authority was advocating.

Cheers,
Trond

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2014-01-13 21:09:49 Re: Linux kernel impact on PostgreSQL performance
Previous Message Jeff Janes 2014-01-13 21:04:11 Re: Linux kernel impact on PostgreSQL performance