I am using the Xavier NX production module with SSD.
I have some CPU-intensive tasks going (for example Image processing pipeline and video streaming pipeline)
video streaming consuming all 4 CPUS to nearly 100%
SWAP is : 0 %
memory is: 75%
My question is can I divide these tasks to each CPU separately or is there any other way to use the CPUs very efficiently so that my other processes don’t lag?
please suggest any solution for this.
If your video streaming involves encoder such as H264,H265 or VP9, then you may try using HW encoder that will improve performance while saving CPU load. You can easily use it with gstreamer, otherwise code it against Nvbuf_utils API.
Also, boost clocks with sudo jetson_clocks