linuxaddicts

Untitled

Aug 20th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 20.93 KB | None | 0 0
  1. numactl -H
  2. available: 2 nodes (0-1)
  3. node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  4. node 0 size: 97972 MB
  5. node 0 free: 84597 MB
  6. node 1 cpus: 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
  7. node 1 size: 98303 MB
  8. node 1 free: 85767 MB
  9. node distances:
  10. node   0   1
  11.   0:  10  21
  12.   1:  21  10
  13.  
  14. ovs-vswitch log:
  15.  
  16. 2018-08-20T08:55:11.230Z|00008|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.9.0
  17. 2018-08-20T08:56:40.104Z|00009|memory|INFO|18388 kB peak resident set size after 88.9 seconds
  18. 2018-08-20T08:56:40.104Z|00010|dpdk|INFO|Using DPDK 17.11.0
  19. 2018-08-20T08:56:40.104Z|00011|dpdk|INFO|DPDK Enabled - initializing...
  20. 2018-08-20T08:56:40.104Z|00012|dpdk|INFO|No vhost-sock-dir provided - defaulting to /var/run/openvswitch
  21. 2018-08-20T08:56:40.104Z|00013|dpdk|INFO|IOMMU support for vhost-user-client disabled.
  22. 2018-08-20T08:56:40.104Z|00014|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-mem 2048,2048 -c 0x00000001
  23. 2018-08-20T08:56:40.106Z|00015|dpdk|INFO|EAL: Detected 32 lcore(s)
  24. 2018-08-20T08:56:40.157Z|00016|dpdk|INFO|EAL: Probing VFIO support...
  25. 2018-08-20T08:56:40.157Z|00017|dpdk|INFO|EAL: VFIO support initialized
  26. 2018-08-20T08:56:40.689Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
  27. 2018-08-20T08:56:40.695Z|00002|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 0
  28. 2018-08-20T08:56:40.695Z|00003|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 1
  29. 2018-08-20T08:56:40.695Z|00004|ovs_numa|INFO|Discovered 2 NUMA nodes and 32 CPU cores
  30. 2018-08-20T08:56:40.695Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...
  31. 2018-08-20T08:56:40.695Z|00006|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
  32. 2018-08-20T08:56:40.697Z|00007|dpdk|INFO|Using DPDK 17.11.0
  33. 2018-08-20T08:56:40.697Z|00008|dpdk|INFO|DPDK Enabled - initializing...
  34. 2018-08-20T08:56:40.697Z|00009|dpdk|INFO|No vhost-sock-dir provided - defaulting to /var/run/openvswitch
  35. 2018-08-20T08:56:40.697Z|00010|dpdk|INFO|IOMMU support for vhost-user-client disabled.
  36. 2018-08-20T08:56:40.697Z|00011|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-mem 2048,2048 -c 0x00000001
  37. 2018-08-20T08:56:40.698Z|00012|dpdk|INFO|EAL: Detected 32 lcore(s)
  38. 2018-08-20T08:56:40.749Z|00013|dpdk|INFO|EAL: Probing VFIO support...
  39. 2018-08-20T08:56:40.749Z|00014|dpdk|INFO|EAL: VFIO support initialized
  40. 2018-08-20T08:56:40.751Z|00015|dpdk|ERR|EAL: Not enough memory available on socket 0! Requested: 2048MB, available: 0MB
  41. 2018-08-20T08:56:40.752Z|00016|dpdk|ERR|EAL: Cannot init memory
  42. 2018-08-20T08:56:40.758Z|00002|daemon_unix|ERR|fork child died before signaling startup (killed (Aborted))
  43. 2018-08-20T08:56:40.758Z|00003|daemon_unix|EMER|could not detach from foreground session
  44. 2018-08-20T08:56:41.036Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
  45. 2018-08-20T08:56:41.042Z|00002|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 0
  46. 2018-08-20T08:56:41.042Z|00003|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 1
  47. 2018-08-20T08:56:41.042Z|00004|ovs_numa|INFO|Discovered 2 NUMA nodes and 32 CPU cores
  48. 2018-08-20T08:56:41.042Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...
  49. 2018-08-20T08:56:41.042Z|00006|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
  50. 2018-08-20T08:56:41.043Z|00007|dpdk|INFO|Using DPDK 17.11.0
  51. 2018-08-20T08:56:41.043Z|00008|dpdk|INFO|DPDK Enabled - initializing...
  52. 2018-08-20T08:56:41.043Z|00009|dpdk|INFO|No vhost-sock-dir provided - defaulting to /var/run/openvswitch
  53. 2018-08-20T08:56:41.044Z|00010|dpdk|INFO|IOMMU support for vhost-user-client disabled.
  54. 2018-08-20T08:56:41.044Z|00011|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-mem 2048,2048 -c 0x00000001
  55. 2018-08-20T08:56:41.045Z|00012|dpdk|INFO|EAL: Detected 32 lcore(s)
  56. 2018-08-20T08:56:41.095Z|00013|dpdk|INFO|EAL: Probing VFIO support...
  57. 2018-08-20T08:56:41.095Z|00014|dpdk|INFO|EAL: VFIO support initialized
  58. 2018-08-20T08:56:41.097Z|00015|dpdk|ERR|EAL: Not enough memory available on socket 0! Requested: 2048MB, available: 0MB
  59. 2018-08-20T08:56:41.098Z|00016|dpdk|ERR|EAL: Cannot init memory
  60. 2018-08-20T08:56:41.103Z|00002|daemon_unix|ERR|fork child died before signaling startup (killed (Aborted))
  61. 2018-08-20T08:56:41.103Z|00003|daemon_unix|EMER|could not detach from foreground session
  62. 2018-08-20T08:56:41.285Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
  63. 2018-08-20T08:56:41.291Z|00002|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 0
  64. 2018-08-20T08:56:41.291Z|00003|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 1
  65. 2018-08-20T08:56:41.291Z|00004|ovs_numa|INFO|Discovered 2 NUMA nodes and 32 CPU cores
  66. 2018-08-20T08:56:41.291Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...
  67. 2018-08-20T08:56:41.292Z|00006|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
  68. 2018-08-20T08:56:41.293Z|00007|dpdk|INFO|Using DPDK 17.11.0
  69. 2018-08-20T08:56:41.293Z|00008|dpdk|INFO|DPDK Enabled - initializing...
  70. 2018-08-20T08:56:41.293Z|00009|dpdk|INFO|No vhost-sock-dir provided - defaulting to /var/run/openvswitch
  71. 2018-08-20T08:56:41.293Z|00010|dpdk|INFO|IOMMU support for vhost-user-client disabled.
  72. 2018-08-20T08:56:41.293Z|00011|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-mem 2048,2048 -c 0x00000001
  73. 2018-08-20T08:56:41.295Z|00012|dpdk|INFO|EAL: Detected 32 lcore(s)
  74. 2018-08-20T08:56:41.346Z|00013|dpdk|INFO|EAL: Probing VFIO support...
  75. 2018-08-20T08:56:41.346Z|00014|dpdk|INFO|EAL: VFIO support initialized
  76. 2018-08-20T08:56:41.348Z|00015|dpdk|ERR|EAL: Not enough memory available on socket 0! Requested: 2048MB, available: 0MB
  77. 2018-08-20T08:56:41.348Z|00016|dpdk|ERR|EAL: Cannot init memory
  78. 2018-08-20T08:56:41.355Z|00002|daemon_unix|ERR|fork child died before signaling startup (killed (Aborted))
  79. 2018-08-20T08:56:41.355Z|00003|daemon_unix|EMER|could not detach from foreground session
  80. 2018-08-20T08:56:41.535Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
  81. 2018-08-20T08:56:41.541Z|00002|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 0
  82. 2018-08-20T08:56:41.541Z|00003|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 1
  83. 2018-08-20T08:56:41.541Z|00004|ovs_numa|INFO|Discovered 2 NUMA nodes and 32 CPU cores
  84. 2018-08-20T08:56:41.541Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...
  85. 2018-08-20T08:56:41.541Z|00006|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
  86. 2018-08-20T08:56:41.543Z|00007|dpdk|INFO|Using DPDK 17.11.0
  87. 2018-08-20T08:56:41.543Z|00008|dpdk|INFO|DPDK Enabled - initializing...
  88. 2018-08-20T08:56:41.543Z|00009|dpdk|INFO|No vhost-sock-dir provided - defaulting to /var/run/openvswitch
  89. 2018-08-20T08:56:41.543Z|00010|dpdk|INFO|IOMMU support for vhost-user-client disabled.
  90. 2018-08-20T08:56:41.543Z|00011|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-mem 2048,2048 -c 0x00000001
  91. 2018-08-20T08:56:41.545Z|00012|dpdk|INFO|EAL: Detected 32 lcore(s)
  92. 2018-08-20T08:56:41.595Z|00013|dpdk|INFO|EAL: Probing VFIO support...
  93. 2018-08-20T08:56:41.595Z|00014|dpdk|INFO|EAL: VFIO support initialized
  94. 2018-08-20T08:56:41.598Z|00015|dpdk|ERR|EAL: Not enough memory available on socket 0! Requested: 2048MB, available: 0MB
  95. 2018-08-20T08:56:41.598Z|00016|dpdk|ERR|EAL: Cannot init memory
  96. 2018-08-20T08:56:41.605Z|00002|daemon_unix|ERR|fork child died before signaling startup (killed (Aborted))
  97. 2018-08-20T08:56:41.605Z|00003|daemon_unix|EMER|could not detach from foreground session
  98. 2018-08-20T08:56:41.785Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
  99. 2018-08-20T08:56:41.791Z|00002|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 0
  100. 2018-08-20T08:56:41.791Z|00003|ovs_numa|INFO|Discovered 16 CPU cores on NUMA node 1
  101. 2018-08-20T08:56:41.791Z|00004|ovs_numa|INFO|Discovered 2 NUMA nodes and 32 CPU cores
  102. 2018-08-20T08:56:41.791Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...
  103. 2018-08-20T08:56:41.791Z|00006|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
  104. 2018-08-20T08:56:41.793Z|00007|dpdk|INFO|Using DPDK 17.11.0
  105. 2018-08-20T08:56:41.793Z|00008|dpdk|INFO|DPDK Enabled - initializing...
  106. 2018-08-20T08:56:41.793Z|00009|dpdk|INFO|No vhost-sock-dir provided - defaulting to /var/run/openvswitch
  107. 2018-08-20T08:56:41.793Z|00010|dpdk|INFO|IOMMU support for vhost-user-client disabled.
  108. 2018-08-20T08:56:41.793Z|00011|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-mem 2048,2048 -c 0x00000001
  109. 2018-08-20T08:56:41.795Z|00012|dpdk|INFO|EAL: Detected 32 lcore(s)
  110. 2018-08-20T08:56:41.846Z|00013|dpdk|INFO|EAL: Probing VFIO support...
  111. 2018-08-20T08:56:41.846Z|00014|dpdk|INFO|EAL: VFIO support initialized
  112. 2018-08-20T08:56:41.848Z|00015|dpdk|ERR|EAL: Not enough memory available on socket 0! Requested: 2048MB, available: 0MB
  113. 2018-08-20T08:56:41.848Z|00016|dpdk|ERR|EAL: Cannot init memory
  114. 2018-08-20T08:56:41.855Z|00002|daemon_unix|ERR|fork child died before signaling startup (killed (Aborted))
  115. 2018-08-20T08:56:41.855Z|00003|daemon_unix|EMER|could not detach from foreground session
  116.  
  117.  
  118. iommu enabled: 86:00.0 and 86:00.1 is the bus address of the dpdk bound nic ports and they are assigned to iommu group 59 and 60
  119.  
  120. dmesg |grep -i iommu
  121. [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.11.6.el7.x86_64 root=/dev/mapper/rhel-root ro crashkernel=auto rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet LANG=en_US.UTF-8 default_hugepagesz=1GB hugepagesz=1G hugepages=40 isolcpus=1-15,17-31 rcu_nocbs=1-15,17-31 nohz_full=1-15,17-31 intel_iommu=on iommu=pt selinux=0 enforcing=0 processor.max_cstate=0 intel_pstate=disable hpet=disable nosoftlockup intel_idle.max_cstate=0 mce=ignore_ce audit=0
  122. [    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.11.6.el7.x86_64 root=/dev/mapper/rhel-root ro crashkernel=auto rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet LANG=en_US.UTF-8 default_hugepagesz=1GB hugepagesz=1G hugepages=40 isolcpus=1-15,17-31 rcu_nocbs=1-15,17-31 nohz_full=1-15,17-31 intel_iommu=on iommu=pt selinux=0 enforcing=0 processor.max_cstate=0 intel_pstate=disable hpet=disable nosoftlockup intel_idle.max_cstate=0 mce=ignore_ce audit=0
  123. [    0.000000] DMAR: IOMMU enabled
  124. [    0.117758] DMAR-IR: IOAPIC id 12 under DRHD base  0xeaffc000 IOMMU 6
  125. [    0.117759] DMAR-IR: IOAPIC id 11 under DRHD base  0xe6bfc000 IOMMU 5
  126. [    2.002482] iommu: Adding device 0000:86:00.0 to group 59
  127. [    2.002536] iommu: Adding device 0000:86:00.1 to group 60
  128.  
  129. lshw -c network -businfo
  130. Bus info          Device      Class          Description
  131. ========================================================
  132. pci@0000:02:00.0  eno1        network        NetXtreme BCM5719 Gigabit Ethernet PCIe
  133. pci@0000:02:00.1  eno2        network        NetXtreme BCM5719 Gigabit Ethernet PCIe
  134. pci@0000:02:00.2  eno3        network        NetXtreme BCM5719 Gigabit Ethernet PCIe
  135. pci@0000:02:00.3  eno4        network        NetXtreme BCM5719 Gigabit Ethernet PCIe
  136. pci@0000:86:00.0              network        Ethernet Controller XXV710 for 25GbE SFP28
  137. pci@0000:86:00.1              network        Ethernet Controller XXV710 for 25GbE SFP28
  138.                   br-eno1     network        Ethernet interface
  139.                   virbr0-nic  network        Ethernet interface
  140.                   virbr0      network        Ethernet interface
  141.  
  142. meminfo output:
  143.  
  144. grep -i huge /proc/meminfo
  145. AnonHugePages:      8192 kB
  146. HugePages_Total:      40
  147. HugePages_Free:       40
  148. HugePages_Rsvd:        0
  149. HugePages_Surp:        0
  150. Hugepagesize:    1048576 kB
  151.  
  152.  
  153. cat nr_hugepages:
  154.  
  155. [root@rhel7 ~]#cat /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages
  156. 20
  157. [root@rhel7 ~]# cat /sys/devices/system/node/node1/hugepages/hugepages-1048576kB/nr_hugepages
  158. 20
  159.  
  160. mount hugepages:
  161.  
  162. [root@rhel7 ~]# cat /etc/fstab
  163.  
  164. #
  165. # /etc/fstab
  166. # Created by anaconda on Tue Aug 14 22:30:28 2018
  167. #
  168. # Accessible filesystems, by reference, are maintained under '/dev/disk'
  169. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
  170. #
  171. /dev/mapper/rhel-root   /                       xfs     defaults        0 0
  172. UUID=77f07eb6-9db3-427c-87fc-f8037e8baad7 /boot                   xfs     defaults        0 0
  173. /dev/mapper/rhel-home   /home                   xfs     defaults        0 0
  174. /dev/mapper/rhel-swap   swap                    swap    defaults        0 0
  175. hugetlbfs /dev/hugepages1G hugetlbfs pagesize=1GB 0 0
  176. [root@rhel7 ~]# mount |grep -i huge
  177. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  178. hugetlbfs on /dev/hugepages1G type hugetlbfs (rw,relatime,pagesize=1GB)
  179. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  180. [root@rhel7 ~]#
  181.  
  182. [root@rhel7 ~]# cat /boot/config-$(uname -r)  | grep HUGETLBFS
  183. CONFIG_HUGETLBFS=y
  184.  
  185.  
  186. ##################
  187. after reboot, 2 hugepages is unavailable. but cat nr_hugepages shows all 40 as available
  188.  
  189. [root@rhel7 ~]# grep -i huge /proc/meminfo
  190. AnonHugePages:     16384 kB
  191. HugePages_Total:      40
  192. HugePages_Free:       38
  193. HugePages_Rsvd:        0
  194. HugePages_Surp:        0
  195. Hugepagesize:    1048576 kB
  196. [root@rhel7 ~]# cat /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages
  197. 20
  198. [root@rhel7 ~]# cat /sys/devices/system/node/node1/hugepages/hugepages-1048576kB/nr_hugepages
  199. 20
  200.  
  201. [root@rhel7 ~]# mount |grep -i huge
  202. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  203. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  204. [root@rhel7 ~]# ls /dev/ |grep -i huge
  205. hugepages
  206. [root@rhel7 ~]# mount -t hugetlbfs nodev /dev/hugepages -o pagesize=1GB
  207. [root@rhel7 ~]# mount |grep -i huge
  208. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  209. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  210. nodev on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=1GB)
  211.  
  212. after mounting hugepages to /dev/hugepages only 1 hugepage is free even though cat nr_hugepages shows all 40 as available, but free_hugepages show 0 and 6
  213.  
  214. [root@rhel7 ~]# grep -i huge /proc/meminfo
  215. AnonHugePages:     16384 kB
  216. HugePages_Total:      40
  217. HugePages_Free:        1
  218. HugePages_Rsvd:        0
  219. HugePages_Surp:        0
  220. Hugepagesize:    1048576 kB
  221. [root@rhel7 ~]# free -h
  222.               total        used        free      shared  buff/cache   available
  223. Mem:           188G         41G        146G         10M        260M        146G
  224. Swap:          4.0G          0B        4.0G
  225. [root@rhel7 ~]# cat /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages
  226. 20
  227. [root@rhel7 ~]# cat /sys/devices/system/node/node1/hugepages/hugepages-1048576kB/nr_hugepages
  228. 20
  229.  
  230. [root@rhel7 ~]# cat /sys/devices/system/node/node1/hugepages/hugepages-1048576kB/free_hugepages
  231. 0
  232. [root@rhel7 ~]# cat /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/free_hugepages
  233. 6
  234. [root@rhel7 ~]#
  235.  
  236.  
  237. smaps: 6130 is pid of ovs
  238.  
  239. [root@rhel7 6130]# ps -ef |grep ovs
  240. root      2888  2816  0 Aug20 pts/1    00:00:00 tailf /var/log/openvswitch/ovs-vswitchd.log
  241. openvsw+  6130     1  0 00:12 ?        00:00:00 ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --user openvswitch:hugetlbfs --no-chdir --log-file=/var/log/openvswitch/ovsdb-server.log --pidfile=/var/run/openvswitch/ovsdb-server.pid --detach
  242. root     14039  2139  0 02:26 pts/0    00:00:00 grep --color=auto ovs
  243.  
  244.  
  245. [root@rhel7 6130]# less smaps
  246. 5580845ae000-558084764000 r-xp 00000000 fd:00 109088794                  /usr/sbin/ovsdb-server
  247. Size:               1752 kB
  248. Rss:                 448 kB
  249. Pss:                 448 kB
  250. Shared_Clean:          0 kB
  251. Shared_Dirty:          0 kB
  252. Private_Clean:       448 kB
  253. Private_Dirty:         0 kB
  254. Referenced:          448 kB
  255. Anonymous:             0 kB
  256. AnonHugePages:         0 kB
  257. Swap:                  0 kB
  258. KernelPageSize:        4 kB
  259. MMUPageSize:           4 kB
  260. Locked:                0 kB
  261. ProtectionKey:         0
  262. VmFlags: rd ex mr mw me dw sd
  263. 558084964000-558084972000 r--p 001b6000 fd:00 109088794                  /usr/sbin/ovsdb-server
  264. Size:                 56 kB
  265. Rss:                  56 kB
  266. Pss:                  56 kB
  267. Shared_Clean:          0 kB
  268. Shared_Dirty:          0 kB
  269. Private_Clean:         0 kB
  270. Private_Dirty:        56 kB
  271. Referenced:           16 kB
  272. Anonymous:            56 kB
  273. AnonHugePages:         0 kB
  274. Swap:                  0 kB
  275. KernelPageSize:        4 kB
  276. MMUPageSize:           4 kB
  277. Locked:                0 kB
  278. ProtectionKey:         0
  279. VmFlags: rd mr mw me dw ac sd
  280.  
  281.  
  282. Finally worked after not creating a mount point for hugepages:
  283.  
  284. [root@rhel7 ~]# ovs-vsctl get open_vswitch . other_config
  285. {dpdk-init="true", dpdk-socket-mem="0,2048"}
  286. [root@rhel7 ~]# systemctl status openvswitch.service
  287. ● openvswitch.service - Open vSwitch
  288.    Loaded: loaded (/usr/lib/systemd/system/openvswitch.service; enabled; vendor preset: disabled)
  289.    Active: active (exited) since Tue 2018-08-21 03:21:34 EDT; 7min ago
  290.   Process: 1169 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
  291.  Main PID: 1169 (code=exited, status=0/SUCCESS)
  292.     Tasks: 0
  293.    CGroup: /system.slice/openvswitch.service
  294.  
  295. Aug 21 03:21:34 rhel7 systemd[1]: Starting Open vSwitch...
  296. Aug 21 03:21:34 rhel7 systemd[1]: Started Open vSwitch.
  297. [root@rhel7 ~]#
  298.  
  299. ovs-vswitch log:
  300.  
  301. 2018-08-21T07:27:31.885Z|00010|dpdk|INFO|Using DPDK 17.11.0
  302. 2018-08-21T07:27:31.885Z|00011|dpdk|INFO|DPDK Enabled - initializing...
  303. 2018-08-21T07:27:31.885Z|00012|dpdk|INFO|No vhost-sock-dir provided - defaulting to /var/run/openvswitch
  304. 2018-08-21T07:27:31.885Z|00013|dpdk|INFO|IOMMU support for vhost-user-client disabled.
  305. 2018-08-21T07:27:31.885Z|00014|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-mem 0,2048 -c 0x00000001
  306. 2018-08-21T07:27:31.887Z|00015|dpdk|INFO|EAL: Detected 32 lcore(s)
  307. 2018-08-21T07:27:31.938Z|00016|dpdk|INFO|EAL: Probing VFIO support...
  308. 2018-08-21T07:27:31.938Z|00017|dpdk|INFO|EAL: VFIO support initialized
  309. 2018-08-21T07:27:44.081Z|00018|dpdk|WARN|EAL: WARNING: Master core has no memory on local socket!
  310. 2018-08-21T07:27:44.083Z|00019|dpdk|INFO|EAL: PCI device 0000:86:00.0 on NUMA socket 1
  311. 2018-08-21T07:27:44.083Z|00020|dpdk|INFO|EAL:   probe driver: 8086:158b net_i40e
  312. 2018-08-21T07:27:44.083Z|00021|dpdk|INFO|EAL: PCI device 0000:86:00.1 on NUMA socket 1
  313. 2018-08-21T07:27:44.083Z|00022|dpdk|INFO|EAL:   probe driver: 8086:158b net_i40e
  314. 2018-08-21T07:27:44.086Z|00023|dpdk|INFO|DPDK Enabled - initialized
  315. 2018-08-21T07:27:44.086Z|00024|timeval|WARN|Unreasonably long 12201ms poll interval (5ms user, 12064ms system)
  316. 2018-08-21T07:27:44.086Z|00025|timeval|WARN|faults: 25967 minor, 0 major
  317. 2018-08-21T07:27:44.086Z|00026|timeval|WARN|context switches: 1 voluntary, 146 involuntary
  318. 2018-08-21T07:27:44.086Z|00027|coverage|INFO|Event coverage, avg rate over last: 5 seconds, last minute, last hour,  hash=832f006e:
  319. 2018-08-21T07:27:44.086Z|00028|coverage|INFO|bridge_reconfigure         0.2/sec     0.083/sec        0.0061/sec   total: 22
  320. 2018-08-21T07:27:44.086Z|00029|coverage|INFO|cmap_expand                0.0/sec     0.350/sec        0.0506/sec   total: 182
  321. 2018-08-21T07:27:44.086Z|00030|coverage|INFO|cmap_shrink                0.0/sec     0.350/sec        0.0481/sec   total: 173
  322. 2018-08-21T07:27:44.086Z|00031|coverage|INFO|miniflow_malloc            0.0/sec     0.500/sec        0.0714/sec   total: 257
  323. 2018-08-21T07:27:44.086Z|00032|coverage|INFO|hmap_pathological          0.0/sec     0.000/sec        0.0003/sec   total: 1
  324. 2018-08-21T07:27:44.086Z|00033|coverage|INFO|hmap_expand                1.6/sec     0.850/sec        0.2622/sec   total: 944
  325. 2018-08-21T07:27:44.086Z|00034|coverage|INFO|txn_unchanged              0.4/sec     0.200/sec        0.0183/sec   total: 66
  326. 2018-08-21T07:27:44.086Z|00035|coverage|INFO|txn_incomplete             0.2/sec     0.017/sec        0.0003/sec   total: 1
  327. 2018-08-21T07:27:44.086Z|00036|coverage|INFO|poll_create_node           1.4/sec     0.900/sec        0.2289/sec   total: 824
  328. 2018-08-21T07:27:44.086Z|00037|coverage|INFO|seq_change                 0.2/sec     0.567/sec        0.3419/sec   total: 1231
  329. 2018-08-21T07:27:44.086Z|00038|coverage|INFO|pstream_open               0.0/sec     0.000/sec        0.0003/sec   total: 1
  330. 2018-08-21T07:27:44.086Z|00039|coverage|INFO|stream_open                0.0/sec     0.000/sec        0.0003/sec   total: 1
  331. 2018-08-21T07:27:44.086Z|00040|coverage|INFO|util_xalloc               10.8/sec     8.900/sec        4.3314/sec   total: 15593
  332. 2018-08-21T07:27:44.086Z|00041|coverage|INFO|netdev_get_hwaddr          0.0/sec     0.100/sec        0.0125/sec   total: 45
  333. 2018-08-21T07:27:44.086Z|00042|coverage|INFO|netlink_received           0.0/sec     0.250/sec        0.0586/sec   total: 211
  334. 2018-08-21T07:27:44.086Z|00043|coverage|INFO|netlink_sent               0.0/sec     0.050/sec        0.0097/sec   total: 35
  335. 2018-08-21T07:27:44.086Z|00044|coverage|INFO|nln_changed                0.0/sec     0.050/sec        0.0175/sec   total: 63
  336. 2018-08-21T07:27:44.086Z|00045|coverage|INFO|87 events never hit
  337. 2018-08-21T07:27:44.088Z|00046|poll_loop|INFO|wakeup due to [POLLIN] on fd 11 (<->/var/run/openvswitch/db.sock) at lib/stream-fd.c:157 (98% CPU usage)
  338. 2018-08-21T07:27:44.088Z|00047|memory|INFO|peak resident set size grew 183% in last 350.2 seconds, from 18384 kB to 52108 kB
Add Comment
Please, Sign In to add comment