O_DIRECT, or madvise and/or posix_fadvise

From: markwkm(at)gmail(dot)com
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: O_DIRECT, or madvise and/or posix_fadvise
Date: 2007-01-11 22:35:13
Message-ID: 70c01d1d0701111435j6aa8ec8ar13c184df9a4ef206@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I caught this thread about O_DIRECT on kerneltrap.org:
http://kerneltrap.org/node/7563

It sounds like there is much to be gained here in terms of reducing
the number of user/kernel space copies in the operating system. I got
the impression that posix_fadvise in the Linux kernel isn't as good as
it could be. I noticed in xlog.c that the use of posix_fadvise is
disabled. Maybe it's time to do some more experimenting and working
with the Linux kernel developers. Or perhaps there is another OS that
would be better to experiment with?

Not sure where to start but do people think this is worth taking a stab at?

Regards,
Mark

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-01-11 22:45:10 Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
Previous Message Martijn van Oosterhout 2007-01-11 22:30:36 Re: Some notes about redesigning planner data structures