Actions
Feature #52510
openSpeed up inventory processing to reduce run time
% Done:
50%
Source:
Tags:
Backport:
Description
The current inventory subcommand can take a while to return results. Looking at the code, the Device class is performing lvm,blkid,udevadm commands serially which contributes to the run time.
This feature introduces a parameter to the inventory subcommand call --with-preload. When this flag is true, the device metadata will be gathered in parallel and consumed by the normal Device class instance, reducing the elapsed time.
Testing has shown the following, with a physical server of 16 drives (15 used, 1 free)
Invocation Cold* Warm
normal ceph-volume 13.3s 6.1s
with-preload 5.2s 1.5s
13.32s
Actions