GoogleCloudPlatform / PerfKitBenchmarker

PerfKit Benchmarker (PKB) contains a set of benchmarks to measure and compare cloud offerings. The benchmarks use default settings to reflect what most users will see. PerfKit Benchmarker is licensed under the Apache 2 license terms. Please make sure to read, understand and agree to the terms of the LICENSE and CONTRIBUTING files before proceeding.
https://googlecloudplatform.github.io/PerfKitBenchmarker/
Apache License 2.0
1.88k stars 478 forks source link

Add GCE Visible Cores Support #4951

Closed m4r1k closed 2 weeks ago

m4r1k commented 3 weeks ago

PKB provisions all available GCE machine types and exposes all cores defined in the machine type by default. This means a c3-standard-22 instance will have 22 vCPUs across 11 physical CPUs.

For benchmarking purposes, we can leverage the GCE Visible Cores feature to expose a subset of cores to the operating system. For example, a c3-standard-22 instance with 8 visible cores will present 16 vCPUs across 8 physical CPUs.

This flexibility allows for tailored performance testing.