Merge lp:~paelzer/serverguide/serverguide-16.04-dpdk-numa into lp:serverguide/trunk

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Doug Smythies
Approved revision: 298
Merged at revision: 298
Proposed branch: lp:~paelzer/serverguide/serverguide-16.04-dpdk-numa
Merge into: lp:serverguide/trunk
Diff against target: 29 lines (+10/-2)
1 file modified
serverguide/C/network-config.xml (+10/-2)
To merge this branch: bzr merge lp:~paelzer/serverguide/serverguide-16.04-dpdk-numa
Reviewer Review Type Date Requested Status
Doug Smythies Approve
Review via email: mp+296015@code.launchpad.net

Commit message

Add dpdk numa configuration info for multi socket systems.

Description of the change

A discussion upstream identified a piece of missing information that now gets added via this MP.

To post a comment you must log in.
Revision history for this message
Doug Smythies (dsmythies) wrote :

O.K. thanks very much.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'serverguide/C/network-config.xml'
2--- serverguide/C/network-config.xml 2016-05-06 18:56:14 +0000
3+++ serverguide/C/network-config.xml 2016-05-30 06:27:49 +0000
4@@ -1469,7 +1469,7 @@
5 Therefore hugepages have to be configured in your system.
6 </para>
7 <para>
8- The dpdk package has a config file and scripts that try to ease hugepage configuration for dpdk in the form of /etc/dpdk/dpdk.conf.
9+ The dpdk package has a config file and scripts that try to ease hugepage configuration for dpdk in the form of <emphasis>/etc/dpdk/dpdk.conf</emphasis>.
10 If you have more consumers of hugepages than dpdk in your system or very special requirements how your hugepages are going to be set up you likely want to allocate/control them by yourself.
11 If not this can be a great simplification to get dpdk to run for yourself.
12 </para>
13@@ -1536,7 +1536,15 @@
14 Please remember that you have to assign devices to DPDK compatible drivers (see above) before restarting.
15 </para>
16 <para>
17- The section ''--vhost-owner libvirt-qemu:kvm --vhost-perm 0664'' will set vhost_user ports up with owner/permissions to be compatible with Ubuntus way of running qemu-kvm/libvirt with reduced privileges for more security.
18+ The section <emphasis>--vhost-owner libvirt-qemu:kvm --vhost-perm 0664</emphasis> will set vhost_user ports up with owner/permissions to be compatible with Ubuntus way of running qemu-kvm/libvirt with reduced privileges for more security.
19+ </para>
20+ <para>
21+ Please note that the section <emphasis>-m 2048</emphasis> is the most basic numa setup for a single socket system.
22+ If you have multiple sockets you might want to define how to split your memory among them, for example <emphasis>-m 1024, 1024</emphasis>.
23+ Please be aware that DPDK will try to work only with local memory to the network cards it works with (for performance reasons).
24+ That said if you have multiple nodes, but all network cards on one, you should consider spreading your cards.
25+ If not at least allocate your memory to the node where the cards reside, for example in a two node all to node #2: <emphasis>-m 0, 2048</emphasis>.
26+ You can use the tool <emphasis>lstopo</emphasis> from the package <emphasis>hwloc-nox</emphasis> to see on which socket your cards are located.
27 </para>
28 <para>
29 The OpenVswitch you now started supports all port types OpenVswitch usually does, plus DPDK port types.

Subscribers

People subscribed via source and target branches