Re: [tor-dev] Hogging of second_elapsed_callback()

2018-04-14 Thread Linus Nordberg
teor wrote Sun, 15 Apr 2018 08:48:01 +1000: > Connections and circuits might timeout over that 6.5 seconds. OK, good to know. > Can you shift the signing to its own thread? > Or make it asynchronous? > > Tor has cpuworkers, which could be used to do signing work. Some non-blockingness would b

Re: [tor-dev] Hogging of second_elapsed_callback()

2018-04-14 Thread teor
> On 15 Apr 2018, at 07:38, Linus Nordberg wrote: > > Hi, > > How long time can we spend signing status documents before tor gets sad? > > I ask because I'm planning on putting dirauth signing keys on a > sloow HSM and would like to understand if I'd have to make > format_networkstatus_vot

[tor-dev] Hogging of second_elapsed_callback()

2018-04-14 Thread Linus Nordberg
Hi, How long time can we spend signing status documents before tor gets sad? I ask because I'm planning on putting dirauth signing keys on a sloow HSM and would like to understand if I'd have to make format_networkstatus_vote() and networkstatus_compute_consensus() (and their callers) be "res