Red Hat Bugzilla – Bug 1309728
ssm list is slow
Last modified: 2016-02-24 07:20:57 EST
Description of problem:
# time ssm list > /dev/null 2>&1
# ssm list | wc -l
Version-Release number of selected component (if applicable):
thanks for the report, could you please provide the output and the duration of the following script ?
echo 3 > /proc/sys/vm/drop_caches
echo "=== partitions"
echo "=== pvs"
echo "=== vgs"
echo "=== lvs"
echo "=== dmsetup table"
time dmsetup table
echo "=== lsblk"
Also can you please provide a separate times for:
ssm list dev
ssm list pool
ssm list vol
And lastly please provide the output of:
python -m cProfile -s cumtime /bin/ssm list
I retested in the same lab now after some RHEL upgrades and rebooting the nodes, now ssm list feels instant and it takes less than one second to complete.
I think we can close this, probably a non-ssm hickup not worth investigating further here. If I see this again, I could of course provide the above information then.