How many background workers can I use? [closed] - multithreading

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How many background workers can I use? Threads? etc.

Tha maximum number of threads you can create is only bounded by the resources that you have.
This could be the question asked in:
Maximum number of threads per
process in Linux?
What's the maximum number of threads
in Windows Server 2003?

Depends on your hardware/software configuration and your use cases.

Related

How to trace cpu/memory usage for a process in linux? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to trace my Node.js app.. I need to see how much of cpu/memory it's taking... how to do this in linux CENTOS... Solutions with log are welcome
use a monitoring software like collectd.

i want to find out how many threads maximum use in dual core using C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am using C#. I want to write the program using thread concept. I just to know maximum how many threads can run in dual core using C#. I attach my partial code:
Thread t1 = new Thread(threadJobA);
Thread t2 = new Thread(threadJobB);
t1.Start();
t2.Start();
You can use the Environment.ProcessorCount to find out how many cores there are in the machine.
However, that doesn't limit the number of threads that you can start, that only tells you how many of the threads can run at the same time. In some situations there may be useful to start more threads than that, in some sitations less. It all depends on what the threads are supposed to be doing.

Parallel computing in image processing? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Can anybody give me some examples and brief explanation of parallel computing in image processing (that could make use of CUDA kernels on an Nvdia GPU) ? For example with regards to pixels my perception so far is that the image could be split into smaller sections and same process applied to those sections to build the overall objective, but is there more to it than that? Also how would that be achieved in terms of programming?
Check this : http://supercomputingblog.com/cuda/intro-to-image-processing-with-cuda/
The linked page contains direct answers to your questions, and example code for a quick start.

How does 7-zip use threading? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is there an explanation on how multithreading in 7zip is implemented?
Does it compress several files in parallel, several blocks in parallel, or is the same block compressed by multiple threads?
And are there any trade-offs involving multithreading? For example, is the compressed file size affected?

Const compiler/runtime [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How are treated constants in various languages/compilers? They take up space in RAM in runtime or are replaced with their values ​​at compile time?
A compiler is free to go either way. The typical way to handle this is to use scalars directly while keeping larger objects like arrays in memory.
In addition, if you build an embedded system, they typically go into read-only memory like flash rather than RAM.

Resources