﻿# Jetson tegrastats lfb is not the largest tensor a GPU can allocate

The largest-free-block field describes a physical-memory allocator statistic. Separate it from virtual allocations, system RAM usage and model-owned buffers on Tegra.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/edge-jetson-tegrastats-lfb-physical-allocation-scope/
Language: en

## A small lfb value triggers the wrong rejection

An edge application’s health report reads tegrastats and rejects a model because its tensor buffer is larger than the displayed largest free block. That decision confuses physical-contiguity statistics with the virtual allocation contract used by the application. Preserve the failing allocator request, if any, before declaring the model impossible to load. A telemetry field can be relevant to memory pressure without being a direct maximum tensor-size limit. The field name alone does not establish the allocation mechanism.

## The documented field belongs to physical blocks

The [tegrastats documentation](https://docs.nvidia.com/jetson/archives/r36.5/DeveloperGuide/AT/JetsonLinuxDevelopmentTools/TegrastatsUtility.html) describes lfb as the largest contiguous physical block currently allocatable and explicitly says virtual allocations can be bigger. Its RAM display also distinguishes the number of blocks of that size from the block size itself. Preserve the complete field rather than collapsing it into an unnamed free-memory figure. A product using physically contiguous peripheral buffers may have another relevant requirement, which should be checked against that API rather than assumed for every model tensor.

## Shared DRAM does not make every counter model specific

The [CUDA for Tegra note](https://docs.nvidia.com/cuda/cuda-for-tegra-appnote/index.html) explains that CPU and integrated GPU allocations share SoC DRAM. That does not make a system RAM counter an inventory of this model’s GPU tensors. Application buffers, other processes and platform services can contribute to the common pool. Keep allocation ownership and the observation layer explicit. Likewise, sharing physical memory does not establish that all memory types have identical caching, accessibility or copy behavior in the selected runtime.

## Collect the allocator evidence around the failure

For a proposed diagnosis, retain the requested buffer size and allocation API, its actual return status, model phase and contemporaneous system telemetry. If the framework exposes an allocator history, preserve its own scope too. A failure caused by live demand should not be renamed physical fragmentation just because lfb is small. Conversely, successful virtual allocation does not demonstrate that a later peripheral allocation requiring contiguous memory will succeed. Each conclusion needs the contract of the allocator involved.

## Use an isolated allocation lifecycle as the fixture

A bounded fixture can observe system fields before, during and after a supported allocation whose ownership is known. Keep competing activity visible and compare with the allocator’s return status and checked buffer use. The acceptance condition is correct interpretation of the fields, not a promise that they move in exact lockstep. No Jetson memory allocation or fragmentation experiment was performed here. The proposal also does not justify exhausting a production appliance or changing its swap policy to manufacture a failure.

## Name the layer in the resulting report

[Allocator snapshots](/journal/guide-perf-fragmentation-snapshot/) address framework-owned blocks and failure history. [Shared-memory specifications](/journal/gpu-vram-board-module-shared-memory/) address physical capacity and ownership. Jetson lfb adds a specific physical-block observation between those discussions. Report its field meaning alongside system usage and the application allocator outcome. This avoids both an unsupported model-fit rejection and a false assurance that ample aggregate free RAM guarantees every requested allocation. Neither conclusion follows from a single line of telemetry.
