Status: Measured (2026-10-31). gpu-unlock 2.0.0 was applied to a 24GB GPU server, and measurements before and after were taken using the same disposable pod and script. Matrix multiplications are the median of 7 repetitions per dtype, profiles are the median of 3 repetitions, and latency is measured over multiple runs of a 600-frame session. Writing convention: Measured data is the default; unmeasured items are marked as "Unmeasured", and interpretations whose causes could not be verified are marked as "Estimated". This post does not recommend usage.
Table of Contents
- 1. Starting with the Conclusion
- 2. What gpu-unlock Does
- 3. Risks and Licenses to Know Beforehand
- 4. Measurement Environment and Method
- 5. Upper Bound First: 4.7% Tensor Core Share
- 6. Is It Unlocked? 1.61x Matrix Multiplication, Why Not 2x
- 7. Are the Outputs Identical? Control Group and Bit Comparison
- 8. Real-time Scoreboard: −0.9% Within the Upper Bound
- 9. End-to-End Latency 22.5 → 17.4ms Is Not a gpu-unlock Effect
- 10. How to Revert
- 11. Summary
1. Starting with the Conclusion
I directly tested the claim that "Tensor Cores on consumer GPUs are locked at half speed, and unlocking them doubles performance." The result was half right and half dependent on the nature of the workload.
- The limit was lifted. The kernel log recorded
gpu_unlock: unlockedand the speed selection register SS0 changed from0x43301046to0x88888888. Matrix multiplication 8192³ (FP32 accumulation) became BF16 70.1 → 113.0 TFLOPS (×1.61), FP16 68.4 → 108.9, and TF32 37.2 → 61.3. FP32 without Tensor Cores remained unchanged at 23.8 → 23.8 (control group). - The 1.6x rather than 2x performance was due to power constraints. Throughput per clock increased to about 1.95x, but as the card hit the 350W limit, the SM clock dropped from about 1710MHz to 1395MHz. Post-application clocks are approximations sampled at 100ms intervals, while pre-application clocks were sampled at 0.5-second intervals.
- The outputs were identical. Six outputs of the production real-time model were compared over 200 frames under deterministic settings, and all sha256 hashes matched. However, under the same settings as production (
cudnn.benchmark=True), cuDNN selected a different convolution algorithm after unlocking, so the bit-for-bit match for that setting is unmeasured. - The ball-finding model of the real-time table tennis scoreboard became 0.9% faster. GPU kernel time per frame went from 9.09 to 9.00ms. This fell within the −2.3% upper bound calculated via profiling before application, because Tensor Cores accounted for only 4.7% of this model's GPU time.
- The end-to-end latency reduction from 22.5 to 17.4ms is not an effect of gpu-unlock. The GPU side and worker path remained identical, and remeasuring within the same boot alternately yielded 26.2ms and 17.2ms. This is a variation in the server-side CPU section, the cause of which could not be definitively determined (Section 9).
2. What gpu-unlock Does
Tensor Cores are dedicated processing units that handle small matrix multiplications in a single operation. Nvidia consumer cards run Tensor Core operations taking FP16, BF16, and TF32 inputs and accumulating in FP32at half the speed of professional cards using the same chip. Training and unquantized inference mostly use this path. Operations accumulating in FP16, INT8, and FP32 without Tensor Cores are unaffected by this limit.
gpu-unlock is a Linux kernel module that modifies the registers determining this speed at boot time. To summarize the "How it works" and "Boot flow and opt-in" sections of the repository README:
- The package places the module and firmware into initramfs. Therefore, the module runs before the NVIDIA driver claims the card.
- The module operates only when
gpu_unlock.targets=is present on the kernel command line. You specifyallor the PCI address. - The module obtains permission to write to protected registers via signed boot firmware (the booter run by the GPU security processor) extracted from the NVIDIA driver package, and writes
0x88888888to speed selection register SS0 and0x8to SS1. - It resets the card (FLR) and steps aside. Then, the unmodified NVIDIA driverclaims the card as usual.
The repository notes that since it does not modify the driver or reflash the VBIOS, nothing further needs to be done when updating the driver. If you manually load the module after booting has completed, it does nothing to cards already claimed by the driver.
The kernel logs of the applied server were as follows (relevant parts only, addresses shortened):
gpu_unlock: loading out-of-tree module taints kernel.
gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x43301046 ss1=0x6 ...
gpu_unlock: pass=1/2 attempt=1 ... ret=0
gpu_unlock: pass=2/2 attempt=1 ... ret=0
gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 ...
gpu_unlock: stage=flr ... ss0=0x88888888 ss1=0x8 ...
gpu_unlock: unlocked
All steps finished within the same second. Even after application, the driver version (580.95.05), maximum clock (2100MHz), and power limit (350W) remained unchanged.
3. Risks and Licenses to Know Beforehand
This module is third-party code that touches the boot path of the GPU security processor. It is neither created nor supported by NVIDIA. Below are items from the repository documentation and direct observations from this implementation.
| Item | Description | Basis |
|---|---|---|
| Kernel taint | Because it is an out-of-tree module, the kernel added the O(out-of-tree) flag, and since DKMS signed it with a self-generated key that was not registered, verification failed, adding E(unsigned) as well. /proc/sys/kernel/tainted is 12289 (the sum ofP·O·E ). Kernel developers may refuse bug reports from tainted kernels. |
Measured (kernel logs) |
| Secure Boot | Secure Boot was disabled on this server, and the application script aborted if it was enabled. To use it with Secure Boot enabled, the module must be signed and its key registered in the firmware, which was not tested this time. | Measured (application script), signature path unmeasured |
| Support range | Ampere generation is stable, Ada and Turing generations are experimental, and Blackwell is listed as unsupported. | Repository README |
| Laptop cards | If the external GPU completely powers down while idle, the unlock quietly disappears. The repository notes mixed results. It should be treated strictly as an experiment. | Repository README, unmeasured |
| Power saving | Re-applied upon returning from memory sleep (suspend to RAM). Hibernation is not covered. | Repository README, unmeasured |
| On failure | If the card firmware does not hang, the module holds onto DMA buffers until the next power cycle. To retry, completely power off. | Repository README, unmeasured |
| Display | If the card drives a display, the screen remains blank from reset until the driver claims it. | Repository README, this server operated headless |
| Heat and lifespan | The repository FAQ states the risk of harm is low. While running matrix multiplications for 8 seconds each, power did not exceed the limit (350W) and the maximum temperature was 67°C. | Short-term values measured, long-term impact unmeasured |
License. The kernel module and packaging are GPL-2.0-only. However, the firmware used by the module is extracted byte-for-byte from the NVIDIA driver package (610.43.03), and NVIDIA firmware is subject to NVIDIA's license (Software License Agreement). The repository's firmware/NOTICE.md states that the open-source kernel module's license does not apply to this firmware, does not claim redistribution permissions, and primarily aims for individuals to package it on their own hardware. Thus, the build fetches the driver download.nvidia.com (344,190,507 B) and kernel module source (26,172,192 B) directly from .runon the spot each time to extract the firmware. This implementation was also built solely within the server in that manner, and the resulting firmware or packages were not distributed anywhere. This post is not legal advice. To deploy in a commercial environment or across multiple devices, you must read the original NVIDIA agreement text first.
Rebooting changed more than just gpu-unlock. update-grub An /etc/default/grub edit that had been fixed months ago but not applied was included as well, causing quiet splash swapaccount=0 vt.handoff=7 to be omitted from the kernel command line and the IOMMU argument to be entered twice. This added yet another variable to the before-and-after comparison, which was not realized until placing the /proc/cmdline before and after the reboot side by side. It is better to verify what update-grub will generate before applying.
4. Measurement Environment and Method
| Item | Value |
|---|---|
| GPU | Ampere generation (GA102) 24GB consumer card, 350W power limit (maximum configurable limit also 350W), driver 580.95.05 |
| Server | Hybrid (P/E cores) 24-thread desktop CPU, Ubuntu 25.04, kernel 6.14.0-37-generic |
| gpu-unlock | 2.0.0, commit 7eb51bc, DKMS package, targeting a single PCI address of that card |
| Measurement pod | Same image as the production scoreboard worker (PyTorch 2.9.1+cu128, cuDNN 9.10), same weights (read-only), one GPU time-sliced slice, limited to 4 CPUs and 8Gi memory, disposable (destroyed upon completion) |
| Load | Zero production scoreboard sessions or batch jobs during measurements |
Measurements consist of four items. They were run in the same pod with the same script before and after application.
- Matrix multiplication.
torch.mmMedian of 7 windows running 8192³ and 4096³ consecutively 20 times per dtype (100 times for 4096). Reduced precision accumulation for FP16 and BF16 was disabled to measure FP32 accumulation only. Clocks and power arenvidia-smisamples over the same duration (0.5 seconds before application, 100ms while running consecutively for 8 seconds separately after application). - Kernel profile.
torch.profilerIn the trace, tensor core matrix multiplication and convolution (s1688gemm,xmma,tensorop) and the rest were separated. The ball-finding model BlurBall (HRNet family, 1.49M parameters, single input window 9×288×512) was run 3 times each with batch sizes 1, 2, and 3. - Bit comparison. The sha256 per frame of 6 types of outputs obtained by passing the same 200 frames through the production model network (BlurBall, EfficientTAM video encoder, ping-pong table segmentation head, ping-pong table vertex head). This is a deterministic setting (
cudnn.benchmark=False,cudnn.deterministic=True,use_deterministic_algorithms,CUBLAS_WORKSPACE_CONFIG=:4096:8) and the precision is the same as in production. Before application, we ran it twice to first verify that the two were identical. - End-to-end latency. We ran the production worker directly inside the pod and sent JPEGs at 30 fps like a browser to measure "when sent → when the answer for that frame was received." Frames for which no answer was received were stacked up to 3 times, and the first 2 seconds were discarded. The network is excluded.
5. Checking the upper bound first: Tensor Core share 4.7%
gpu-unlock only speeds up Tensor Core kernels . Therefore, how much faster our model will get is capped by "the share of GPU time occupied by Tensor Core kernels" from above. We measured this first before applying it.
| Ball-finding model (batch 1, per frame) | Measured before application |
|---|---|
| GPU kernel time | 9.09ms (427 kernels) |
| Among them, Tensor Core kernels | 0.42ms (2 TF32 matrix multiplication kernels), 4.7% |
| largest kernel | Memory-bound small kernels like batch normalization (2.9ms), clamp, and addition |
| Convolution | Even though TF32 is allowed (cudnn.allow_tf32=True default), cudnn.benchmark selected FP32 winograd (not Tensor Core) |
HRNet with small resolution and few channels (16–128) is expensive in terms of kernel count and memory round trips rather than computation. Even assuming Tensor Core kernels are cut exactly in half, the reduction is 0.21ms, which is an upper bound of −2.3% . If we had assumed "It's an FP32 model so it will run on TF32 Tensor Cores," we would have been wrong. Since cuDNN can select algorithms that do not use Tensor Cores depending on benchmark results even when TF32 is allowed, we must count the kernel names rather than making assumptions.
We also looked ahead at other paths using the same measurements. If the model is run with BF16 autocast (a change different from production, and accuracy was not evaluated), the kernel time becomes 7.67ms, the Tensor Core share rises to 26%, and the upper bound increases. For ping-pong table finding (a segmentation model that runs only on request), Tensor Cores took about 21ms out of 49ms of GPU time, but the wall-clock time was 1.4 seconds, mostly due to CPU post-processing. Both are numbers that warn in advance: "Even if the GPU gets faster, the time perceived by the user remains almost the same."
6. Is it unlocked?: Matrix multiplication is 1.61x, why not 2x
| 8192³, FP32 accumulation | Before application (TFLOPS) | After application | Multiplier |
|---|---|---|---|
| BF16 | 70.1 | 113.0 | ×1.61 |
| FP16 | 68.4 | 108.9 | ×1.59 |
| TF32 | 37.2 | 61.3 | ×1.65 |
| FP32 (not Tensor Core, control group) | 23.75 | 23.83 | ×1.00 |
At 4096³, it was also BF16 ×1.68, FP16 ×1.65, TF32 ×1.65, and FP32 ×1.00. According to user reports collected in the repository README, cards of the same tier went from BF16 75 to 125 TFLOPS (+65%), which is in a similar ballpark.
The reason it is not 2x was visible in the power consumption. While running matrix multiplication, the clock limit reason for nvidia-smi was "software power cap" almost the entire time, and power hit the 350W limit at a maximum of 348.9W. Divided by the SM clock for the same duration, it looks like this.
| 8192³ | SM clock before application | Per clock before application | SM clock after application | Per clock after application | Multiplier per clock |
|---|---|---|---|---|---|
| BF16 | approx. 1710MHz | 41.7 TFLOPS/GHz | 1395MHz | 81.3 | ×1.95 |
| FP16 | approx. 1680MHz | 41.3 | 1365MHz | 80.5 | ×1.95 |
| TF32 | approx. 1815MHz | 20.7 | 1485MHz | 40.9 | ×1.98 |
| FP32 | approx. 1470MHz | 16.3 | 1455MHz | 16.4 | ×1.01 |
The per-clock value is the TFLOPS for the same interval divided by the median SM clock for that interval. According to the GA102 whitepaper (based on documentation), the maximum per-clock values are about 41.9 TFLOPS/GHz for FP32 accumulation FP16/BF16 at half speed, and twice that at full speed. The pre-application value of 41.7 is 99% of half speed, and the post-application value of 81.3 is 97% of full speed. It reads as: per clock it became almost exactly twice, but because the work is done twice as fast, the power limit was hit first and the clock dropped by 18%. 1.95 × (1395 / 1710) ≈ 1.59, which matches the measured 1.61.
However, this is an estimate. The pre-application clock is an approximation because it reads 4–8 values per dtype section from 0.5-second interval samples. There are two ways to verify this, but we did neither (unmeasured). One is to raise the power limit and see if the multiplier approaches 2, but the maximum configurable value for this card is 350W, so it could not be raised. The other is to use nvidia-smi -lgc to lock the SM clock to the same value below the power limit and measure before and after. This server shares GPUs with production workloads, so we did not change the clock settings.
7. Are the outputs the same?: Bit comparison with the control group
Along with the figures showing that speed changed, figures showing that "nothing else changed" are also needed. We established two.
- Control group. FP32 matrix multiplication not using Tensor Cores went from 23.75 to 23.83 TFLOPS (×1.00), and the ball-finding model with TF32 disabled went from 9.28 to 9.30ms (+0.2%). The fact that paths unrelated to the throttling remain unchanged also means that other changes (clock, driver, thermal) did not skew the results.
- Bit comparison. Before application, we ran the same comparison twice to first verify that all 6 types of outputs were identical (meaning the measurement method itself is deterministic). Then we compared the post-application outputs against the pre-application baseline.
| Output (deterministic setting) | Compared count | Different count | Raw tensor max absolute error |
|---|---|---|---|
| Ball-finding BlurBall | 198 | 0 | 0 |
| EfficientTAM video embedding | 200 | 0 | |
| EfficientTAM high-res features | 200 | 0 | |
| Ping-pong table segmentation low-res logits | 200 | 0 | 0 |
| Ping-pong table segmentation IoU | 200 | 0 | |
| Ping-pong table vertex heatmap | 200 | 0 | 0 |
These six are the results of comparing sha256 separately for each frame. The final result of ping-pong table finding (the rectangle passing through multiple models and post-processing) only compared a single bundled hash and could not count how many matched item by item, so it was excluded from "verified."
Limitations. This consistency applies to deterministic settings. Production runs in cudnn.benchmark=True , and as seen in Section 8, once unlocked, cuDNN swapped out some convolutions for TF32 Tensor Core kernels. When the algorithm changes, the order of additions changes, so we cannot claim that the production outputs will be identical at the bit level. That comparison was not performed (unmeasured). The statement "outputs are identical at the bit level" must always be accompanied by the settings under which it was tested.
8. Real-time scoreboard: −0.9% within the upper bound
| Ball-finding model GPU kernels (per frame, median of 3) | Before application | After application | Change |
|---|---|---|---|
| Production setting, batch 1 | 9.087ms | 9.001ms | −0.9% |
| Production setting, batch 2 | 16.24ms | 16.00ms | −1.5% |
| Production setting, batch 3 | 23.28ms | 22.87ms | −1.8% |
| TF32 disabled (control), batch 1 | 9.284ms | 9.302ms | +0.2% |
| BF16 autocast, batch 1 (change differs from production) | 7.666ms | 7.357ms | −4.0% |
| FP16 autocast, batch 1 (change differs from production) | 7.219ms | 7.071ms | −2.0% |
The −0.9% for batch 1 is within the pre-calculated upper bound of −2.3%. The single-frame path from decoding to inference inside the worker was also about the same at 13.04 → 12.96ms (p50). It is not surprising that it did not reach the upper bound. The upper bound assumes Tensor Core kernels are cut precisely in half, but in reality, Tensor Core kernel time increased from 0.42 to 0.73ms. cudnn.benchmark As TF32 convolutions sped up after unlocking,
swapped out some convolutions from FP32 winograd to TF32 implicit GEMM kernels, and instead the remaining kernels shrank from 8.67 to 8.27ms. The sum decreased by 0.09ms. Paths that make heavier use of Tensor Cores yield larger gains. As the batch size increased, the gains grew to −1.5% and −1.8%; for ping-pong table finding, the flash attention kernel went from 6.97 to 4.75ms (−32%), and the GPU time per finding run went from 49.3 to 43.1ms. Even so, the wall-clock time per finding run remained unchanged at 1,399 → 1,412ms because CPU post-processing, not the GPU, consumes the time.
9. End-to-end latency of 22.5 → 17.4ms is not an effect of gpu-unlock
In the same measurements, the end-to-end latency (single 30fps session, p50) dropped by 23% from 22.5ms to 17.4ms. Looking at the table alone, this is a number that tempts one to write that gpu-unlock reduced latency by 5ms. However, the reduction in GPU kernels was 0.09ms, and the worker path only decreased by 0.08ms. The remaining 5ms came from elsewhere. We measured a few more things.
The GPU side remained the same. During the session, the GPU stayed in the P2 state both before and after, at SM 1695MHz, 170W, and 29–30% utilization. When running three sessions simultaneously, latency remained flat at 26.5 → 26.3ms. The in-server time reported by the worker (time received → time answered) dropped from 20.3 to 15.9ms, so the difference is on the server side. Breaking down the in-server time using measurement wrappers after application, GPU inference took 11.7ms, and the preceding CPU phase (JPEG decoding, ping-pong table optical flow tracking, waiting) took 4.2ms. Since GPU inference is identical before and after, it calculates out to about 8.6ms for the CPU phase before application.
Re-measuring within the same boot caused the numbers to fluctuate. With gpu-unlock applied, without changing images, scripts, or settings, we measured three more times within 20 minutes.
| Measurement | gpu-unlock | End-to-end p50 (per session) | In-server p50 | Server CPU usage (total) | Measurement pod CPU | CI build on same server |
|---|---|---|---|---|---|---|
| Before application | None | 23.6, 22.5, 22.3 | 20.3 | 7.2% | 0.90 cores | None |
| After application | Present | 17.4, 19.1, 17.2 | 15.9 | 7.6% | 0.76 cores | 1.46 cores |
| Re-run 1 | Present | 26.2, 26.2, 26.8 | 23.7 | 9.2% | 0.96 cores | 0.04 cores |
| Re-run 2 | Present | 17.4, 17.2, 17.0 | 15.7 | 8.5% | 0.66 cores | 0.99 cores |
| Re-run 3 | Present | 16.8–18.1 (12 sessions) | 15.4–16.4 | approx. 9% | 0.5–1.4 cores | 1.0–1.4 cores |
Within the same boot with gpu-unlock enabled, 26.2ms and 17.2ms appeared 4 minutes apart. 22.5 → 17.4 falls well within this fluctuation range. Therefore, we can state from actual measurements that this is not an effect of gpu-unlock, and identifying the root cause is a question for the next phase.
Our initial hypothesis was wrong. After rebooting, the CI server and the web pods that were on the same server moved to different servers, so we guessed it was due to "reduced CPU contention." However, the total CPU used by those pods before application was about 0.1 cores, and the server-wide CPU usage was 7–9% both before and after. Instead, the two slow runs occurred when there was almost no other activity on the server, while the three fast runs occurred when a CI build on the same server was consuming 1–1.5 cores. When slow, the measurement pods spent more CPU on the same task (0.90–0.96 cores vs. 0.66–0.76 cores).
This pattern points toward CPU power saving. This server powersave uses the deepest idle state for its governor (C10, taking 680µs to exit), and a 30fps session works for about 16ms every 33ms and rests for the remainder. This explains that when the entire server is idle, the cores go into a deep sleep or their clock drops, paying a cost to wake up every frame. To test this, we alternately measured with and without a process (nice 19) constantly spinning one core inside the same pod ("Again 3" in the table above), but a CI build was running at that time, so it was around 17ms either way. We waited 30 minutes to measure again when the server became idle, but another build came in immediately, so that opportunity never arose. Since we could not reproduce the slow state, we leave this explanation as a conjecture.
To verify, we need to choose a time when the server is idle and perform the same alternating measurement, or measure with core pinning and C-state limits (unmeasured).
The takeaway from this task is the sequence rather than the cause itself. When the end-to-end numbers improve, do not immediately attribute a reason, but rather remeasure under the same conditions to first check the range of fluctuation, and then divide it into sub-paths (GPU kernels, worker paths, steps within the server) to isolate where changes occurred. This time, the sub-paths remained identical, allowing us to rule gpu-unlock out as the cause.
10. How to Revert
These are the methods documented in the repository and application scripts. We did not revert this time (unexecuted).
| Scope | Method |
|---|---|
| Disable Once | Remove gpu_unlock.targets=... from GRUB editing on the boot screen and boot |
| Disable Permanently | /etc/default/grub Revert to the pre-application backup and sudo update-grub then reboot. Even if the module remains, removing this argument makes it do nothing |
| Completely Remove | Remove the package (Debian-based sudo apt-get remove gpu-unlock-dkms). initramfs is rebuilt |
| Verification | Verify that the kernel log for the current boot (journalctl -k -b) does not contain gpu_unlock: unlocked and that matrix multiplication BF16 is back to around 70 TFLOPS |
Since the settings are written to registers during boot, they do not persist on the card. Turning off the power completely returns it to the original state.
11. Summary
| Checklist | Reason (Actual Measurements in This Post) |
|---|---|
| Measure the share of Tensor Core kernels in GPU time before applying | The ball-finding model was 4.7%, so the upper bound was −2.3%, and the actual was −0.9% |
| Count by kernel name | Even with TF32 allowed, cuDNN chose convolutions that did not use Tensor Cores |
| Look at power limit and clock together | It was about 1.95x per clock, but constrained by 350W, the clock dropped by 18%, resulting in 1.61x |
| Maintain a control group | FP32 matrix multiplication (×1.00) and TF32-disabled model (+0.2%) remained unchanged, showing no other interference |
| Attach settings for bit-wise comparison | Under deterministic settings, 6 types matched, but operational settings changed algorithm selection after being released, making it unmeasured |
| Do not immediately attribute end-to-end numbers to a cause | The 22.5 → 17.4ms change was within the fluctuation of a single boot (17–26ms), and sub-paths remained identical |
| Observe what else a reboot changes | Pending GRUB edits were applied at the same time, further changing the kernel command line |
To summarize, it was confirmed on this server that this module doubles the FP32 accumulated Tensor Core speed per clock for consumer cards, and under the power limit, matrix multiplication was roughly 1.6x faster. For tasks where large BF16/FP16 matrix multiplications make up most of the time (such as prompt processing or training in language models), it will speed up close to this figure; for tasks bound by memory and kernel counts like small convolution models, it will barely change. You can tell which one it is with a single profile before applying (Section 5). In exchange, you bear the burden of an unsigned third-party module tampering with the GPU's boot path and having to directly read the license terms of the NVIDIA firmware.
TT's Two Cents. I shifted my bicycle gear up one notch, and one pedal rotation goes twice as far. But my leg power (350W) stayed the same, so the pedals turned slower, and ultimately it became 1.6x faster! And my ping-pong ball finder is mostly spent on tying shoelaces (memory round-trips), so changing the gear barely changed anything. You shouldn't claim you arrived at school early because of the gear—it might have just been a tailwind that day.