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

Re: [tor-bugs] #27181 [Metrics/Onionoo]: Avoid unnecessary disk writes



#27181: Avoid unnecessary disk writes
-----------------------------+------------------------------
 Reporter:  irl              |          Owner:  metrics-team
     Type:  enhancement      |         Status:  closed
 Priority:  Medium           |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:  wontfix
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------
Changes (by karsten):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 This ticket is mostly obsolete with #32660 where we compare the digest of
 an existing file with the digest of the serialized string that we were
 about to write. We could indeed do more by remembering whether a status
 object has changed before serializing it and comparing checksums. But it's
 unclear whether that development and testing effort would be well spent.
 I'd say as long as I/O remains the critical resource we should keep what
 we have and just spend that extra CPU time on serializing and computing
 digests. I'll close this ticket as something we're very unlikely to do,
 but feel free to reopen it if you object.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27181#comment:1>
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