hugepagesize instead of PAGE_SIZE
hugepagesize instead of PAGE_SIZE
От:
dbaffaleuf@capdata-osmozium.com
Дата:
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/9.4/static/kernel-resources.html Description: Hi, As per the documentation: "6490428 / 2048 (PAGE_SIZE is 2MB in this case) are roughly 3169.154 huge pages, so you will need at least 3170 huge pages:" should be : "6490428 / 2048 (HugePageSize is 2MB in this case) are roughly 3169.154 huge pages, so you will need at least 3170 huge pages:" getconf PAGE_SIZE reports 4096 bytes and refers to the VM page size , not the huge page size. Thx,