Re: Effects of setting linux block device readahead size - Mailing list pgsql-performance

From Greg Smith
Subject Re: Effects of setting linux block device readahead size
Date
Msg-id Pine.GSO.4.64.0809101023520.15181@westnet.com
Whole thread Raw
In response to Effects of setting linux block device readahead size  ("Mark Wong" <markwkm@gmail.com>)
Responses Re: Effects of setting linux block device readahead size
Re: Effects of setting linux block device readahead size
List pgsql-performance
On Tue, 9 Sep 2008, Mark Wong wrote:

> I've started to display the effects of changing the Linux block device
> readahead buffer to the sequential read performance using fio.

Ah ha, told you that was your missing tunable.  I'd really like to see the
whole table of one disk numbers re-run when you get a chance.  The
reversed ratio there on ext2 (59MB read/92MB write) was what tipped me off
that something wasn't quite right initially, and until that's fixed it's
hard to analyze the rest.

Based on your initial data, I'd say that the two useful read-ahead
settings for this system are 1024KB (conservative but a big improvement)
and 8192KB (point of diminishing returns).  The one-disk table you've got
(labeled with what the default read-ahead is) and new tables at those two
values would really flesh out what each disk is capable of.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

pgsql-performance by date:

Previous
From: Chris Browne
Date:
Subject: Re: Intel's X25-M SSD
Next
From: "Kevin Grittner"
Date:
Subject: Re: too many clog files