Re: Estimating HugePages Requirements?

Поиск
Список
Период
Сортировка
От Zhihong Yu
Тема Re: Estimating HugePages Requirements?
Дата
Msg-id CALNJ-vTfe9sre2m+wRgQx3HGO2hU-a18qP+d66g4bqajO9hn-g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Estimating HugePages Requirements?  ("Bossart, Nathan" <bossartn@amazon.com>)
Ответы Re: Estimating HugePages Requirements?
Список pgsql-hackers


On Mon, Aug 9, 2021 at 3:57 PM Bossart, Nathan <bossartn@amazon.com> wrote:
On 6/9/21, 8:09 PM, "Bossart, Nathan" <bossartn@amazon.com> wrote:
> On 6/9/21, 3:51 PM, "Mark Dilger" <mark.dilger@enterprisedb.com> wrote:
>>> On Jun 9, 2021, at 1:52 PM, Bossart, Nathan <bossartn@amazon.com> wrote:
>>>
>>> I'd be happy to clean it up and submit it for
>>> discussion in pgsql-hackers@ if there is interest.
>>
>> Yes, I'd like to see it.  Thanks for offering.
>
> Here's the general idea.  It still needs a bit of polishing, but I'm
> hoping this is enough to spark some discussion on the approach.

Here's a rebased version of the patch.

Nathan

Hi,

-extern void CreateSharedMemoryAndSemaphores(void);
+extern Size CreateSharedMemoryAndSemaphores(bool size_only);

Should the parameter be enum / bitmask so that future addition would not change the method signature ?

Cheers 

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

Предыдущее
От: "Bossart, Nathan"
Дата:
Сообщение: Re: Estimating HugePages Requirements?
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: ECPG bug fix: DECALRE STATEMENT and DEALLOCATE, DESCRIBE