Re: Performance tuning on FreeBSD

Поиск
Список
Период
Сортировка
От Ivan Voras
Тема Re: Performance tuning on FreeBSD
Дата
Msg-id fqjkst$sgp$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: Performance tuning on FreeBSD  (Greg Smith <gsmith@gregsmith.com>)
Ответы Re: Performance tuning on FreeBSD  (Matthew <matthew@flymine.org>)
Re: Performance tuning on FreeBSD  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-performance
Greg Smith wrote:
> 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.

I'm curious about the math behind this - is ~4000 burst or sustained
rate? For common BBU cache sizes (256M, 512M), filling that amount with
data is pretty trivial. When the cache is full, new data can enter the
cache only at a rate at which old data is evacuated from the cache (to
the drive), which is at "normal", uncached disk drive speeds.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Performance problems deleting data
Следующее
От: Matthew
Дата:
Сообщение: Re: Performance tuning on FreeBSD