[Users] parallel CT start - please help testing

Kir Kolyshkin kir at openvz.org
Wed May 7 21:20:50 PDT 2014


I just implemented parallel CT start in vz initscript, and it needs
some more testing, so if anyone can help that'd be awesome.

The feature improves a speed of starting/resuming containers
on node boot by running 4*numcpu vzctl start processes in parallel.
It was implemented that way for stop some long time ago, but now
it's done the same way for start. Besides, I changed the output a bit,
and added a new global parameter VE_PARALLEL (automatically set
to 4*numcpu if unset), which can be used to control how many CTs
you want to start/stop in parallel.

vzctl rpms with this feature is here:
http://download.openvz.org/utils/nightlies/vzctl/4.7.2-7.g7cbace6/

sources can be found at:
http://download.openvz.org/utils/nightlies/vzctl/4.7.2-7.g7cbace6/src/

relevant git commits are here:
     http://git.openvz.org/?p=vzctl;a=log;h=7cbace6

*I am especially interested in someone using Gentoo*, as I am currently
unable to test it myself. Other distros are welcome as well of course.

What needs to be done is to run:

/etc/init.d/vz stop
/etc/init.d/vz start

a few times and check if everything works like it should (i.e. containers
are stopped/suspended and started/restored, output is sane etc.).

This functionality will be available in vzctl 4.8.

Kir.


More information about the Users mailing list