其他分享
首页 > 其他分享> > Cannot get hugepage information.

Cannot get hugepage information.

作者:互联网

 

 

root@localhost ovs]# ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
EAL: FATAL: Cannot get hugepage information.
2021-02-22T07:45:46Z|00027|dpdk|EMER|Unable to initialize DPDK: Permission denied
ovs-vswitchd: Cannot init EAL (Permission denied)
ovs-vswitchd: could not initiate process monitoring

 

 

[root@localhost dpdk-19.11]# 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:     524288 kB

 

[root@localhost dpdk-19.11]# echo 256 >  /sys/kernel/mm/hugepages/hugepages-524288kB/nr_hugepages
[root@localhost dpdk-19.11]# echo 64 >  /sys/devices/system/node/node0/hugepages/hugepages-524288kB/nr_hugepages
[root@localhost dpdk-19.11]# echo 64 >  /sys/devices/system/node/node1/hugepages/hugepages-524288kB/nr_hugepages
[root@localhost dpdk-19.11]# echo 64 >  /sys/devices/system/node/node2/hugepages/hugepages-524288kB/nr_hugepages
[root@localhost dpdk-19.11]# echo 64 >  /sys/devices/system/node/node3/hugepages/hugepages-524288kB/nr_hugepages
[root@localhost dpdk-19.11]# 

 

[root@localhost ovs]# ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
[root@localhost ovs]# 

 

标签:information,ovs,--,hugepages,Cannot,hugepage,root,localhost,dpdk
来源: https://www.cnblogs.com/dream397/p/14430819.html