ovs-vswitchd: Add --mlockall option and enable on XenServer.
authorBen Pfaff <blp@nicira.com>
Mon, 30 Nov 2009 21:17:34 +0000 (13:17 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 1 Dec 2009 17:24:59 +0000 (09:24 -0800)
commit86a06318bdfbea056b04eb78bcdea5672d0b200e
tree0047690913a25a31f0fc85161de7cce95eeb92ef
parent651880308c1fb26071f1f0788e3a9c842d927126
ovs-vswitchd: Add --mlockall option and enable on XenServer.

On XenServer 5.5 we found that running 4 simultaneous vm-import operations
on iSCSI caused so much disk and cache activity that (we suspect) parts of
ovs-vswitchd were paged out to disk and were not paged back in for over
10 seconds, causing the XenServer to fall off the network and the XenCenter
connection to fail.

Locking ovs-vswitchd into memory appears to avoid this problem.  Henrik
reports that, with memory locking, importing 11 VMs simultaneously
completed successfully.

Bug #2344.
configure.ac
vswitchd/ovs-vswitchd.8.in
vswitchd/ovs-vswitchd.c
xenserver/etc_init.d_vswitch
xenserver/root_vswitch_scripts_sysconfig.template