Re: tuplesort memory usage: grow_memtuples

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: tuplesort memory usage: grow_memtuples
Дата
Msg-id CAEYLb_VuaHP3hNMJkB6fERPwQSsfyeKQ3YO35id0kc3n1N==dg@mail.gmail.com
обсуждение исходный текст
Ответ на tuplesort memory usage: grow_memtuples  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: tuplesort memory usage: grow_memtuples  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
On 3 March 2012 20:22, Jeff Janes <jeff.janes@gmail.com> wrote:
> Add it all up, and instead of pre-reading 32 consecutive 8K blocks, it
> pre-reads only about 1 or 2 consecutive ones on the final merge.  Now
> some of those could be salvaged by the kernel keeping track of
> multiple interleaved read ahead opportunities, but in my hands vmstat
> shows a lot of IO wait and shows reads that seem to be closer to
> random IO than large read-ahead.  If it used truly efficient read
> ahead, CPU would probably be limiting.

Can you suggest a benchmark that will usefully exercise this patch?

-- 
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Synchronous Standalone Master Redoux
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: filenames in pg_basebackup