Skip site navigation (1) Skip section navigation (2)

Re: 8.4 Performance improvements: was Re: Proposal of tunable fix for scalability of 8.4

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Jignesh K(dot) Shah" <J(dot)K(dot)Shah(at)Sun(dot)COM>
Cc: Greg Smith <gsmith(at)gregsmith(dot)com>, "pgsql-performance\(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: 8.4 Performance improvements: was Re: Proposal of tunable fix for scalability of 8.4
Date: 2009-03-13 13:57:06
Message-ID: 87prgl4jbh.fsf@oxford.xeocode.com (view raw or flat)
Thread:
Lists: pgsql-performance
A minute ago I said:

 AFAIK Opensolaris doesn't implement posix_fadvise() so there's no benefit. It
 would be great to hear if you could catch the ear of the right people to get
 an implementation committed. Depending on how the i/o scheduler system is
 written it might not even be hard -- the Linux implementation of WILLNEED is
 all of 20 lines.

I noticed after sending it that that's slightly unfair. The 20-line function
calls another function (which calls another function) to do the real readahead
work. That function (mm/readahead.c:__do_page_cache_readahead()) is 48 lines.

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's Slony Replication support!

In response to

Responses

pgsql-performance by date

Next:From: Jignesh K. ShahDate: 2009-03-13 14:56:45
Subject: Re: Proposal of tunable fix for scalability of 8.4
Previous:From: Gregory StarkDate: 2009-03-13 13:54:09
Subject: Re: Proposal of tunable fix for scalability of 8.4

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group