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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2008-09-11 20:11:13 Re: Choosing a filesystem
Previous Message Craig James 2008-09-11 19:53:36 Re: Choosing a filesystem