Re: [doc fix] Correct calculation of vm.nr_hugepages

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [doc fix] Correct calculation of vm.nr_hugepages
Date: 2018-02-21 20:28:49
Message-ID: 20180221202849.GC9774@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 21, 2018 at 03:14:57PM -0500, Robert Haas wrote:
> On Mon, Feb 19, 2018 at 9:43 PM, Tsunakawa, Takayuki
> <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com> wrote:
> > Thanks, I'd like to take this.
>
> Why are these values so large? The example in the documentation shows
> 6490428 kB, and in my test I got 8733888 kB. But 8733888 kB = 8.3 TB!
> 8.3 GB would make sense, but 8.3 TB does not.

pryzbyj(at)pryzbyj:~$ units -t -v 8733888kB GiB
8733888kB = 8.1340671 GiB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-02-21 20:41:56 Re: Two small patches for the isolationtester lexer
Previous Message Peter Geoghegan 2018-02-21 20:18:01 Re: pgsql: Avoid valgrind complaint about write() of uninitalized bytes.