Two luajit processes hungs system out

13 views
Skip to first unread message

AlexOF

unread,
Feb 28, 2018, 8:09:27 AM2/28/18
to torch7
Hi all,
I wrote some small script to test image pre-processing speed
When I run it:

$ th torch_speed_test.lua
Started
Upload elapsed time: 11.26


But if I try to run 2 instances simultaniously it runs near forever:

$ th torch_speed_test.lua &th torch_speed_test.lua
[1] 65412

Started
Started
Upload elapsed time: 573.83
Upload elapsed time: 574.72

[1]+  Done                    th torch_speed_test.lua

Is it normal behaviour for torch7/luajit?
In both cases CPU load is 100% for all cores (I have 8-cores CPU)
Why difference is so big?

AlexOF

unread,
Feb 28, 2018, 8:31:48 AM2/28/18
to torch7
problem addressed:

Issue is due to conflict of openblas multithreading with program multiprocessing
Reply all
Reply to author
Forward
0 new messages