tor/changes
David Goulet fbc9e92fdb relay: Use the configured number of threads for worker work calculation
We cap our number of CPU worker threads to at least 2 even if we have a
single core. But also, before we used to always add one extra thread
regardless of the number of core.

This meant that we were off when re-using the get_num_cpus() function
when calculating our onionskin work overhead because we were always off
by one.

This commit makes it that we always use the number of thread our actual
thread pool was configured with.

Fixes #40719

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-11-23 14:05:10 -05:00
..
.dummy Add a .dummy file in the changes directory to stop git from removing it 2015-05-11 11:41:48 -04:00
bug40639 ignore families for L2 guard independence 2022-08-09 16:39:26 -04:00
bug40642 Add changes file for bug40642. 2022-08-11 09:26:51 -04:00
bug40644 Changes file for bug 40644. 2022-08-02 18:13:46 +00:00
bug40645 Fix a check, make a netflow padding function more safe. 2022-07-27 09:16:50 -04:00
bug40673 fix typo in #40673's changes file 2022-10-20 19:46:27 -04:00
bug40684 Fix a completely wrong calculation in mach monotime_init_internal() 2022-10-13 13:40:10 -04:00
bug40698 dir auths now omit Measured= if rs->is_authority 2022-10-24 04:34:49 -04:00
fallbackdirs-2022-08-11 fallbackdir: Update list generated on August 11, 2022 2022-08-11 09:44:39 -04:00
fallbackdirs-2022-11-10 fallbackdir: Update list generated on November 10, 2022 2022-11-10 09:43:55 -05:00
geoip-2022-08-11 Update geoip files to match ipfire location db, 2022/08/11. 2022-08-11 09:44:32 -04:00
geoip-2022-08-12 geoip: Update geoip files with August 9th, 2022 database 2022-08-12 09:56:50 -04:00
geoip-2022-11-10 Update geoip files to match ipfire location db, 2022/11/10. 2022-11-10 09:43:47 -05:00
ticket40194 changes: Update changes for ticket 40194 2022-10-27 10:50:37 -04:00
ticket40604 conn: Notify btrack subsys on normal OR conn close 2022-08-01 10:58:40 -04:00
ticket40623 relay: Send DESTROY cell instead of TRUNCATED cell 2022-07-26 14:01:21 -04:00
ticket40648 relay: Remove unused conn->ext_or_conn_id 2022-11-08 12:35:09 -05:00
ticket40649 relay: Don't send DESTROY remote reason backward or forward 2022-08-02 15:53:31 -04:00
ticket40652 dirauth: Make voting flag threshold tunable via torrc 2022-08-09 11:01:12 -04:00
ticket40663 sandbox: Add my-consensus-<flavor-name> to sandbox for dirauth 2022-10-31 11:37:43 -04:00
ticket40674 changes: Add file for ticket 40674 2022-11-09 15:35:51 -05:00
ticket40680 dos: Apply circuit creation defenses if circ max queue cell reached 2022-10-26 14:05:28 -04:00
ticket40683 Changes file for 40683 2022-10-27 15:36:53 +00:00
ticket40687 dirauth: Change dizum IP address 2022-10-18 10:35:54 -04:00
ticket40688 dirauth: Remove Faravahar 2022-10-26 14:20:07 -04:00
ticket40692 hs: Change the error for a collapsing client circuit 2022-10-26 14:56:45 -04:00
ticket40694 changes: Ticket 40694 2022-10-26 15:10:41 -04:00
ticket40696 hs: Retry rdv circuit if repurposed 2022-10-26 15:05:44 -04:00
ticket40703 thread: Bump max detectable CPU from 16 to 128 2022-10-28 11:28:43 -04:00
ticket40704 relay: Make the max pending tasks per CPU a consensus parameter 2022-11-09 13:13:21 -05:00
ticket40708 changes: Add file for ticket 40708 2022-11-07 09:55:06 -05:00
ticket40719 relay: Use the configured number of threads for worker work calculation 2022-11-23 14:05:10 -05:00