UltraSPARC T2 Micrograph
|Designed by||Sun Microsystems|
|Max. CPU clock rate||1.2 GHz to 1.6 GHz|
|Instruction set||SPARC V9|
|Cores||4, 6, 8|
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.
 UltraSPARC T2 New features
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, increased to 1.6 GHz from 1.2 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
 Core pipeline
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|
 T2 Systems
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+ Changes
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+ Systems
The T2 processor can be found in the following products from Sun and Fujitsu Computer Systems: UltraSPARC T2 Plus processors are used in the following two-way SMP servers:
- Sun/Fujitsu/Fujitsu Siemens SPARC Enterprise T5140
- Sun/Fujitsu/Fujitsu Siemens SPARC Enterprise T5240
UltraSPARC T2 Plus processors are used in the following four-way SMP server:
- Sun/Fujitsu/Fujitsu Siemens SPARC Enterprise T5440
 T2 Plus Compute Cluster
The High Performance Computing Virtual Laboratory (HPCVL) 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
 Application tuning
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.
 Case studies
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 has 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 Sun engineers' blogs.
 Power consumption
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.
 Release history
On April 9, 2008, Sun announced the UltraSPARC T2 Plus.
 Open design
- 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
- "T2BC Blade Servers". Themis Computer. 2008-06-02.
- "Sun Microsystems And Fujitsu Expand SPARC Enterprise Server Line With New UltraSPARC T2 Plus Processor-Based Systems". Sun Microsystems. 2008-04-09.
- "Victoria Falls Cluster". HPCVL. 2008-06-10.
- "Developing and Tuning Applications on UltraSPARC T1 Chip Multithreading Systems". Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Using the Cryptographic Accelerators in the UltraSPARC T1 and T2 Processors". Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Tuning Symantec Brightmail AntiSpam on UltraSPARC T1 and T2 Processor-Powered Servers". Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Optimizing Oracle's Siebel Applications on Sun Fire Servers with CoolThreads Technology". Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Sun's High-Performance and Reliable Web Proxy Solution". Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Consolidating the Sun Store onto Sun Fire T2000 Servers". 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". Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Web Consolidation on the Sun Fire T1000 using Solaris Containers". Sun BluePrints Online. Sun Microsystems. Retrieved 2008-01-09.
- "Application Performance Tuning". Sun Microsystems. Retrieved 2008-01-09.
- "CMT Comes Of Age". Sun Microsystems. Retrieved 2008-02-12.
- Sun Microsystems Completes Design Tape-Out for Next-Generation, Breakthrough UltraSPARC T2 CoolThreads Processor
- Announcement webcast
- UltraSPARC T2 Processor
- CMT Comes Of Age: Sun engineers give the inside scoop on the new UltraSPARC T2 systems
- An 8-core, 64-thread, 64-bit, power efficient SPARC SoC presentation that was made on Niagara 2 at ISSCC 2007
- OpenSPARC T2
- Sun Servers with CoolThreads Technology
- Niagara II: The Hydra Returns