標題: Xenon Hardware Overview [打印本頁] 作者: masonchung 時間: 2007-2-9 10:16 AM 標題: Xenon Hardware Overview Xenon Hardware Overview ) X* Q. @8 }" {2 [% I$ t) p' v . X+ U! B: d- {" HBy Pete Isensee, Development Lead, Xbox Advanced Technology Group2 \! n6 s8 W3 Q+ m$ ?, N
2 J" c/ [; d1 `# _/ L' q5 f- MThis documentation is an early release of the final documentation, which may be changed substantially prior to final commercial release, and is confidential and proprietary information of MS Corporation. It is disclosed pursuant to a nondisclosure agreement between the recipient and MS. 7 g) ?$ n- T# R" o“Xenon” is the code name for the successor to the Xbox® game console from MS. Xenon is expected to launch in 2005. This white paper is designed to provide a brief overview of the primary hardware features of the console from a game developer’s standpoint. 2 ^# k6 O+ c2 r# C : T$ ]7 z! {/ S& qCaveats0 z; N# O, H8 W W/ d& b1 r
In some cases, sizes, speeds, and other details of the Xenon console have not been finalized. Values not yet finalized are identified with a “+” sign, indicating that the numbers may be larger than indicated here. At the time of this writing, the final console is many months from entering production. Based on our experience with Xbox, it’s likely that some of this information will change slightly for the final console. % {- s. h; y! _+ b! k 8 F' z( |4 }" x: Z7 SFor additional information on various hardware components, see the other relevant white papers. / X0 |% i) x4 p' Q) A ! s6 X2 I1 e( Q9 ^% t7 J$ XHardware Goals2 l Z/ m1 T1 `4 p
Xenon was designed with the following goals in mind:: g4 h, M2 N2 j" P+ C. D4 s% i# e
1 g; S( \$ Q, }: }
•Focus on innovation in silicon, particularly features that game developers need. Although all Xenon hardware components are technologically advanced, the hardware engineering effort has concentrated on digital performance in the CPU and GPU./ ]3 L0 _+ Q9 s H
* Q. b2 N2 Z2 A
•Maximize general purpose processing performance rather than fixed-function hardware. This focus on general purpose processing puts the power into the Xenon software libraries and tools. Rather than being hamstrung by particular hardware designs, software libraries can support the latest and most efficient techniques.4 ^' j. A R3 f9 G" e+ c
% H6 w/ v; a0 G8 J* _& y
•Eliminate the performance issues of the past. On Xbox, the primary bottlenecks were memory and CPU bandwidth. Xenon does not have these limitations. ! }# z# ~8 R4 p7 H" a. l: K) C : S2 @! }8 h, M2 d2 c3 o/ a: s" bBasic Hardware Specifications * d! |& }8 n& {4 e7 b. _ $ v8 D: w2 `7 X- JXenon is powered by a 3.5+ GHz IBM PowerPC processor and a 500+ MHz ATI graphics processor. Xenon has 256+ MB of unified memory. Xenon runs a custom operating system based on MS® Windows NT®, similar to the Xbox operating system. The graphics interface is a superset of MS® Direct3D® version 9.0.6 k% `' l3 k- k
CPU / m; o3 r7 ]' ?8 o' @ & z) H9 I: \# e$ P8 ?The Xenon CPU is a custom processor based on PowerPC technology. The CPU includes three independent processors (cores) on a single die. Each core runs at 3.5+ GHz. The Xenon CPU can issue two instructions per clock cycle per core. At peak performance, Xenon can issue 21 billion instructions per second.+ l5 B* N2 R9 _* t4 Y4 X$ l% }
: Q+ D! Y+ f+ i0 }2 F. b6 C# N4 cThe Xenon CPU was designed by IBM in close consultation with the Xbox team, leading to a number of revolutionary additions, including a dot product instruction for extremely fast vector math and custom security features built directly into the silicon to prevent piracy and hacking. 9 H/ n4 m3 l' k( X; _& D1 B6 W G' \
Each core has two symmetric hardware threads (SMT), for a total of six hardware threads available to games. Not only does the Xenon CPU include the standard set of PowerPC integer and floating-point registers (one set per hardware thread), the Xenon CPU also includes 128 vector (VMX) registers per hardware thread. This astounding number of registers can drastically improve the speed of common mathematical operations.7 ? s6 j8 u7 x0 \5 F" ]# f5 e
' k1 D3 ]8 D2 Q0 t! {/ I
Each of the three cores includes a 32-KB L1 instruction cache and a 32-KB L1 data cache. The three cores share a 1-MB L2 cache. The L2 cache can be locked down in segments to improve performance. The L2 cache also has the very unusual feature of being directly readable from the GPU, which allows the GPU to consume geometry and texture data from L2 and main memory simultaneously. 2 }. G$ g: ^3 ~Xenon CPU instructions are exposed to games through compiler intrinsics, allowing developers to access the power of the chip using C language notation.1 E% i+ o6 [8 w0 Y0 G
GPU % @' @+ R1 K/ {* K5 B6 Q5 _4 a" r5 o- ]2 m" y% P* n
The Xenon GPU is a custom 500+ MHz graphics processor from ATI. The shader core has 48 Arithmetic Logic Units (ALUs) that can execute 64 simultaneous threads on groups of 64 vertices or pixels. ALUs are automatically and dynamically assigned to either pixel or vertex processing depending on load. The ALUs can each perform one vector and one scalar operation per clock cycle, for a total of 96 shader operations per clock cycle. Texture loads can be done in parallel to ALU operations. At peak performance, the GPU can issue 48 billion shader operations per second.0 y, Q7 w5 Y- X- c2 O3 b4 ^: a$ v
" f# f. ]0 {# t: l+ Y5 Q
The GPU has a peak pixel fill rate of 4+ gigapixels/sec (16 gigasamples/sec with 4× antialiasing). The peak vertex rate is 500+ million vertices/sec. The peak triangle rate is 500+ million triangles/sec. The interesting point about all of these values is that they’re not just theoretical—they are attainable with nontrivial shaders. 1 \; ], N' i( O ' Z" \! \0 t6 p2 NXenon is designed for high-definition output. Included directly on the GPU die is 10+ MB of fast embedded dynamic RAM (EDRAM). A 720p frame buffer fits very nicely here. Larger frame buffers are also possible because of hardware-accelerated partitioning and predicated rendering that has little cost other than additional vertex processing. Along with the extremely fast EDRAM, the GPU also includes hardware instructions for alpha blending, z-test, and antialiasing.3 \: {: J) X# u1 n
. T0 n# w! s9 [- ]0 PThe Xenon graphics architecture is a unique design that implements a superset of Direct3D version 9.0. It includes a number of important extensions, including additional compressed texture formats and a flexible tessellation engine. Xenon not only supports high-level shading language (HLSL) model 3.0 for vertex and pixel shaders but also includes advanced shader features well beyond model 3.0. For instance, shaders use 32-bit IEEE floating-point math throughout. Vertex shaders can fetch from textures, and pixel shaders can fetch from vertex streams. Xenon shaders also have the unique ability to directly access main memory, allowing techniques that have never before been possible.8 F3 r1 j2 H0 v% i4 R
% ?4 S" f4 m) E- l
As with Xbox, Xenon will support precompiled push buffers (“command buffers” in Xenon terminology), but to a much greater extent than the Xbox console does. The Xbox team is exposing and documenting the command buffer format so that games are able to harness the GPU much more effectively. 4 t! _5 o; p4 Z$ h5 l" a( Z: l- O/ |* C! m# ~( B
In addition to an extremely powerful GPU, Xenon also includes a very high-quality resize filter. This filter allows consumers to choose whatever output mode they desire. Xenon automatically scales the game’s output buffer to the consumer-chosen resolution. & G* `3 i6 } b' X* j7 h! J! h0 n
Memory and Bandwidth+ Q$ x! l. h b1 c
Xenon has 256+ MB of unified memory, equally accessible to both the GPU and CPU. The main memory controller resides on the GPU (the same as in the Xbox architecture). It has 22.4+ GB/sec aggregate bandwidth to RAM, distributed between reads and writes. Aggregate means that the bandwidth may be used for all reading or all writing or any combination of the two. Translated into game performance, the GPU can consume a 512×512×32-bpp texture in only 47 microseconds.- g6 }2 j( O/ q) N5 O0 V) }
# V4 ~0 y2 ?0 K7 M
The front side bus (FSB) bandwidth peak is 10.8 GB/sec for reads and 10.8 GB/sec for writes, over 20 times faster than for Xbox. Note that the 22.4+ GB/sec main memory bandwidth is shared between the CPU and GPU. If, for example, the CPU is using 2 GB/sec for reading and 1 GB/sec for writing on the FSB, the GPU has 19.4+ GB/sec available for accessing RAM. 0 G6 A" H8 B5 ^- W - r7 j' ^4 i6 |6 x4 }4 _* GEight pixels (where each pixel is color plus z = 8 bytes) can be sent to the EDRAM every GPU clock cycle, for an EDRAM write bandwidth of 32 GB/sec. Each of these pixels can be expanded through multisampling to 4 samples, for up to 32 multisampled pixel samples per clock cycle. With alpha blending, z-test, and z-write enabled, this is equivalent to having 256 GB/sec of effective bandwidth! The important thing is that frame buffer bandwidth will never slow down the Xenon GPU.0 ]; h0 | k+ r' f. J+ v7 N' X1 Y* R5 ]! h
9 F2 V Y* \* C
Audio ! N& `6 i* y, U/ Y" d3 DThe Xenon CPU is a superb processor for audio, particularly with its massive mathematical horsepower and vector register set. The Xenon CPU can process and encode hundreds of audio channels with sophisticated per-voice and global effects, all while using a fraction of the power of a single CPU core.3 z9 a+ E+ t8 o0 `& ~% X4 o
4 r! Z- v& ^8 Y2 X* U) @
The Xenon system south bridge also contains a key hardware component for audio—XMA decompression. XMA is the native Xenon compressed audio format, based on the WMA Pro architecture. XMA provides sound quality higher than ADPCM at even better compression ratios, typically 6:1–12:1. The south bridge contains a full silicon implementation of the XMA decompression algorithm, including support for multichannel XMA sources. XMA is processed by the south bridge into standard PCM format in RAM. All other sound processing (sample rate conversion, filtering, effects, mixing, and multispeaker encoding) happens on the Xenon CPU. 6 X% P- l% e% p4 S. \1 A * z8 a" ]! P6 Z$ l6 Z# \The lowest-level Xenon audio software layer is XAudio, a new API designed for optimal digital signal processing. The Xbox Audio Creation Tool (XACT) API from Xbox is also supported, along with new features such as conditional events, improved parameter control, and a more flexible 3D audio model. * G1 c) {. w% P/ YInput/Output " }$ S; C7 V3 c 0 `: B, w) b, o- i0 N- L. l( ZAs with Xbox, Xenon is designed to be a multiplayer console. It has built-in networking support including an Ethernet 10/100-BaseT port. It supports up to four controllers. From an audio/video standpoint, Xenon will support all the same formats as Xbox, including multiple high-definition formats up through 1080i, plus VGA output. + t5 k& W0 C6 D& N* d! C , x0 n+ {$ [# vIn order to provide greater flexibility and support a wider variety of attached devices, the Xenon console includes standard USB 2.0 ports. This feature allows the console to potentially host storage devices, cameras, microphones, and other devices. / ?9 k8 F- Z9 ?) F# S) G" L U& w; ~ s' V" Q/ j; |' g! u
Storage 5 S9 _9 G9 U4 `- W* P! HThe Xenon console is designed around a larger world view of storage than Xbox was. Games will have access to a variety of storage devices, including connected devices (memory units, USB storage) and remote devices (networked PCs, Xbox Live™). At the time of this writing, the decision to include a built-in hard disk in every Xenon console has not been made. If a hard disk is not included in every console, it will certainly be available as an integrated add-on component. 6 I& S8 o1 s: p . B3 w6 W3 B$ OXenon supports up to two attached memory units (MUs). MUs are connected directly to the console, not to controllers as on Xbox. The initial size of the MUs is 64 MB, although larger MUs may be available in the future. MU throughput is expected to be around 8 MB/sec for reads and 1 MB/sec for writes. M3 a, ]" {2 H! p2 J
9 @" _/ x$ D, m# N1 i3 |8 rThe Xenon game disc drive is a 12× DVD, with an expected outer edge throughput of 16+ MB/sec. Latency is expected to be in the neighborhood of 100 ms. The media format will be similar to Xbox, with approximately 6 GB of usable space on the disk. As on Xbox, media will be stored on a single side in two 3 GB layers. % A, g# o8 p$ L! E$ W e 4 [( r6 b; m: zIndustrial Design9 v; y- i7 q0 S
The Xenon industrial design process is well under way, but the final look of the box has not been determined. The Xenon console will be smaller than the Xbox console. ! |( V7 |% ` P- z$ AThe standard Xenon controller will have a look and feel similar to the Xbox controller. The primary changes are the removal of the Black and White buttons and the addition of shoulder buttons. The triggers, thumbsticks, D-pad, and primary buttons are essentially unchanged. The controller will support vibration. + {- o$ f) E; t! f9 I
$ u3 U! o' V8 o2 xXenon Development Kit+ t2 `3 b k7 S/ L+ K7 V8 Z
The Xenon development environment follows the same model as for Xbox. Game development occurs on the PC. The resulting executable image is loaded by the Xenon development kit and remotely debugged on the PC. MS® Visual Studio® version 7.1 continues as the development environment for Xenon.$ K. L5 M# k Y9 d; E
! P, ~/ @: N8 V: O' ]( g: V/ R
The Xenon compiler is based on a custom PowerPC back end and the latest MS® Visual C++® front end. The back end uses technology developed at MS for Windows NT on PowerPC. The Xenon software group includes a dedicated team of compiler engineers updating the compiler to support Xenon-specific CPU extensions. This team is also heavily focused on optimization work." N( C. ?3 a/ Z: r+ D/ R
The Xenon development kit will include accurate DVD emulation technology to allow developers to very precisely gauge the effects of the retail console disc drive. & j6 ^2 G5 X4 u4 y, D& g, b5 m+ n9 b3 y# F; ?) x5 w' f5 ~
Miscellaneous Xenon Hardware Notes 9 a7 c" g. O* M % m5 p) ]# S4 VSome additional notes:3 u3 F1 ?; k$ q0 w2 F8 z
•Xenon is a big-endian system. Both the CPU and GPU process memory in big-endian mode. Games ported from little-endian systems such as the Xbox or PC need to account for this in their game asset pipeline. 4 ]; L V; d2 c+ Q5 M 4 |: e1 y, E2 {+ y# v" d•Tapping into the power of the CPU is a daunting task. Writing multithreaded game engines is not trivial. Xenon system software is designed to take advantage of this processing power wherever possible. The Xbox Advanced Technology Group (ATG) is also exploring a variety of techniques for offloading graphics work to the CPU. ( B+ Y+ ]" {" V# a$ ^. ]7 h, f, c R+ N" p( } j3 Y, V" \6 z3 N; j
•eople often ask if Xenon can be backward compatible with Xbox. Although the architecture of the two consoles is quite different, Xenon has the processing power to emulate Xbox. Whether Xenon will be backward compatible involves a variety of factors, not the least of which is the massive development and testing effort required to allow Xbox games run on Xenon. ( e# r |/ N% K7 g3 z+ X# h! ? N/ n' r% \; U4 Y5 t* [ http://forums.xbox-scene.com/index.php?showtopic=231928 4 w8 I4 p' r \- H7 Z5 w u, R- j. T, j4 v[ 本帖最後由 masonchung 於 2007-2-9 10:26 AM 編輯 ]