[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #4848 [Tor Relay]: Prealloc disk space for descriptors files



#4848: Prealloc disk space for descriptors files
-------------------------+--------------------------------------------------
 Reporter:  tmpname0901  |          Owner:                    
     Type:  enhancement  |         Status:  new               
 Priority:  normal       |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Relay    |        Version:  Tor: 0.2.2.35     
 Keywords:  perf         |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
 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.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4848>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs