Opened 3 years ago

Last modified 2 years ago

#21281 new enhancement

Allow process poll rate to be customized

Reported by: atagar Owned by:
Priority: Very Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Trivial Keywords: stem-wants, chutney-wants, easy intro torrc configuration
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Hi Nick, I've been digging into Stem test performance with an aim of making them faster. Our tests regarding OwningControllerProcess take fifteen seconds each because that's the poll rate of the tor process. Looks like this is defined at...

https://gitweb.torproject.org/tor.git/tree/src/common/procmon.c#n165

Would you mind making this customizable (probably via a hidden double-underscore torrc options)? This will let me make our tests run faster for us both. :)

Thanks!

Child Tickets

Change History (3)

comment:1 Changed 3 years ago by nickm

Milestone: Tor: unspecified

No objection from me...

comment:2 Changed 3 years ago by teor

Keywords: stem-wants chutney-wants added

Chutney would also benefit from this after #20409 is implemented using OwningControllerProcess.

(I think we'll need to set it to 1 second to avoid a failure in one make test-network-all test affecting subsequent tests.)

comment:3 Changed 2 years ago by nickm

Keywords: easy intro torrc configuration added
Note: See TracTickets for help on using tickets.