[Devel] [PATCH libvzctl v2] scripts: vz_ -- Checkpoint and restore AIO staistics

Cyrill Gorcunov gorcunov at virtuozzo.com
Mon Apr 11 01:21:14 PDT 2016


On Mon, Apr 11, 2016 at 10:24:36AM +0300, Igor Sukhih wrote:
> On 04/11/2016 10:07 AM, Cyrill Gorcunov wrote:
> >On Mon, Apr 11, 2016 at 09:39:18AM +0300, Igor Sukhih wrote:
> >>>  		cgget -n -v -r ve.clock_bootbased $VEID > $1/vz_clock_bootbased.img
> >>>  		cgget -n -v -r ve.clock_monotonic $VEID > $1/vz_clock_monotonic.img
> >>>+		# AIO statistics
> >>>+		cgget -n -v -r ve.aio_max_nr $VEID > $1/vz_aio_max_nr.img
> >>cgget -n -v -r ve.aio_max_nr 1024
> >>cgget: cannot read group '1024': Cgroup does not exist
> >This part requires kernel patch as well (seems I forgot to CC you on it).
> >Igor, defer applying it please until kernel part merged (we're waiting
> >for Kirill's comments). I'll ping you when kernel side will be ready.
> action is not failed, so not depended on kernel
> # cgget -n -v -r ve.aio_max_nr 1024
> cgget: cannot read group '1024': Cgroup does not exist
> # echo $?
> 0

Great. Then it's safe for merging.

> >Side note: look, it seems there become more vz_...img files in dump
> >directory, maybe it worth to merge them all into some single
> >vz_params.img (until we've not pushed out releas I guess we can
> >optimize things safely)?
> It will require single format for all vz_* parameters. It Ok for me to have
> single image per parameter

OK, lets stik this way then. Thanks!


More information about the Devel mailing list