| От | Tom Lane |
|---|---|
| Тема | Re: Multiprocessor performance |
| Дата | |
| Msg-id | 15142.991749896@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Multiprocessor performance ("Valentin Puente" <vpuente@atc.unican.es>) |
| Список | pgsql-hackers |
"Valentin Puente" <vpuente@atc.unican.es> writes:
> Ok...well I'm running this benchmarks in different SMP machines (SGI with 4
> to 8 processors and the results are odd). The best performance is achieved
> with just one backend (1 client). When I try to run more clients the tps
> falls quickly.
What scale factor (-s parameter for pgbench init) are you using for the
benchmark?
At scale factor 1, there's only one "branch" row, so all the
transactions have to update the same row and naturally will spend most
of their time waiting to do so.
You want scale factor >> # of concurrent clients to avoid interlock
effects.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера