Edge Software Catalog
Support for issues related to Edge Software Catalog
Avisos
The Edge Software Catalog community is read-only. For support, please visit the Open Edge Platform (https://github.com/open-edge-platform) GitHub organization and post your question in the relevant repository’s Issues section.
493 Discusiones

Intel® Edge Software: max workers

Mauricio
Novato
3.514 Vistas

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.

Etiquetas (1)
0 kudos
1 Solución
JesusE_Intel
Moderador
3.462 Vistas

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


Ver la solución en mensaje original publicado

3 Respuestas
JesusE_Intel
Moderador
3.496 Vistas

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


JesusE_Intel
Moderador
3.463 Vistas

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


JesusE_Intel
Moderador
3.439 Vistas

If you need any additional information, please submit a new question as this thread will no longer be monitored.

Responder