# Zurich G2 L4: measure an inference slowdown

> Measure matched inputs on Zurich G2 VMs, then compare end-to-end latency and sampled GPU activity. A quiet GPU alongside slow requests points to a different path than high device activity with reduced throughput.

A latency alert can originate before a request reaches the GPU. Compare the timing at the application boundary with a guest-side baseline under the same request pattern.

## Verify that both Zurich VMs use a comparable GPU shape

[Google’s Zurich GPU rows](https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones) list G2 in `europe-west6-b` and `europe-west6-c`. Keep the exact machine shape, GPU count and guest versions for each test. The two zone entries let you describe which deployment you exercised; they do not tell you which instance has a driver problem. For a cross-zone comparison, match the VM and job configuration before interpreting the result.

## Watch the GPU over the slow window

[NVIDIA documents](https://docs.nvidia.com/deploy/nvidia-smi/) device monitoring fields and the `nvidia-smi dmon` command. Collect available utilization and power fields while reproducing the slow requests, rather than sampling immediately after the test. Record the batch size, concurrency and application timings in the same UTC window. If the device is often idle, test CPU preprocessing, data loading or queueing before assigning the delay to an accelerator.

## Escalate repeatable device differences with context

Run the same small input on the healthy and affected deployment once both are warmed up. Check where the wall time diverges and whether results vary with input size. [Google’s GPU VM troubleshooting guide](https://docs.cloud.google.com/compute/docs/troubleshooting/troubleshooting-gpus) documents checks for hardware and GPU performance. For an escalation, include the two comparison runs and any guest errors. The judgment should follow which stage changed, so a normal device snapshot paired with unusual queueing does not become a hardware ticket by default.

## Sources

- Compute Engine GPU locations: https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones
- NVIDIA System Management Interface: https://docs.nvidia.com/deploy/nvidia-smi/
- Troubleshoot GPU VMs: https://docs.cloud.google.com/compute/docs/troubleshooting/troubleshooting-gpus
