Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can't really force full usage - you need to provide more work for the processor to do. You could do this by increasing the number of threads to process more data in parallel. If you provide your samples of your source code we could provide specific advice on how you could alter your code to achieve this.</p> <p>If you are using a third party piece of software for data processing, this often makes it difficult to split into multiple threads. One tactic that's often helpful is to split up your input data, then start a new thread for each data set. This requires domain specific knowledge to know what you can split up. For simulations, once you have split up one run as much as possible, an alternative is to process multiple runs in parallel.</p> <p>The <a href="http://msdn.microsoft.com/en-us/library/dd460717%28v=vs.110%29.aspx" rel="nofollow">Task Parallel Library</a> can be really useful to break down your code into multiple threads without much refactoring. Particularly the <a href="http://msdn.microsoft.com/en-us/library/dd537608%28v=vs.110%29.aspx" rel="nofollow">data parallelism</a> section.</p> <p>One big note of caution - you need to make sure what you're doing is <a href="http://en.wikipedia.org/wiki/Thread_safety" rel="nofollow">thread-safe</a>. I'll provide some further reading for you. The basic principal is that you need to made sure if you're sharing data between threads then you need to be very careful they don't affect one another - this can cause bizarre problems!</p> <p>As for your question regarding interfaces - within your process you can allocate thread priority to each thread. An interface thread is just a thread like any other. Usually a UI thread is given the highest priority to remain responsive, whereas a long background process is given a normal/below normal priority as it can be processed during idle time. You can set the priority <a href="http://msdn.microsoft.com/en-us/library/system.threading.thread.priority%28v=vs.110%29.aspx" rel="nofollow">manually</a>, the default for any new thread is Normal.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload