I have zoneminder virtualized running debian. It currently uses a dedicated 3TB HDD that is local to the ESX host. The server runs great, no complaints.
I have 2TB (LVM,ext4) full of jpg files 16KB-35KB, many directories containing 1000-5000 files each.
A transfer of 480GB (56million files) to the current 2TB volume took 48hours.
Code:
root@zoneminder:~# time ls -R1 /var/www/zm/events/* | wc -l 158578363
real 75m11.510s
user 16m22.881s
sys 2m22.853s
I'm just curious if anyone has suggestions to increase performance. I tried tweaking the filesystem but didn't notice any increase watching iotop.
Code:
fstab:
/dev/VolGroup1/lv3T /var/www/zm ext4 defaults,noatime,data=writeback 0 0
(some of you may notice I labeled the volume 3T instead of 2T, oops)