Performance issue with virtualized DB

Поиск
Список
Период
Сортировка
От Antonio Carlos Salzvedel Furtado Junior
Тема Performance issue with virtualized DB
Дата
Msg-id CAERqmVrbwek4eXSndwFGajJxuTrRQr+UDQ5BsmdxMzssEtdkVg@mail.gmail.com
обсуждение исходный текст
Список pgsql-novice
Hello PostgreSQL users,

I'm running PostgreSQL 9 in a VM, sing KVM as hypervisor. The whole
database is loaded in a RAM file system.
As other hypervisors, there are some parameters to limit CPU that are
very important to me. I usually need to change the values of these
parameters.

However I'm having a bit of unexpected performance problems. Shouldn't
the query execution times vary linearly with the allocated CPU?
I ran some tests, and I found out that the costs vary "kind of"
linearly until some point. However if I give my VM less than about 20%
of the available CPU, the costs "explode".
The problem is that I need to run multiple VMs on the same host, and I
can't afford that much deterioration. I never heard about a "safe
limit" for CPU allocation. I always thought that CPU would affect the
query linearly.


Regards,

Antonio Carlos Furtado

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: To get a Table or View like a Calendar with dates
Следующее
От: Sergey Kirillov
Дата:
Сообщение: huge difference in TPS depending of synchornous_commit setting