[ldv-project] Using control groups to manage resources used by LDV Tools

Evgeny Novikov novikov at ispras.ru
Tue Oct 22 12:33:18 MSK 2013


Hi everybody!

Starting from commit bb90d16 in the master branch 
(http://forge.ispras.ru/projects/ldv/repository/revisions/bb90d16bd49d6735a2523f8fa08f3c731493b5ab) 
we began to use control groups to manage resources used by LDV Tools.

If you are going to update LDV Tools, then you need to install one new 
dependency 'libcgroup'. Corresponding packages can be easily found in 
the most of distributions. Also it is strongly recommended to completely 
separate previous sources and binaries of LDV Tools with the fresh ones 
(to avoid different issues with installation). In many cases you need to 
remove all previous stuff, to clone Git repository and to follow 
following instructions (from INSTALL - 
http://forge.ispras.ru/projects/ldv/repository/revisions/bb90d16bd49d6735a2523f8fa08f3c731493b5ab/entry/INSTALL):
=========================================================
INSTALLING LDV

Run:
   make console-tools
and then:
   sudo prefix=/path/to/your/installation/directory make 
install-console-tools
Once after installation or after each change of LDV control group 
configuration
you need to manually restart libcgroup configuration service, e.g. by 
means of
"/etc/init.d/cgconfig restart" on openSUSE (on system rebooting this will be
done automatically if you have added that service to the autostarting ones).

If you need to install visualization stuff (most likely you need this if you
are outside ISP RAS), then read stats-visualizer/README, run:
   make visualization
and then:
   sudo prefix=/path/to/your/installation/directory make 
install-visualization
Once after installation or after each change of LDV Analytics Center
configuration you need to manually restart apache2 service, e.g. by means of
"/etc/init.d/apache2 restart" on openSUSE (on system rebooting this will be
done automatically if you have added that service to the autostarting ones).

Testing stuff, e.g. for rule models testing, can be installed by:
   make testing
and:
   sudo prefix=/path/to/your/installation/directory make install-testing
=========================================================

We apologize to anyone who couldn't install LDV Tools recently. And we 
are looking forward for your feedback in case of any issues 
(http://forge.ispras.ru/projects/ldv/issues).

-- 
Best regards, Evgeny Novikov.
Linux Verification Center, ISPRAS
web: http://linuxtesting.org
e-mail: novikov at ispras.ru




More information about the ldv-project mailing list