Re: Bgwriter behavior

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Bgwriter behavior
Дата
Msg-id 200412282207.iBSM7Ce16200@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Bgwriter behavior  (John Hansen <john@geeknet.com.au>)
Ответы Re: Bgwriter behavior
Список pgsql-hackers
John Hansen wrote:
> > > > I ran some tests last week and can report results similar on Tom's test:
> > > > 
> > > >     pgbench -i -s 10 bench
> > > >     pgbench -c 10 -t 10000 bench
> > > > 
> 
> don't you have to specify the scaling factor for the benchmark as well?
> as in pgbench -c 10 -t 10000 -s 10 bench ?
> 
> > I just tried and got 115tps with fsync off vs 100 with fsync on, so
> > fsync is certainly doing something.
> 
> well, I usually get results that differ by that much from run to run.
> Probably you ran in to more checkpoints on the second test.
> 
> Also, did you reinitialize the bench database with pgbench -i ?

I destroyed the database and recreated it.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: John Hansen
Дата:
Сообщение: Re: Bgwriter behavior
Следующее
От: Tom Lane
Дата:
Сообщение: Re: buildfarm NetBSD/m68k tsearch regression failure