Solved

How many processes per processor

Posted on 2013-05-22
2
351 Views
Last Modified: 2013-05-30
Hi ,
I have a customer who is asking

How many concurrent processes can you run on a single quad?
-         How much memory can be allocated to each process?
We are using Intel Processors.

Any input would be appreciated.
0
Comment
Question by:c_hockland
2 Comments
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 250 total points
ID: 39189589
A processor core can only handle one task at a time.  With Hyperthreading, it can basically do two at a time.  But a preemptive multitasking operating system (which all x86/x64 OSs are these days as far as I know) will schedule time for each process on each processor core.

I'd suggest reviewing the comments and links here:
http://superuser.com/questions/168114/how-much-memory-can-a-64bit-machine-address-at-a-time
0
 
LVL 34

Assisted Solution

by:Duncan Roe
Duncan Roe earned 250 total points
ID: 39192810
With a quad, you can certainly have 4 threads actually executing concurrently. That's why it's important to use proper locking mechanisms between threads in a process - otherwise a variable being used by one thread could literally change in value between instructions in that thread because of the actions of another thread running in a different core.
There is a limit to how many processes a kernel can support: it is given by
08:30:23$ cat /proc/sys/kernel/pid_max 
32768
08:31:49$ 

Open in new window

I.e. on my 32-bit system it is 32768. Multiple threads actually consume 1 pid each, but this is hidden (unless you have a very old system).
This limit is independent of the number of cores.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
Learn about cloud computing and its benefits for small business owners.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question