Re: Performance tuning on FreeBSD

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Performance tuning on FreeBSD
Дата
Msg-id Pine.GSO.4.64.0803032005020.23114@westnet.com
обсуждение исходный текст
Ответ на Performance tuning on FreeBSD  ("alan bryan" <alan.bryan@gmail.com>)
Ответы Re: Performance tuning on FreeBSD  ("alan bryan" <alan.bryan@gmail.com>)
Re: Performance tuning on FreeBSD  (Ivan Voras <ivoras@geri.cc.fer.hr>)
Список pgsql-performance
On Mon, 3 Mar 2008, alan bryan wrote:

>> pgbench -c 100 -t 1000 testdb
> tps = 558.013714 (excluding connections establishing)
>
> Just for testing, I tried turning off fsync and got:
> tps = 4061.662041 (excluding connections establishing)

This is odd.  ~500 is what I expect from this test when there is no write
cache to accelerate fsync, while ~4000 is normal for your class of
hardware when you have such a cache.  Since you say your 3Ware card is
setup with a cache and a BBU, that's suspicious--you should be able to get
around 4000 with fsync on.  Any chance you have the card set to
write-through instead of write-back?  That's the only thing that comes to
mind that would cause this.

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

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

Предыдущее
От: "alan bryan"
Дата:
Сообщение: Re: Performance tuning on FreeBSD
Следующее
От: Rafael Martinez
Дата:
Сообщение: Re: Performance problems deleting data