Comskip Support Forum

Comskip is a free commercial detector, browse the forum for more information
It is currently Fri Jul 20, 2018 1:03 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Jun 30, 2014 10:35 am 
Offline

Joined: Mon Feb 10, 2014 12:03 pm
Posts: 23
Does comskip use a file read buffer where it reads the video from the disk in say 64MB chunks into RAM, or does the comskip processor read directly from disk?

It would be great if comskip had an extra file read buffer layer in between the comskip processor and the physical disk.

I implemented a read buffer in my own c# app and it made a huge difference in performance. I'm almost convinced a system like this would resolve all the IO hangs I'm experiencing.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 30, 2014 10:54 am 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3190
Comskip uses a big buffer when reading the recording to avoid an IO overload
But you need to be aware that modern CPU's are so fast that processing at full speed can consume the full bandwidth of a single disk or network drive


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 30, 2014 1:17 pm 
Offline

Joined: Mon Feb 10, 2014 12:03 pm
Posts: 23
I see. Can we add an ini option to specify the buffer size in the next release? Maybe it is too large for SSD's that read at 500MB/s with super fast access times ... way faster than any HDD which max out at about 150MB/s. Perhaps it needs to be re-tuned for todays SSD performance.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 30, 2014 4:08 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3190
Is there an actual problem?
Or is this a nice to have option?


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 02, 2014 8:50 am 
Offline

Joined: Mon Feb 10, 2014 12:03 pm
Posts: 23
I have had ongoing system hangs. I have tried different INI settings but but nothing seems to work. The hangs happen less now but when they do I need to reset the PC to recover.

One configuration I didn't try was to start comskip at the start of the recording in MP, I always had it set to trigger at the end of the recording. Since then, there have been no IO hangs :) *fingers crossed*

I'll let you know if it continues to happen, if it does then maybe we can look into adding an option for the disk buffer size since I can't think of anything else that could resolve the issue.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group