19
November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Embed Size (px)

Citation preview

Page 1: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

November 2006

SpaceOps 2010 Conference, Huntsville, Alabama

By José Feiteirinha, Nuno Sebastião

Date: 25-30 April 2010

Emulation Using the CellBE Processor

Page 2: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Purpose

Introduction

History and Motivation

Emulation Techniques

– Interpretation– Dynamic Translation

The CellBE Processor

– Architecture µLeon

– Implementation Details– Performance Evaluation

Conclusions

Agenda

Page 3: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

PurposePurpose

Page 4: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Emulation of Onboard Software

is in the Critical Path for SpaceCraft Simulators

Heavily explored area

Optimization techniques have been here for years now

CellBE provides a new processor architecture design

It’s performance as an emulator host should be considered

Purpose

Page 5: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

History and Motivation

Performance of the new Leon2 processor is 3x to 5x higher than what traditional emulation techniques provide

Previous studies have shown that modern emulation technologies can provide enough performance to emulate future space capable processors [PMarques 2006]

Computer industry is providing more and more cores per CPU without many gains in the performance of individual cores

Operation multi domain missions still require one computer per spacecraft simulator (i.e. increasing costs)

Determinism and lateral application behavior are enemies

Page 6: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Emulation Emulation TechniquesTechniques

Page 7: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Emulation Techniques - Interpretation

Interpretation is the most common (and simple) emulation technique

Page 8: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Emulation Techniques - Interpretation

Interpretation is also the slowest way to emulate

Page 9: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Emulation Techniques – Dynamic Translation

Dynamic translation improves by blocking and writing into the host memory translated code in the host’s own instruction set

Page 10: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

The Cell The Cell ProcessorProcessor

Page 11: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

The CellBE Processor - Architecture

One “Main” core – PPE – Power Processing Element

Multiple “Side” cores – SPEs – Synergetic Processing Elements

Operating

System

rcampbell
Reword first point to highlight identify and attract the best engineers and therefore give us competitive advantage - ssimilar
Page 12: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

µLeon µLeon

Page 13: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

µLeon, a sub-set of the Leon2 processor

Module Leon2 µLeon

Integer Unit SPARC Compliant

Equivalent to 30% of the SPARC ISA

Floating Point Co-Processor Built-in as part of the ISA

Registers Windows 8 windows of 32 registers

Single register window

UARTS Two UARTS Single state UART

Timers Two timers and one watchdog.

n/a

Imaginary processor composed of the critical requirements for evaluating the emulation of the real Leon2 processor

Page 14: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Performance Results

Performance is lower than cutting edge processors

Page 15: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Performance Results

Near deterministic behaviour

Page 16: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Conclusions Conclusions

Page 17: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Conclusion

CellBE provides lower throughput for emulation when compared to modern x86 based computers

Commonly used architectures have high variance in performance and require the use of thresholds to ensure performance consistency

CellBE provides a near deterministic platform for emulation

Future processors with similar achitectures should be considered

Page 18: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Questions and Answers

?

THANK YOUPaulo Marques: [email protected]

Damiano Guerrucci: [email protected]

Page 19: November 2006 SpaceOps 2010 Conference, Huntsville, Alabama By José Feiteirinha, Nuno Sebastião Date: 25-30 April 2010 Emulation Using the CellBE Processor

Extra Slide 1