Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how many thread can run at same time on pentium 4
Posted
Updated 15-Dec-14 6:05am
v2
Comments
Afzaal Ahmad Zeeshan 15-Dec-14 11:58am    
This is not such a forum to ask such questions. You can better come here, with a programming-related question.
PIEBALDconsult 15-Dec-14 12:04pm    
One per core?

That's not really a question that has a simple answer.
There are several problems: Pentium4 wasn't "A processor", it was a whole family of processors, some of which where hyperthreaded (virtual implementations of multiple physical cores) enabling multiple threads to run "at the same time".

And "at the same time" isn't really a useful description anyway, since most OS will pre-emptively multitask threads to increase throughput, and this can give the appearance of several tasks runnign "at the same time".

So, you pays your money, and you takes your choice: 1 is a good bet (but wrong, mostly), 2 is a better bet (but probably wrong in reality since hyperthreads are virtual) and "n" is what it all looks like, but definitely wrong in reality! But right at teh same time in terms of observable effect.


"One per core" is probably the best answer you can get here. (And still wrong! :laugh: )
 
Share this answer
 
You probably mean processes... (threads a subdivisions of processes)...
As in fact no same-time is exists on a single processor core there is no logical limit to the number of process can be active in an operating system (may be a physical limit of memory to hold the table for processes).
Threads are subdivisions of a process and are managed under the process's thread pool. By default such thread pool can be hold about 500 threads but that number can be changed using the right API.
These thread pools are also limited only by the physical limits of memory...
So the process/thread number does not depends on the CPU model but on the OS (in Linux it handled differently)...
However the actual implementation of the execution of those processes/threads depending on the number of physical cores of the CPU - in Pentium 4 it can be 1 or 2 (using Hyper-Threading technology)...

About Processes and Threads[^]
Intel Pentium 4[^]
 
Share this answer
 
One or two (in later versions, thanks to HTT, according to Wikipedia[^]).
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900