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

Re: [tor-bugs] #6538 [Tor Client]: Use bit-twiddling tricks to make choose-by-bandwith algorithm even more time-invariant



#6538: Use bit-twiddling tricks to make choose-by-bandwith algorithm even more
time-invariant
-------------------------+--------------------------------------------------
 Reporter:  nickm        |          Owner:                    
     Type:  enhancement  |         Status:  needs_review      
 Priority:  normal       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client   |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------

Comment(by rransom):

 Replying to [comment:14 nickm]:
 > wrt the scale issue, I'm seeing typical values that suggest that the
 integer roundoff doesn't matter much here.  Is their counterveiling
 evidence?

 Whether integer roundoff matters or not depends on the current value of
 `weight_scale`.


 Also, are you sure that the C comparison operator you want to leave in
 (`tmp > rand_bw`) will be implemented in constant time on 32-bit systems?

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