[Bug 1758884] [NEW] Ubuntu18.04[P9, WSP]: Not able to configure 2MB hugepage while installation as i provided default_hugepagesz=2MB hugepagesz=2MB huegpage=20000 while installation cmdline

Launchpad Bug Tracker 1758884 at bugs.launchpad.net
Mon Mar 26 11:42:41 UTC 2018


You have been subscribed to a public bug:

== Comment: #0 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 2018-03-01 02:06:35 ==
Problem Description:
 Not able to configure 2MB hugepage while installation as i provided default_hugepagesz=2MB hugepagesz=2MB huegpage=20000  while installation cmdline

Reproducible Step:
1- Try to install Ubutnu18.04 using neboot image 
2- Pass hugepage info while installation 

Kernel :
http://ports.ubuntu.com/ubuntu-ports/ubuntu-ports/dists/bionic-proposed/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/vmlinux

Initrd:
http://ports.ubuntu.com/ubuntu-ports/ubuntu-ports/dists/bionic-proposed/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/initrd.gz

Boot Param :

auto console=ttyS0  console-setup/layoutcode=us BOOTIF=70-e2-84-14-24-54
netcfg/disable_autoconfig=true netcfg/choose_interface=auto
netcfg/get_nameservers=<ip> netcfg/get_ipaddress=<ip>
netcfg/get_netmask=<ip> netcfg/get_gateway=<ip> netcfg/get_hostname=ltc-
wspoon4 netcfg/get_domain=aus.stglabs.ibm.com priority=low
default_hugepagesz=2MB hugepagesz=2MB huegpage=20000

3- Install system and boot

4- check huge page setting in cmdline as well in meminfo

LOG:
root at ltc-wspoon4:~# cat /proc/cmdline 
root=UUID=06d5c342-2565-4df3-b7fc-eac365604469 ro quiet splash
root at ltc-wspoon4:~#
root at ltc-wspoon4:~# cat /proc/meminfo  |  grep -i huge
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
root at ltc-wspoon4:~# 
 
Regards
Praveen


== Comment: #4 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 2018-03-18 23:59:07 ==
Hi 
   I tried again with today's daily build still facing same issue 

below is kernel,Initrd  and Boot Param details 
Kernel :
http://ports.ubuntu.com/ubuntu-ports/ubuntu-ports/dists/bionic-proposed/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/vmlinux

Initrd:
http://ports.ubuntu.com/ubuntu-ports/ubuntu-ports/dists/bionic-proposed/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/initrd.gz

Boot Param :
auto console=ttyS0  console-setup/layoutcode=us BOOTIF=70-e2-84-14-24-54 netcfg/disable_autoconfig=true netcfg/choose_interface=auto netcfg/get_nameservers=<ip> netcfg/get_ipaddress=<ip> netcfg/get_netmask=<ip> netcfg/get_gateway=<ip> netcfg/get_hostname=ltc-wspoon4 netcfg/get_domain=aus.stglabs.ibm.com  default_hugepagesz=2MB hugepagesz=2MB hugepages=20000

Regards
Praveen

== Comment: #5 - Kalpana Shetty <kalshett at in.ibm.com> - 2018-03-19 02:17:31 ==
Does this work on an already installed OS?


== Comment: #11 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 2018-03-26 04:00:26 ==
(In reply to comment #6)
> Hi Praveen,
> Can you provide logs for this when you retried. And output of cat
> /proc/meminfo.

HI

  Please find below details

root at ltc-wspoon4:~# cat /proc/cmdline 
root=UUID=0266024d-8ea3-4132-ad62-b49befd6f8d9 ro quiet splash crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M at 128M
root at ltc-wspoon4:~# cat /proc/meminfo |  grep -i Huge
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
root at ltc-wspoon4:~# 

@kalpana yes it worked in already installed OS .

Regards
Praveen

** Affects: debian-installer (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-165257 severity-high targetmilestone-inin1804
-- 
Ubuntu18.04[P9, WSP]: Not able to configure 2MB hugepage while installation as i provided default_hugepagesz=2MB hugepagesz=2MB huegpage=20000  while installation cmdline
https://bugs.launchpad.net/bugs/1758884
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to debian-installer in Ubuntu.



More information about the foundations-bugs mailing list