smadaminov / ovs-dpdk-meson-issues

VMware Summer 2021
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

start OVS-DPDK #56

Open williamtu opened 3 years ago

williamtu commented 3 years ago
PS C:\openvswitch\usr\local\sbin> .\ovs-vswitchd.exe --log-file --pidfile  --disable-system
2021-09-02T22:42:55Z|00001|vlog|INFO|opened log file c:/openvswitch/var/log//ovs-vswitchd.log
2021-09-02T22:42:55Z|00002|ovs_numa|INFO|Discovered 0 NUMA nodes and 0 CPU cores
2021-09-02T22:42:55Z|00003|reconnect|INFO|unix:c:/openvswitch/var/run//db.sock: connecting...
2021-09-02T22:42:55Z|00004|reconnect|INFO|unix:c:/openvswitch/var/run//db.sock: connected
2021-09-02T22:42:55Z|00005|dpdk|INFO|Using 123
2021-09-02T22:42:55Z|00006|dpdk|INFO|DPDK Enabled - initializing...
2021-09-02T22:42:55Z|00007|dpdk|ERR|Can't redirect DPDK log: Success.
2021-09-02T22:42:55Z|00008|dpdk|INFO|Per port memory for DPDK devices disabled.
2021-09-02T22:42:55Z|00009|dpdk|INFO|Using default value for '--socket-mem'. OVS will no longer provide a default for this argument starting from 2.17 release. DPDK defaults will be used instead.
2021-09-02T22:42:55Z|00010|dpdk|INFO|Using default value for '--socket-limit'. OVS will no longer provide a default for this argument starting from 2.17 release. DPDK defaults will be used instead.
2021-09-02T22:42:55Z|00011|dpdk|ERR|Thread getaffinity failed. Using core #0
2021-09-02T22:42:55Z|00012|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-mem  --socket-limit  -l 0.
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Option socket-mem is not supported on Windows

Usage: ovs-vswitchd [options]

EAL common options:
  -c COREMASK         Hexadecimal bitmask of cores to run on
  -l CORELIST         List of cores to run on
                      The argument format is <c1>[-c2][,c3[-c4],..
williamtu commented 3 years ago

I should setup

dpdk-socket-mem Comma separated list of memory to pre-allocate from hugepages on specific sockets. If not specified, this option will not be set by default. DPDK default will be used instead.

dpdk-hugepage-dir Directory where hugetlbfs is mounted