Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 gvadetect elements in a pipeline, results in decrease of processing FPS #804

Open
divdaisymuffin opened this issue Jan 29, 2022 · 3 comments

Comments

@divdaisymuffin
Copy link

Hi @nnshah1,

Recently got a issue with running a pipeline.json , which usage two gvadetect element, It runs fine when I deploy single pod, and gives good processing FPS, if received FPS is 10, process FPS is 9.5.
But when I deploy other pods, FPS keeps on decreasing and the one that deployed last gets the lowest FPS like 2.3, which results in creation of recording snippet with stuck frames.

Pipeline template I am using
"template":"rtspsrc udp-buffer-size=212992 name=source ! queue ! rtph264depay ! h264parse ! video/x-h264 ! tee name=t ! queue ! decodebin ! gvadetect model=\"{models[uniform_yolov4_tiny_608_default_anchors_mask_012_INT8][1][network]}\" model-proc=\"{models[uniform_yolov4_tiny_608_default_anchors_mask_012_INT8][1][proc]}\" name=\"detection1\" ie-config=CPU_THREADS_NUM=2 threshold=0.40 ! gvadetect model=\"{models[head_yolov4_tiny_608_INT8][1][network]}\" model-proc=\"{models[head_yolov4_tiny_608_INT8][1][proc]}\" name=\"detection\" ie-config=CPU_THREADS_NUM=1 threshold=0.40 ! gvametaconvert name=\"metaconvert\" ! gvapython name=\"visitorDensityStaffUniformDet\" module=\"custom_transforms/visitorDensityStaffUniformDet\" class=\"WaitTime\" ! queue ! gvametapublish name=\"destination\" ! appsink name=appsink t. ! splitmuxsink max-size-time=300000000000 name=\"splitmuxsink\"",

Please suggest,the possible solution or reason why this would happen.

@nnshah1
Copy link

nnshah1 commented Feb 1, 2022

can you share the system details? Would want to start by determining whether the system can process more than one stream at 10 fps.

@nnshah1
Copy link

nnshah1 commented Feb 1, 2022

can you share the CPU utilization for single pod, two pods, etc.

@dhaval-zala-aivid
Copy link

CPU configuration ...
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
CPU(s): 12
Ram: 24 GB
ssd: 250 GB
hdd: 1 TB

For one, two and three pods CPU utilisation is in between 16% to 18%, 28% and 43% respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants