Hi!
I'm aware that performance doesn't have high priority, it's something
for TODO.
I created bcachefs on ~10GB partition, copied some files and next I
created huge number of directories and files. Problem is in the total
time needed for mounting filesystem.
# time mount -t bcache /dev/sde1 /mnt/test/
real 12m20.880s
user 0m0.000s
sys 1m18.270s
I looked at iostat, mounting needs to read from disk 10083588 "kB_read".
Device has size 10485760kB, so it looks that it reads almost the same
amount of data as partition size. Maybe mount time can be lower? Maybe
there can be less reads or reads could be more sequential?
Additional informations:
# time find /mnt/test/ -type d |wc -l
10564259
real 10m30.305s
user 1m6.080s
sys 3m43.770s
# time find /mnt/test/ -type f |wc -l
9145093
real 6m28.812s
user 1m3.940s
sys 3m46.210s
RAM: 1GB
CPU: core2duo - 1.86GHz
hdd: old disk SAS 15k
hdd controller: HP P400 with 512MB cache with battery
Marcin
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html