Re: [doc fix] Correct calculation of vm.nr_hugepages - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: [doc fix] Correct calculation of vm.nr_hugepages
Date
Msg-id 20180221202849.GC9774@telsasoft.com
Whole thread Raw
In response to Re: [doc fix] Correct calculation of vm.nr_hugepages  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [doc fix] Correct calculation of vm.nr_hugepages  (Robert Haas <robertmhaas@gmail.com>)
List 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.takay@jp.fujitsu.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@pryzbyj:~$ units -t -v 8733888kB GiB
        8733888kB = 8.1340671 GiB


pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: pgsql: Avoid valgrind complaint about write() of uninitalized bytes.
Next
From: Tom Lane
Date:
Subject: Re: Two small patches for the isolationtester lexer