| От | Tom Lane |
|---|---|
| Тема | Re: Dual-CPU slower then Single under HP? |
| Дата | |
| Msg-id | 3283.991850438@sss.pgh.pa.us обсуждение |
| Ответ на | Dual-CPU slower then Single under HP? (The Hermit Hacker <scrappy@hub.org>) |
| Ответы |
Re: Dual-CPU slower then Single under HP?
|
| Список | pgsql-hackers |
The Hermit Hacker <scrappy@hub.org> writes:
> The 4m:30s is running one process for 100K inserts ... with two
> CPUs/processes, it increases the time to process by almost 40% ... ?
Do you mean two processes inserting into the same table?
I committed some changes recently that reduce the amount of contention
involved in that scenario, but it's not released yet.
Another fairly likely issue is the not-very-good implementation of
spinlocks. We've talked about finding a way other than select() to
block on a spinlock, but no one's done anything about it yet...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера