|Designed by||Sun Microsystems|
|Max. CPU clock rate||1.2 GHz to 1.6 GHz|
|Architecture and classification|
|Instruction set||SPARC V9|
|Products, models, variants|
Sun Microsystems' UltraSPARC T2 microprocessor is a multithreading, multi-core CPU. It is a member of the SPARC family, and the successor to the UltraSPARC T1. The chip is sometimes referred to by its codename, Niagara 2. Sun started selling servers with the T2 processor in October 2007.
The T2 is a commodity derivative of the UltraSPARC series of microprocessors, targeting Internet workloads in computers, storage and networking devices. The processor, manufactured in 65 nm, is available with eight CPU cores, and each core is able to handle eight threads concurrently. Thus the processor is capable of processing up to 64 concurrent threads. Other new features include:
- Speed bump for each thread, which increased the frequency from 1.2 GHz to 1.6 GHz
- One PCI Express port (x8 1.0) vs. the T1's JBus interface
- Two Sun Neptune 10 Gigabit Ethernet ports (embedded into the T2 processor) with packet classification and filtering
- L2 cache size increased to 4 MB (8-banks, 16-way associative) from 3 MB
- Improved thread scheduling and instruction prefetching to achieve higher single-threaded performance
- Two integer ALUs per core instead of one, each one being shared by a group of four threads
- One floating point unit per core, up from just one FPU for the entire chip
- Eight encryption engines, with each supporting DES, Triple DES, AES, RC4, SHA1, SHA256, MD5, RSA-2048, ECC, CRC32
- Hardware random number generator
- Four dual-channel FBDIMM memory controllers
There are 8 stages for integer operations, instead of 6 in the T1.
|T1's pipeline||Fetch||------->||Thread Selection||Decode||Execute||Memory Access||------->||Writeback|
|T2's pipeline||Fetch||Cache||Thread Selection||Decode||Execute||Memory Access||Bypass||Writeback|
The T2 processor can be found in the following products from Sun and Fujitsu Computer Systems:
- Sun/Fujitsu/Fujitsu Siemens SPARC Enterprise T5120 and T5220 servers
- Sun Blade T6320 Server Module
- Sun Netra CP3260 Blade
- Sun Netra T5220 Rackmount Server
Sun also licensed the T2 processor to Themis Computer, which introduced the first non-Sun T2-based servers in 2008:
UltraSPARC T2 Plus
Sun released the UltraSPARC T2 Plus processor with the following changes:
- Ability to be used in 2 or 4 processor configurations (first CoolThreads processor capable of multi-processor capability)
- Loss of on-chip embedded 10 Gigabit Ethernet controller
T2 Plus systems
UltraSPARC T2 Plus processors can be found in the following products from Sun and Fujitsu Computer Systems: Two-way SMP servers:
- Sun/Fujitsu/Fujitsu Siemens SPARC Enterprise T5140
- Sun/Fujitsu/Fujitsu Siemens SPARC Enterprise T5240
Four-way SMP server:
- Sun/Fujitsu/Fujitsu Siemens SPARC Enterprise T5440
The High Performance Computing Virtual Laboratory in Canada built a compute cluster using 78 Sun SPARC Enterprise T5140 servers. With two 1.2 GHz T2 Plus chips in each T5140 server, the cluster has close to 10,000 compute threads, making it ideal for high-throughput workloads.
Like the T1, the T2 supports the Hyper-Privileged execution mode. The SPARC Hypervisor runs in this mode and can partition a T2 system into 64 Logical Domains, and a two-way SMP T2 Plus system into 128 Logical Domains, each of which can run an independent operating system instance.
Performance improvement versus T1
The UltraSPARC T2 offers a variety of performance improvements over the former UltraSPARC T1 processor
- Integer throughput and throughput/watt (>2x improvement)
- Integer single-thread performance (>1.4x improvement)
- Better floating-point throughput (>10x improvement)
- Better floating-point single-thread performance (>5x improvement)
- Increased performance of cryptography through additional cyphers included in the embedded crypto cores
- Two world-record single-chip SPEC CPU results, based on tests that delivered 78.5 SPECint_rate2006 and 62.3 SPECfp_rate2006
Leveraging the massive amount of thread-level parallelism (TLP) available on the CoolThreads platform can require different application development techniques than for traditional server platforms. Using TLP in applications is key to getting good performance. Sun has published a number of Sun BluePrints to assist application programmers in developing and deploying software on T1 or T2-based CoolThreads servers. The main article, Tuning Applications on UltraSPARC T1 Chip Multithreading Systems, addresses issues for general application programmers. There is also a BluePrints article on using the Cryptographic Accelerator Units on the T1 and T2 processors.
A wide range of applications were optimized on the CoolThreads platform, including Symantec Brightmail AntiSpam, Oracle's Siebel applications, and the Sun Java System Web Proxy Server. Sun also documented its experience in moving its own online store onto a T2000 server cluster, and have published two articles on web consolidation on CoolThreads using Solaris Containers.
Sun had an application performance tuning page for a range of open source applications, including MySQL, PHP, gzip, and ImageMagick. Proper optimization for CoolThreads systems can result in significant gains: when the Sun Studio compiler is used with the recommended optimization settings, MySQL performance improves by 268% compared to using just the -O3 flag.
Other UltraSPARC T2 performance related tunings are documented on Oracle engineers' blogs.
Peak power consumption can go as high as 123 watts, but the T2 typically consumes 95 watts during nominal system operation. This is up from 72 watts from the T1. Sun explains that this is due to a higher degree of system integration onto the chip.
On April 9, 2008, Sun announced the UltraSPARC T2 Plus.
- Verilog RTL source code of the design
- Verification environment
- Diagnostics tests
- Open source tools, scripts and Sun internal tools needed to simulate the design
- ISA specification (UltraSPARC Architecture 2007)
- Solaris 10 OS simulation images
- "Niagara2: A Highly Threaded Server-on-a-Chip" (PDF). Archived (PDF) from the original on 2007-01-24. Retrieved 2007-01-28.
- "T2BC Blade Servers". Themis Computer. 2008-06-02. Archived from the original on 2008-06-05.
- "Sun Microsystems And Fujitsu Expand SPARC Enterprise Server Line With New UltraSPARC T2 Plus Processor-Based Systems". Sun Microsystems. 2008-04-09. Archived from the original on 2010-01-04.
- "Victoria Falls Cluster". HPCVL. 2008-06-10. Archived from the original on 2014-12-26. Retrieved 2011-09-30.
- "Developing and Tuning Applications on UltraSPARC T1 Chip Multithreading Systems" (PDF). Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Using the Cryptographic Accelerators in the UltraSPARC T1 and T2 Processors" (PDF). Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Tuning Symantec Brightmail AntiSpam on UltraSPARC T1 and T2 Processor-Powered Servers" (PDF). Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Optimizing Oracle's Siebel Applications on Sun Fire Servers with CoolThreads Technology" (PDF). Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Sun's High-Performance and Reliable Web Proxy Solution" (PDF). Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Consolidating the Sun Store onto Sun Fire T2000 Servers" (PDF). Sun BluePrints Online. Sun Microsystems. October 2007. Retrieved 2008-01-09.
- "Deploying Sun Java Enterprise System 2005-Q4 on the Sun Fire T2000 Server Using Solaris Containers" (PDF). Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Web Consolidation on the Sun Fire T1000 using Solaris Containers" (PDF). Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Application Performance Tuning". Sun Microsystems. Retrieved 2008-01-09.
- "CMT Comes Of Age". Oracle. Archived from the original on 2013-12-13. Retrieved 2014-06-12.
- "Sun Microsystems Completes Design Tape-Out for Next-Generation, Breakthrough UltraSPARC T2 CoolThreads Processor". Archived from the original on 2008-07-06. Retrieved 2006-08-25.
- "Announcement webcast". Archived from the original on 2011-05-20. Retrieved 2007-08-07.