• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multi-Processors Influence?

 
Arno Reper
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i was asking me what will be the influence of multi-processors like the Core Duo or PPC Quad ( and others ) on whats guaranteed or not about multithreading. What are you thinking about ranchers?

thanks for your comments,
arno
 
Asha Pathik
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think the idea of multiprocessor is that we can have many more programs(different applications) running at the same time than on any single-processor systems.In that case we might be able to run multiple Java applications more efficiently than on any other single-processor multi-threaded machine. But as far as the how a single program running on a single alloted processor is concerned we might not see much a difference.

Plz correct me if I am wrong.
Asha
 
Arno Reper
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I thought the CPU could schedule the threads on both processors, for example if you have two threads like main and another...one on each, if its well programmed you could be sure what the output ll be? or not? I amn't an processor ingenieur so...
I know that some programms can fully use multi-processor, but the most use only one and the other proc is waiting or doing something else.
arno
[ April 10, 2006: Message edited by: Arno Reper ]
 
Henry Wong
author
Marshal
Pie
Posts: 21490
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most JVMs have been able to use all the processors on the machine for a long time now... ever since the switch over to native threads.

And while "dual-cores" may be new, multiprocessor machines have been around for a long time too -- even for Windows.

Basically, different threads can be scheduled on different processors.

Henry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic