Support for huge pages / pdpe1gb

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
tnizharadze
Posts: 5
Joined: Mon Dec 02, 2019 7:21 pm

Support for huge pages / pdpe1gb

Post by tnizharadze » Thu May 14, 2020 8:30 am

Hi!
I'm trying to run S-Terra DP image - https://www.s-terra.ru/products/catalog ... z-10g-4-2/
It differs from usual S-Terra, because it needs 1Gb huge page feature.
During S-Terra initialization i got these errors:

Code: Select all

administrator@sterragate] initialize
Initializing RNG: (press requested keys or Ctrl+C to interrupt)

Already initialized RNG.
SSH keys already generated. Would you like to use existing keys? [Yes]

Active license:
CustomerCode=xxxxxx
ProductCode=GATEDP
LicenseNumber=xxxxxx
LicenseCode=xxxxx
Would you like to use existing license for S-Terra Gate DP? [Yes]
Configuring IPSM:
Trying to mount dev/st_hugepages:
mount: wrong fs type, bad option, bad superblock on nodev,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

 failed.
Failed to start dpdk_init. Aborting
ERROR: Cannot configure dp
administrator@sterragate] system
Entering system shell...
root@sterragate:~# find /etc -type f -exec grep -l st_hugepages {} \;
/etc/init.d/dpdk_init
root@sterragate:~# cat /etc/init.d/dpdk_init
---- cut ----
 mkdir -p /dev/st_hugepages > /dev/null

 if ! mount | grep "nodev on /dev/st_hugepages type hugetlbfs" > /dev/null; then
  echo "Trying to mount dev/st_hugepages:"
  if mount -t hugetlbfs -o pagesize=1GB nodev /dev/st_hugepages > /dev/null; then
   echo " done."
  else
   echo " failed."
   RC=1
   return $RC
  fi
 fi
---- cut ----
so, my question is how to enable in EVE huge pages feature

Post Reply