The application relates to the technical field of task scheduling, and discloses an NPU
resource management method, device and
system,
electronic equipment and a storage medium. The method comprises the following steps: pre-allocating and persisting physical
display memory as a shared
display memory pool for multiple
client processes to share and access through a lease mode; when it is necessary to release NPU resources, releasing the lease of a target
client process to give up the use right of the
display memory, and keeping the virtual
address mapping of the target
client process unchanged, wherein the virtual
address mapping is established based on a target display memory region allocated to the target client process in the shared display
memory pool; when it is necessary to restore the NPU resources, re-acquiring the lease for the target client process to restore the use right of the display memory, and reusing the kept virtual
address mapping. The application decouples the allocation and release of the physical display memory from the Sleep / Wake switching of the client process, so that the display memory
switching time is no longer proportional to the display memory occupancy, and the efficiency of the multi-process dynamic scheduling and the overall
throughput of the
system are significantly improved.