Prealloc disk space for descriptors files
When I defrag my hard disk in Windows (NTFS filesystem) I usually see that the file cached-descriptors.new is in several hundred fragments on the disk. This while running a relay.
This can't be good for performance. I suggest preallocating the file of cached-descriptors.new, possibly using the size of cached-descriptors + 5% as a guide to the initial size of the newer file.
Those of who still have spinning media will thank you.
Trac:
Username: tmpname0901