Slow to delete files
-
Hi.
I'm using Cubby on a NFS mounted volume (same DC, 0.2ms latency, 10Gbs network).
Deleting files is very slow. But deleting a folder with those same files is (fairly) quick.I also tested Cubby on the same NVME disk as the server, and it's the same behaviour.
There's a process, recollindex, that runs when files are deleted. It takes many minutes, in case of hundreds of files are deleted.
Is there anything that can be done (maybe on my side) to avoid this?Thanks,
Luis -
If I understand correctly, you are comparing deleting the folder vs opening the folder->selectall->delete ?
If that is the case, there are various causes actually, which we can optimize. For example the code does a network call per file to delete, which in turn triggers the indexer (recoll) for each and every file also. Much room to improve indeed. I don't think it is much related to your disk setup.
-
@nebulon yes, exactly what you describe.
Do you have any plans to implement those changes?
Is it possible for you to do it? (I know this is a side project of yours)I'm really enjoying cubby. I tested several alternatives, mainly because cubby doesn't have user quotas, but I'd like to stay with cubby.
Thanks,
L -
-
Thank you.