Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide
Increasing Cisco CSR 1000V Performance Levels
Downloads: This chapterpdf (PDF - 169.0KB) The complete bookPDF (PDF - 3.44MB) | Feedback

Table Of Contents

Increasing Cisco CSR 1000V Performance Levels

Increasing Performance on KVM Configurations


Increasing Cisco CSR 1000V Performance Levels


This chapter describes configurations you can change on the hypervisor host that can increase performance levels on the Cisco CSR 1000V. The options provided in this chapter have been tested and verified by Cisco. Hypervisor host options or configurations not listed have not been tested or verified by Cisco.

Increasing Performance on KVM Configurations

Increasing Performance on KVM Configurations

Beginning with Cisco IOS XE Release 3.11S, you can increase the performance for a Cisco CSR 1000V in a KVM environment by changing settings on the KVM host. These settings are independent of the Cisco IOS XE configuration settings on the Cisco CSR 1000V. This option is available in Red Hat Enterprise Linux 6.3 KVM environment running Kernel version 2.6.32 and QEMU version 0.12.1.2.


Note The Cisco CSR 1000V does not support jumbo packets larger than 1518 bytes for KVM on a Virtio interface in Cisco IOS XE Release 3.11S. Packets larger than that are dropped.


You can improve performance on KVM configurations by performing the following:

Enabling CPU Pinning

To increase performance for KVM environments, configure the CPU pinning option on the KVM host. In the KVM host environment, use the following command to pin the virtual CPUs to sets of processor cores:

virsh vcpupin <vmname> <vcpu#> <host core#>

This KVM command must be executed for each vCPU on your Cisco CSR 1000V. The following example pins virtual CPU 1 to host core 3:

virsh vcpupin csr1000v 1 3

The following example shows the KVM commands needed if you have a Cisco CSR 1000V configuration with four vCPUs and the host has eight cores:

virsh vcpupin csr1000v 0 2

virsh vcpupin csr1000v 1 3

virsh vcpupin csr1000v 2 4

virsh vcpupin csr1000v 3 5

The host core number can be any number from 0 to 7. For more information, see the KVM documentation.

Enabling the vhost-net driver

To improve performance in KVM environments, Cisco recommends that you enable the LINUX vhost-net driver. Make sure the vhost-net driver is loaded by entering the following command on the KVM host:

modprobe vhost-net

For more information, see the KVM documentation.