Admin cli volume ls
is very slow to list all the volumes if the setup has lots of volumes.
I ran the test multiple times and saw slow behavior across all the runs. I tested with 500 volumes.
Test Steps:
1. Create 500 volumes of 100 mb each sequentially.
2. Do docker volume ls and admin cli volume ls.
3. Remove all the 500 volumes.
Setup:
Setup:
4 ESXs - 364 VMs - 4 shared Vmfs datastores
Each shared vmfs has ~90 VMs.
All the VMs are powered-on.
Details of each run is as follows:
Run-1:
Individual volume creation of 100 mb : 2-3 seconds (mostly 3 and sometimes even 4)
500 Volumes creation : ~27 mins (1642 seconds)
admin cli volume ls : 32 secs
500 Volumes removal : 23 mins
Individual volume removal of 100 mb : 2-3 seconds (mostly 2)
Run-2:
Individual volume creation of 100 mb : 2-3 seconds (mostly 3)
500 Volumes creation : ~26 mins (1564 seconds)
admin cli volume ls : ~27 secs
500 Volumes removal : ~23 mins
Individual volume removal of 100 mb : ~2 seconds
Run-3:
Individual volume creation of 100 mb : 2-3 seconds (mostly 3)
500 Volumes creation : ~26 mins (1602 seconds )
admin cli volume ls : 27 secs
500 Volumes removal : ~23 mins (1409 seconds)
Individual volume removal of 100 mb : ~2 seconds
Run-4:
Individual volume creation of 100 mb : mostly 3 seconds
500 Volumes creation : ~26 mins (1560 seconds)
admin cli volume ls : 27 secs
500 Volumes removal : ~23 mins (1421 seconds)
Individual volume removal of 100 mb : ~2 seconds
Run-5:
Individual volume creation of 100 mb : mostly 3 seconds
500 Volumes creation : ~25 mins (1558 seconds)
docker cli volume ls : ~3 seconds
admin cli volume ls : ~25 seconds
500 Volumes removal : ~23 mins (1412 seconds)
Individual volume removal of 100 mb : mostly 2 seconds
Run-6:
Individual volume creation of 100 mb : mostly 3 seconds
500 Volumes creation : ~27 mins (1645 seconds)
docker cli volume ls : ~3 seconds
admin cli volume ls : ~28 seconds
500 Volumes removal : ~24 mins (1492 seconds)
Individual volume removal of 100 mb : ~2 seconds
Test Logs:
Run1.txt
Run2.txt
Run3.txt
Run4.txt
Run5.txt
Run6.txt
Product Logs:
docker-volume-vsphere.txt
vmdk_ops.log.1.txt
vmdk_ops.txt
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4