File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes SMT Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "SMT" Watch "SMT" New topic
Author

SMT

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 547
To utilize a dual core processor, the operating system must be able to recognize multi-threading and the software must have simultaneous multi-threading technology (SMT) written into its code. SMT enables parallel multi-threading wherein the cores are served multi-threaded instructions in parallel. Without SMT the software will only recognize one core. Adobe Photoshop is an example of SMT-aware software. SMT is also used with multi-processor systems common to servers.


May someone explain more how to write a software to support SMT?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11691
As far as I know standard Java automatically handles using assigning Threads to multiple processor cores and has since version 1. It is build into the JVM.

Bill

Java Resources at www.wbrogden.com
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 13409


All modern JVM passes the handling of threads to the underlying threading system. And all of the top threading systems -- Windows, POSIX, and Solaris -- will place different threads on different cores of a multiprocessor system.

Unless you are using a really old, or not common JVM, I think it is safe to assume that your threads will scale with multiprocessor systems.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
 
subject: SMT
 
MyEclipse, The Clear Choice