R4.0-dpdk-the hugepage setting not configured as specified in contrail-net.yaml

Bug #1722895 reported by shajuvk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Invalid
Medium
alexey-mr
R4.0
Invalid
Medium
alexey-mr
R4.1
Invalid
Medium
alexey-mr
Trunk
Invalid
Medium
alexey-mr

Bug Description

from contrail-net.yaml
=============
  BondMode: 4
  BondPolicy: 1
  ContrailVlanParentInterface: bond0
  ContrailBondInterface: bond0
  ContrailBondInterfaceMembers: eno1
  InternalApiNetworkVlanID: 201
  ContrailDpdkHugepages: 64000
  ContrailDpdkCoremask: '0x3f'

=============

[root@overcloud-contraildpdk-0 ~]# sysctl -a | grep Huge
sysctl: reading key "net.ipv6.conf.all.stable_secret"
sysctl: reading key "net.ipv6.conf.bond0.stable_secret"
sysctl: reading key "net.ipv6.conf.br0.stable_secret"
sysctl: reading key "net.ipv6.conf.default.stable_secret"
sysctl: reading key "net.ipv6.conf.enp131s0f0.stable_secret"
sysctl: reading key "net.ipv6.conf.enp131s0f1.stable_secret"
sysctl: reading key "net.ipv6.conf.enp3s0f1.stable_secret"
sysctl: reading key "net.ipv6.conf.enp6s0f1.stable_secret"
sysctl: reading key "net.ipv6.conf.eth2.stable_secret"
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
sysctl: reading key "net.ipv6.conf.vhost0.stable_secret"
sysctl: reading key "net.ipv6.conf.vlan10.stable_secret"
sysctl: reading key "net.ipv6.conf.vlan30.stable_secret"
sysctl: reading key "net.ipv6.conf.vlan40.stable_secret"
sysctl: reading key "net.ipv6.conf.vlan60.stable_secret"
[root@overcloud-contraildpdk-0 ~]# sysctl -a | grep huge
sysctl: reading key "net.ipv6.conf.all.stable_secret"
sysctl: reading key "net.ipv6.conf.bond0.stable_secret"
sysctl: reading key "net.ipv6.conf.br0.stable_secret"
sysctl: reading key "net.ipv6.conf.default.stable_secret"
sysctl: reading key "net.ipv6.conf.enp131s0f0.stable_secret"
sysctl: reading key "net.ipv6.conf.enp131s0f1.stable_secret"
sysctl: reading key "net.ipv6.conf.enp3s0f1.stable_secret"
sysctl: reading key "net.ipv6.conf.enp6s0f1.stable_secret"
sysctl: reading key "net.ipv6.conf.eth2.stable_secret"
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
sysctl: reading key "net.ipv6.conf.vhost0.stable_secret"
sysctl: reading key "net.ipv6.conf.vlan10.stable_secret"
sysctl: reading key "net.ipv6.conf.vlan30.stable_secret"
sysctl: reading key "net.ipv6.conf.vlan40.stable_secret"
sysctl: reading key "net.ipv6.conf.vlan60.stable_secret"
vm.hugepages_treat_as_movable = 0
vm.hugetlb_shm_group = 0
vm.nr_hugepages = 2048 ========================> this was set wrong.
vm.nr_hugepages_mempolicy = 2048
vm.nr_overcommit_hugepages = 0

Work around
=============
[root@overcloud-contraildpdk-0 ~]# sysctl -w vm.nr_hugepages=64000
vm.nr_hugepages = 64000

Tags: rhosp
shajuvk (shajuvk)
information type: Proprietary → Public
Revision history for this message
shajuvk (shajuvk) wrote :

[root@overcloud-contraildpdk-0 ~]# cat /proc/meminfo | grep -i Huge
AnonHugePages: 466944 kB
HugePages_Total: 64000
HugePages_Free: 62927
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB

edit this file ad set 64000
vi /etc/sysctl.conf

 vm.nr_hugepages=64000
# vm.nr_hugepages=2048

shajuvk (shajuvk)
summary: - R4.0-dpdk-the hugepage setting not configured properly in dpdk compute ,
- director provisioning
+ R4.0-dpdk-the hugepage setting not configured as specified in contrail-
+ net.yaml
Revision history for this message
alexey-mr (alexey-morlang) wrote :

Wrong parameter - ContrailDpdkHugepages
It is - ContrailDpdkHugePages
(since it is named so in upstream)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.