OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

5.8. Tuning Openvswitch-DPDK


DPDK has plenty of options - in combination with Openvswitch-DPDK the two most commonly used are:


ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=2 ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x6


The first select how many rx queues are to be used for each DPDK interface, while the second controls how many and where to run PMD threads. The example above will utilize two rx queues and run PMD threads on CPU 1 and 2. See the referred links to "EAL Command-line Options" and "OpenVswitch DPDK installation" at the end of this document for more.


As usual with tunings you have to know your system and workload really well - so please verify any tunings with workloads matching your real use case.


Top OS Cloud Computing at OnWorks: