Solved

How many processes per processor

Posted on 2013-05-22
2
359 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

749 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