Re: Estimating HugePages Requirements?
От
Bossart, Nathan
Тема
Re: Estimating HugePages Requirements?
Дата
Msg-id
0545F7B3-70C0-4DE8-8C85-EAFE6113B7EE@amazon.com
Ответ на
Re: Estimating HugePages Requirements? (Andres Freund)
Список
Дерево обсуждения
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Magnus Hagander <magnus@hagander.net>
Re: Estimating HugePages Requirements? Andres Freund <andres@anarazel.de>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Andres Freund <andres@anarazel.de>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Justin Pryzby <pryzby@telsasoft.com>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Andres Freund <andres@anarazel.de>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Robert Haas <robertmhaas@gmail.com>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Robert Haas <robertmhaas@gmail.com>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Tom Lane <tgl@sss.pgh.pa.us>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Robert Haas <robertmhaas@gmail.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Magnus Hagander <magnus@hagander.net>
Re: Estimating HugePages Requirements? Nathan Bossart <nathandbossart@gmail.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Magnus Hagander <magnus@hagander.net>
Re: Estimating HugePages Requirements? Nathan Bossart <nathandbossart@gmail.com>
Re: Estimating HugePages Requirements? Nathan Bossart <nathandbossart@gmail.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Magnus Hagander <magnus@hagander.net>
Re: Estimating HugePages Requirements? Nathan Bossart <nathandbossart@gmail.com>
Re: Estimating HugePages Requirements? Nathan Bossart <nathandbossart@gmail.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Magnus Hagander <magnus@hagander.net>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Magnus Hagander <magnus@hagander.net>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Nathan Bossart <nathandbossart@gmail.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Nathan Bossart <nathandbossart@gmail.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Nathan Bossart <nathandbossart@gmail.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? Michael Paquier <michael@paquier.xyz>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
Re: Estimating HugePages Requirements? "Bossart, Nathan" <bossartn@amazon.com>
On 8/9/21, 8:43 PM, "Andres Freund" wrote:
> I don't like putting this into PostmasterMain(). Either BootstrapMain()
> (specifically checker mode) or GucInfoMain() seem like better places.
I think BootstrapModeMain() makes the most sense. It fits in nicely
with the --check logic that's already there. With v3, the following
command can be used to retrieve the amount of shared memory required.
postgres --output-shmem -D dir
While testing this new option, I noticed that you can achieve similar
results today with the following command, although this one will
actually try to create the shared memory, too.
postgres --check -D dir -c log_min_messages=debug3 2> >(grep IpcMemoryCreate)
IMO the new option is still handy, but I can see the argument that it
might not be necessary.
> That seems like an ugly API to me. Why don't we split the size
> determination and shmem creation functions into two?
I did it this way in v3.
Nathan
В списке pgsql-hackers по дате отправления
От: Tomas Vondra
Дата: