- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I would like to know how to use the option called "max_workers" in EII.
I have set it to "4" and it seems that the udf's are output out of order.
Should I sort the frames using the "frame_number" key?, or maybe there is some setting to set the output as "sorted".
Thank you,
Mauricio.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mauricio,
The max_workers parameter is for setting up the thread while processing to work with more than 1 thread. When we use multi-thread, the execution will be asynchronous to speed up the process. Setting max_workers to more than 1 and maintaining the synchronous process will affect the performance and defeat the main purpose of using max_workers.
Please let me know if you have any additional questions.
Regards,
Jesus
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mauricio,
Changing max_workers to something other than 1 does affect the image sequence as mentioned in the documentation.
Set the max_workers value to 1 as "max_workers":1 in the config.json files for VideoIngestion/config.json and VideoIngestion/config.json. This is to ensure that the images sequence is maintained. If the max_workers is set more than 1, then more likely the images would be out of order due to those many multiple threads operating asynchronously.
I'll need to investigate further if there is a way to maintain the image sequence after increasing the max_workers value. Let me look into it and get back to you.
Regards,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mauricio,
The max_workers parameter is for setting up the thread while processing to work with more than 1 thread. When we use multi-thread, the execution will be asynchronous to speed up the process. Setting max_workers to more than 1 and maintaining the synchronous process will affect the performance and defeat the main purpose of using max_workers.
Please let me know if you have any additional questions.
Regards,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you need any additional information, please submit a new question as this thread will no longer be monitored.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page