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

Re: Effects of setting linux block device readahead size

From: James Mansion <james(at)mansionfamily(dot)plus(dot)com>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Effects of setting linux block device readahead size
Date: 2008-09-11 19:54:59
Message-ID: 48C97793.2070909@mansionfamily.plus.com (view raw or flat)
Thread:
Lists: pgsql-performance
Greg Smith wrote:
> The point I was trying to make there is that even under impossibly 
> optimal circumstances, you'd be hard pressed to blow out the disk's 
> read cache with seek-dominated data even if you read a lot at each 
> seek point.  That idea didn't make it from my head into writing very 
> well though.
>
Isn't there a bigger danger in blowing out the cache on the controller 
and causing premature pageout of its dirty pages?

If you could get the readahead to work on the drive and not return data 
to the controller, that might be dandy, but I'm sceptical.

James


In response to

Responses

pgsql-performance by date

Next:From: Greg SmithDate: 2008-09-11 20:11:13
Subject: Re: Choosing a filesystem
Previous:From: Craig JamesDate: 2008-09-11 19:53:36
Subject: Re: Choosing a filesystem

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