diff options
author | Sean McArthur <sean@seanmonstar.com> | 2020-04-09 12:42:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 12:42:46 -0700 |
commit | d294c992e7236d5279d9e1a49b4536b21ccbc835 (patch) | |
tree | 5d88b7c4563dac7d949c4cc1bf31ecc99be2f522 /tokio/CHANGELOG.md | |
parent | 58ba45a38cc101e695895cc39d8ee4ce74176397 (diff) |
Use logical CPUs instead of physical by default (#2391)
Some reasons to prefer logical count as the default:
- Chips reporting many logical CPUs vs physical, such as via
hyperthreading, probably know better than us about the workload the CPUs
can handle.
- The logical count (`num_cpus::get()`) takes into consideration
schedular affinity, and cgroups CPU quota, in case the user wants to
limit the amount of CPUs a process can use.
Closes #2269
Diffstat (limited to 'tokio/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions