Public bug reported: Procedure is almost same as https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1719387
OS: Ubuntu 17.10 , update to latest version Hardware : ThunderX 2S System (Gigabyte R150) Reproduce procedure ==== DPDKDEV1=0006:01:00.1 DPDKDEV2=0006:01:00.2 dpdk-devbind -b vfio-pci $DPDKDEV1 dpdk-devbind -b vfio-pci $DPDKDEV2 sysctl -w vm.nr_hugepages=24 umount /dev/hugepages mount -t hugetlbfs none /dev/hugepages grep HugePages_ /proc/meminfo pkill ovs sleep 5 rm -rf /etc/openvswitch/* rm -rf /var/run/openvswitch/* rm -rf /var/log/openvswitch/* ovsdb-tool create /etc/openvswitch/conf.db /usr/share/openvswitch/vswitch.ovsschema ovsdb-server --remote=punix:/var/run/openvswitch/db.sock --remote=db:Open_vSwitch,Open_vSwitch,manager_options --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --pidfile --detach --log-file ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem="1024,1024" ovs-vsctl --no-wait init TXQ=2 ovs-vswitchd --pidfile --detach --log-file ovs-vsctl del-br br0 ovs-vsctl --log-file=/var/log/openvswitch/ovs-ctl.log add-br br0 -- set bridge br0 datapath_type=netdev ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=${DPDKDEV1} ovs-vsctl add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk options:dpdk-devargs=${DPDKDEV2} ovs-ofctl add-flow br0 in_port=1,action=output:2 ovs-ofctl add-flow br0 in_port=2,action=output:1 ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x6 ovs-vsctl set Interface dpdk0 options:n_rxq=2 ovs-vsctl set Interface dpdk1 options:n_rxq=2 ==== if replace pmd-cpu-mask=0x6 with pmd-cpu-mask=0x30000000000030. Only two CPU works example htop result. it should have two 100% loading CPU on 5/6. but only have two CPUs totally. https://www.flickr.com/photos/richliu_tw/37058355540/in/dateposted-public/ ** Affects: dpdk (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719392 Title: DPDK with OVS cannot allocate CPU on different socket/processor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1719392/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs