Edge Software Catalog
Support for issues related to Edge Software Catalog
473 ディスカッション

Intel® Edge Software: max workers

Mauricio
初心者
2,687件の閲覧回数

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.

ラベル(1)
0 件の賞賛
1 解決策
JesusE_Intel
モデレーター
2,635件の閲覧回数

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


元の投稿で解決策を見る

3 返答(返信)
JesusE_Intel
モデレーター
2,669件の閲覧回数

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
モデレーター
2,636件の閲覧回数

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
モデレーター
2,612件の閲覧回数

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

返信