Project

General

Profile

Actions

action #50450

closed

action #50447: [aarch64] Update aarch64 machine on o3

[aarch64] Change huge page config on aarch64 machine on o3

Added by ggardet_arm about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
2019-04-16
Due date:
% Done:

0%

Estimated time:

Description

Current huge pages memory is ok for 10 workers, but not enough for 16 workers. And we have enabled 6 additional workers for testing.
So, we need to:

  1. Increase the size to 64 GB
  2. Change page size from 2MB to 1GB
Actions #1

Updated by mkittler about 5 years ago

  • Project changed from openQA Project to openQA Infrastructure
Actions #2

Updated by mkittler about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to mkittler
Actions #3

Updated by mkittler about 5 years ago

  • Status changed from In Progress to Resolved

I changed the following configuration:

  1. Add default_hugepagesz=1G hugepagesz=1G hugepages=64 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.
  2. Set vm.nr_hugepages from 14336 to 64 in /etc/sysctl.conf in accordance with boot parameter set in 1..
  3. Execute grub2-mkconfig -o /boot/grub2/grub.cfg transactional-update grub.cfg.

Seems like it worked:

cat /proc/cmdline 
BOOT_IMAGE=/boot/Image-4.12.14-lp150.12.58-default root=UUID=25944857-5dd8-410b-8eb3-ce80dcd6b21a console=ttyAMA0,115200 splash=silent quiet showopts nospec spectre_v2=off pti=off kpti=off default_hugepagesz=1G hugepagesz=1G hugepages=64

grep Huge /proc/meminfo 
AnonHugePages:     10240 kB
ShmemHugePages:        0 kB
HugePages_Total:      64
HugePages_Free:       64
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:    1048576 kB

So we now use 64 GiB of 125 GiB for hugepages.

Actions

Also available in: Atom PDF