Too slow work

  • Автор темы Автор темы lokiys
  • Дата начала Дата начала

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 921
Реакции
1 206
Баллы
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
 
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
 
Please enable project tracing - https://zennolab.com/wiki/en:trace
and try to notice where exactly it's getting stuck.

FR8nhs5.png


One thing different in long working execution log You get like twice what You have usually.
Even if You see longer executed file shows 3 seconds, You can compare time in my gif that it is not 3 seconds for every 7 execution.
 
I think we need diagnostic report with enabled detailed log to find out why it gets stuck.
 
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
 

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