mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
F #2489: Improve performance of oned:
* Reduce memory footprint
* Improve connection handling in the RequestManager
* Reduce the number of locking calls
* Reduce the size of the VM pool
This commit is contained in:
1 parent
a69baeee1a
commit
f54e066949
90 files changed
+1573
-659
No files matched your search
@@ -112,7 +112,7 @@ int VirtualMachine::set_os_file(VectorAttribute* os, const string& base_name,
|
||||
|
||||
img_id = img_ids.back();
|
||||
|
||||
img = ipool->get(img_id);
|
||||
img = ipool->get_ro(img_id);
|
||||
|
||||
if ( img == 0 )
|
||||
{
|
||||
@@ -157,7 +157,7 @@ int VirtualMachine::set_os_file(VectorAttribute* os, const string& base_name,
|
||||
return -1;
|
||||
}
|
||||
|
||||
ds = ds_pool->get(ds_id);
|
||||
ds = ds_pool->get_ro(ds_id);
|
||||
|
||||
if ( ds == 0 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user