News: 0001617617

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 7.1 To Prevent Intel NPUs From Being Exhausted By Single Programs

([Intel] 4 Hours Ago Intel NPUs)


The Intel IVPU accelerator driver will be introducing limits on Intel NPU resource usage by non-root user-space programs beginning with the Linux 7.1 kernel.

In order to avoid situations where a single program could occupy all Intel NPU resources and deprive other programs or other users access to the Intel neural processing unit, the IVPU driver is setting default limits for non-root users. Root user-space programs will still be able to occupy all 128 available contexts and 255 doorbells for the Intel NPUs while non-root user-space will be limited to half the resources: 64 contexts and 127 doorbells.

The intent is to avoid situations of single user-space programs monopolizing all available NPU resources, i.e. NPU denial of service by other apps wanting to leverage AI acceleration. Granted, so far aside from OpenVINO I am not aware of any prominent users of Intel NPUs under Linux. It'd be great if there was more robust Intel NPU software support under Linux already but there really is not. At least though for when there is more broad NPU usage under Linux for both Intel NPUs and AMD Ryzen AI NPUs, the IVPU driver is ready to make sure individual apps aren't stealing all the resources.

The IVPU safeguard was sent in via today's [1]drm-misc-next pull request of new DRM/accelerator driver changes queuing ahead of next month's Linux 7.1 merge window.



[1] https://lore.kernel.org/dri-devel/20260305081140.GA171266@linux.fritz.box/



"The best thing for being sad," replied Merlin, beginning to puff
and blow, "is to learn something. That's the only thing that never fails.
You may grow old and trembling in your anatomies, you may lie awake at
night listening to the disorder of your veins, you may miss your only love,
you may see the world about you devastated by evil lunatics, or know your
honour trampled in the sewers of baser minds. There is only one thing for
it then -- to learn. Learn why the world wags and what wags it. That is
the only thing which the mind can never exhaust, never alienate, never be
tortured by, never fear or distrust, and never dream of regretting. Learning
is the only thing for you. Look what a lot of things there are to learn."
-- T. H. White, "The Once and Future King"