summaryrefslogtreecommitdiffstats
path: root/nova/loadables.py
diff options
context:
space:
mode:
authorunicell <unicell@gmail.com>2013-02-20 23:09:19 +0800
committerunicell <unicell@gmail.com>2013-02-20 23:35:03 +0800
commit8f37626f72ce9865bb848170f46c29123014ba55 (patch)
tree9b798c6c195e908d84337cbc4047faec3768c1a9 /nova/loadables.py
parent032308c7920b368541f1f89bfab550e1e9e48f31 (diff)
downloadnova-8f37626f72ce9865bb848170f46c29123014ba55.tar.gz
nova-8f37626f72ce9865bb848170f46c29123014ba55.tar.xz
nova-8f37626f72ce9865bb848170f46c29123014ba55.zip
Improve I/O performance for periodic tasks
Unfortunately, periodic tasks to update local resource and driver status come with performance penalties, especially on LVM image backend type. This is because low level implementation relies 'vgs' command to query LVM info, which itself has a I/O performance price and extravagant use of local_gb_xxx query make things even worse. This commit centralize such query in one single call (volume_group_info) and reduce invocation times in periodic tasks accordingly. Partially resolves LP #1130697 Change-Id: I165f96dd3e4fdad770b8a9643f5a038d353312ff
Diffstat (limited to 'nova/loadables.py')
0 files changed, 0 insertions, 0 deletions