| От | Guillaume Smet |
|---|---|
| Тема | Re: More shared buffers causes lower performances |
| Дата | |
| Msg-id | 1d4e0c10712260920g7a440fam4363a886f60fa700@mail.gmail.com обсуждение |
| Ответ на | Re: More shared buffers causes lower performances ("Guillaume Smet" <guillaume.smet@gmail.com>) |
| Список | pgsql-performance |
On Dec 26, 2007 4:41 PM, Guillaume Smet <guillaume.smet@gmail.com> wrote: > Then I decided to perform read-only tests using -S option (pgbench -S > -s 100 -c 16 -t 30000 -U postgres bench). And still the same > behaviour: > shared_buffers=64MB : 20k tps > shared_buffers=1024MB : 8k tps Some more information. If I strace the backends during the test, the test is faster with shared_buffers=1024MB and I have less system calls (less read and less lseek). A quick cut | uniq | sort gives me: With 64MB: 12548 semop 160039 sendto 160056 recvfrom 294289 read 613338 lseek With 1024MB: 11396 semop 129947 read 160039 sendto 160056 recvfrom 449584 lseek -- Guillaume
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера