Too slow work

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 180
Баллы
113
Is this really how fast 100 threads should work ?
https://i.imgur.com/f3I9Qu3.gifv

Tested on 3 Pcs.
The template is totally simple. No browser. Just take the random line from file - run through dll and save in output. That's it.
Works extremely slow

Wait after 101 there are 25 seconds delay to get to 102
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 180
Баллы
113
WOW checking today.
70K lines processed after 10 hours.
UPD:
If all this happens because of locking list to get line then common it worked a hundred times faster before.

UPD2:

No its not because of lock. Testing with one thread.
I can see it worked like one success in second until 7 success. Then 20 seconds delay, then continue with 8. Then after some success again stop and wait for 20 seconds and so on.

As I check delay happens after every 7 executions.
https://i.imgur.com/3ujcYJE.gifv
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 224
Благодарностей
5 843
Баллы
113

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 180
Баллы
113

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 224
Благодарностей
5 843
Баллы
113
I think we need diagnostic report with enabled detailed log to find out why it gets stuck.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 180
Баллы
113
I think we need diagnostic report with enabled detailed log to find out why it gets stuck.
To be honest it's not template fault it seems.
I'm testing with other templates and all of them works very slow.
Simple template, without enabled browser, takes like 2-3 minutes to execute. IN ZP.
In PM it works way faster, like in 5 seconds.
I'm sending the report shortly.

Example logs of how many executions I can get in 2-3 minutes with 5 threads. LOL I have to say that Nothing to process error comes as the second action after I find out that there are no new files in the folder to process. So, in general, it should take less than a second.
42356
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)