LPM exit latency is zeroed, disabling LPM.

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
trumee
Posts: 70
Joined: Tue Mar 08, 2011 3:33 pm

LPM exit latency is zeroed, disabling LPM.

Post by trumee »

I am trying to use Coral TPU as a machine learning hook. The TPU is connected to the USB of the system. Unfortunately, the TPU is throwing an error,

Code: Select all

[Sun Jul  2 11:42:22 2023] usb 4-1: reset SuperSpeed USB device number 6 using xhci_hcd
[Sun Jul  2 11:42:22 2023] usb 4-1: LPM exit latency is zeroed, disabling LPM.
I tested the TPU with frigate on the same system, and it worked flawlessly. This makes me to believe that ZM workflow is different to frigate and it is stressing TPU too much.

Will standalone mlapi server help?
Zonecams
Posts: 3
Joined: Sat Mar 05, 2022 4:15 pm

Re: LPM exit latency is zeroed, disabling LPM.

Post by Zonecams »

Since I just encountered the same problem
Will standalone mlapi server help?
This is exactly what helps, not just fix the amount of reset superspeed usb, but it will also speed up the detection by a factor of ~10x.
The mlapi server only loads the model once, while normal detection without mlapi server will load the model everytime a hook fires.
Post Reply