Re: Optimizing Read-Only Scalability

Поиск
Список
Период
Сортировка
Искать
От
Simon Riggs
Тема
Re: Optimizing Read-Only Scalability
Дата
в 19:11:53
Msg-id
1242598466.3843.946.camel@ebony.2ndQuadrant
Ответ на
Список
Дерево обсуждения
Optimizing Read-Only Scalability Simon Riggs <simon@2ndQuadrant.com>
Re: Optimizing Read-Only Scalability Tom Lane <tgl@sss.pgh.pa.us>
Re: Optimizing Read-Only Scalability Simon Riggs <simon@2ndQuadrant.com>
Re: Optimizing Read-Only Scalability Robert Haas <robertmhaas@gmail.com>
Re: Optimizing Read-Only Scalability Tom Lane <tgl@sss.pgh.pa.us>
Re: Optimizing Read-Only Scalability Robert Haas <robertmhaas@gmail.com>
Re: Optimizing Read-Only Scalability Simon Riggs <simon@2ndQuadrant.com>
Re: Optimizing Read-Only Scalability Josh Berkus <josh@agliodbs.com>
Re: Optimizing Read-Only Scalability Simon Riggs <simon@2ndQuadrant.com>
Re: Optimizing Read-Only Scalability "Jignesh K. Shah" <J.K.Shah@Sun.COM>
Re: Optimizing Read-Only Scalability Simon Riggs <simon@2ndQuadrant.com>

On Sat, 2009-05-16 at 23:36 -0400, Jignesh K. Shah wrote:
> Simon Riggs wrote:
> >   
> >>> So we can optimize away the scan through the procarray by doing two "if"
> >>> tests, one outside of the lock, one inside. In normal running, both will
> >>> be optimized away, though in read-only periods we would avoid much work.
> >>>       
> >> How much work would it be to work up a test patch?
> >>     
> >
> > Not much. The most important thing is a place to test it and access to
> > detailed feedback. Let's see if Dimitri does this.
> >
> > There are some other tuning aspects to be got right first also, but
> > those are already known.
> >   
> I would be interested in testing it out.. I have been collecting some 
> sysbench read-scalability numbers and some other numbers that I can cook 
> up with dbt3 , igen.. So I have a frame of reference on those numbers .. 
> I am sure we can always use some extra performance.

I've added 

	shared_buffer_partitions = 16..256

plus the GetSnapshotData optimization discussed. I expect the buffer
locks to be the dominant problem.

Together, they should improve RO scalability at high end.

Note this renumbers LWlocks from current value of FirstLockMgrLock
onwards, which may skew the Dtrace reports.

-- 
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support
В списке pgsql-hackers по дате отправления
От: Pavel Stehule
Дата:
От: Werner Echezuria
Дата:
Сообщение: canonical pathkey
FAQ