Can we multi-thread the TN-Grid wu's?
log in

Advanced search

Message boards : Number crunching : Can we multi-thread the TN-Grid wu's?

Author Message
Send message
Joined: 28 Nov 16
Posts: 5
Credit: 4,097,756
RAC: 0
United States
Message 1488 - Posted: 26 Jan 2019, 14:39:30 UTC

Simple question can we multi-thread the TN-Grid wu's to make them run faster?

Send message
Joined: 29 Dec 16
Posts: 26
Credit: 1,903,104
RAC: 8,599
United States
Message 1489 - Posted: 26 Jan 2019, 20:54:18 UTC - in response to Message 1488.
Last modified: 26 Jan 2019, 20:57:27 UTC

I think the short answer is "no", but a developer could answer more fully. However, the usual reason is to save memory. Since the work units here use less than 60 MB, there is not much reason to. You might just as well run more of them. They take less than four hours on my i7-4790 anyway under Ubuntu, and almost as fast under Windows.

Send message
Joined: 22 Dec 16
Posts: 13
Credit: 762,217
RAC: 7,727
Message 1582 - Posted: 11 Jun 2019, 12:53:34 UTC
Last modified: 11 Jun 2019, 12:57:52 UTC

Multithreading is only practical for certain types of problem. Applied to the wrong system, it can cause an increase in run time.

An extremely crude example, suppose you have a task which does a loop, each iteration of the loop adds 1 to the total, you have to iterate the loop 10 times to get the answer. Simple enough to do, but how could you multi-thread that? Each time it goes through the loop, it needs to know the result of the last pass through the loop, so thread 2, can't start until thread 1 is finished, etc, until it is complete. The act of starting the threads, passing the data, recovering the results, all add to the run time.

The current units run in about three hours on my i7-6700 systems running Windows 8.1.
Wave upon wave of demented avengers march cheerfully out of obscurity into the dream.

Post to thread

Message boards : Number crunching : Can we multi-thread the TN-Grid wu's?

Main page · Your account · Message boards

Copyright © 2019 CNR-TN & UniTN