Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
Signed-off-by: Zhigao Tong <[email protected]>
  • Loading branch information
solotzg committed Feb 9, 2023
1 parent 2b91f2d commit a87d99c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion planner/core/optimizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,9 @@ func calculateTiFlashStreamCountUsingMinLogicalCores(ctx context.Context, sctx s
// In most x86-64 platforms, `Thread(s) per core` is 2
return true, minLogicalCores / 2
}
// ARM cpus don't implement Hyper-threading
// ARM cpus don't implement Hyper-threading.
return true, minLogicalCores
// Other platforms are too rare to consider
}

return false, 0
Expand Down

0 comments on commit a87d99c

Please sign in to comment.