I realise that this question might fall into the 'How long is a piece of string' category but...
I have a directory structure on a local HDD that consists of 6533 directories, 33662 files and contains ~2.5GB.
I also have an exact copy of this in a volume on an AFF8040 running CDOT 8.3.1P1 and mounted via NFSv3.
The server is a Dell M620 blade with 128GB and a 300GB SAS HDD connected via a 10Gbe link to a Cisco Nexus 5K switch which is connected to the AFF8040
My question can be summarised by the following:
$ time find /mnt/test/test_hdd/ -ls >/dev/null
real 0m0.277s
user 0m0.124s
sys 0m0.150s
$
$ time find /mnt/test/test_ssd/ -ls >/dev/null
real 0m8.070s
user 0m0.290s
sys 0m0.898s
A factor of ~30 seems to be rather high to me but I don't have any other information to compare it against.
Is this the sort of time difference I should expect to see in these circumstances or is there something I can do to improve the response time?