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:
Ruben S. Montero committed 2018-10-09 11:15:59 +02:00
1 parent a69baeee1a
commit f54e066949
90 files changed
+1573 -659

No files matched your search

+2 -2
View File
@@ -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 )
{