I am trying to calculate my hugepagesize number in raptordb on an on prem install

Irvin Betts
Tera Contributor

 Bear with me - I don't generally configure the VMs themselves...I am calculating the number of hugepages to allocate to a new raptor database on an onprem installation and  keep getting different numbers depending on how it calculate it and thought I would ask the community the "right" way to do it

The details:

Total memory:  251g

Free:                    249g

Shared:                 16Mi

Hugepagesize = 1G

From  ipcs -lm I get shared buffer size of 18,014,398,509,481,980kb which gives a number that is unreasonable

 

If I use the standard calculation of pages = (shared memory x.7) / hugepagesize

I am actually using pages = (memfree X .7) / hugepagesize

I can get 249(g) x .7 / 1(g) = 174 pages 

 

Does this sound reasonable? Or what have I missed.

0 REPLIES 0