mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
bencher: improve CpuMode docs
This commit is contained in:
parent
696b5daed3
commit
dfcf84adde
1 changed files with 8 additions and 0 deletions
|
|
@ -168,12 +168,20 @@ impl TryFrom<Range<usize>> for TaskSetCpuIndicator {
|
||||||
#[derive(Debug, Clone, Copy, clap::ValueEnum)]
|
#[derive(Debug, Clone, Copy, clap::ValueEnum)]
|
||||||
pub enum CpuMode {
|
pub enum CpuMode {
|
||||||
/// For 8 vCPU processor, use vCPU groups 0, 1, 2, 3, 4, 5, 6 and 7
|
/// For 8 vCPU processor, use vCPU groups 0, 1, 2, 3, 4, 5, 6 and 7
|
||||||
|
///
|
||||||
|
/// Suitable for bare-metal machines without hyperthreads/SMT.
|
||||||
Subsequent,
|
Subsequent,
|
||||||
/// For 8 vCPU processor, use vCPU groups 0 & 4, 1 & 5, 2 & 6 and 3 & 7
|
/// For 8 vCPU processor, use vCPU groups 0 & 4, 1 & 5, 2 & 6 and 3 & 7
|
||||||
|
///
|
||||||
|
/// Suitable for bare-metal machines with hyperthreads/SMT.
|
||||||
SplitPairs,
|
SplitPairs,
|
||||||
/// For 8 vCPU processor, use vCPU groups 0 & 1, 2 & 3, 4 & 5 and 6 & 7
|
/// For 8 vCPU processor, use vCPU groups 0 & 1, 2 & 3, 4 & 5 and 6 & 7
|
||||||
SubsequentPairs,
|
SubsequentPairs,
|
||||||
/// For 8 vCPU processor, use vCPU groups 0, 2, 4 and 6
|
/// For 8 vCPU processor, use vCPU groups 0, 2, 4 and 6
|
||||||
|
///
|
||||||
|
/// Suitable for somewhat fairly comparing trackers on Hetzner virtual
|
||||||
|
/// machines. Since in-VM hyperthreads aren't really hyperthreads,
|
||||||
|
/// enabling them causes unpredictable performance.
|
||||||
SubsequentOnePerPair,
|
SubsequentOnePerPair,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue