Dear All, I would like to run OVS with DPDK using multiple cores by multiple poll-mode driver threads to fine tune the performance and achieve higher packet rate. I realized that since version 2.5.0 the multiple core assignment changed a bit, and I followed the instructions at http://docs.openvswitch.org/en/latest/intro/install/dpdk/
Everything is properly installed and set with respect to hugepages, dpdk drivers, etc. Here is the relevant part of my init-script, for instance, in case of 3 cores: sudo $OVS_PATH/utilities/ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true sudo $OVS_PATH/utilities/ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=e sudo $OVS_PATH/utilities/ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem="4096,0" sudo $OVS_PATH/utilities/ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-hugepage-dir="/mnt/huge" sudo $OVS_PATH/utilities/ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask=e sudo $OVS_PATH/utilities/ovs-vsctl --no-wait set Open_vSwitch . other_config:n-rxq=3 sudo $OVS_PATH/vswitchd/ovs-vswitchd unix:$DB_SOCK --pidfile --detach I also tried the older version of rx_queue setup that worked for version 2.5.0: sudo $OVS_PATH/utilities/ovs-vsctl set Open_vSwitch . other_config:*n-dpdk-rxqs=3 *Open vSwitch starts, but after installing numerous flow rules, sending different packets with different L2/L3/L4 headers (to foster RSS), it did not scale up. It still used only 1 core. Linux command /top/ showed only 100% CPU load instead of 300%, or even when I checked //proc/cpuinfo/ it also showed that only 1 core is scaled up to the maximum CPU frequency. (Furthermore, if the outputs of these programs were wrong after all, I check the packet rate as well, but it did not change unfortunately) Would anyone be so kind as to further assist me towards using multiple cores? What did I miss/do wrong? Thank you in advance, Levi
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss