22 Pages

crusoe

Course: V 22, Fall 2009
School: NYU
Rating:
 
 
 
 
 

Word Count: 1227

Document Preview

Crusoe Transmetas Architecture Umran A. Khan Microprocessors Generations of Crusoes Processors Original architecture TM3120, TM5400 Later version TM5600-TM5800 The architecture is moreover the same, but is improved Faster clock rate (up to 800 MHz now) Smaller core/size (0.13 micron die) Has special instructions for the OS its emulating Lower power consumption Wider range of applications (from internet...

Register Now

Unformatted Document Excerpt

Coursehero >> New York >> NYU >> V 22

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Crusoe Transmetas Architecture Umran A. Khan Microprocessors Generations of Crusoes Processors Original architecture TM3120, TM5400 Later version TM5600-TM5800 The architecture is moreover the same, but is improved Faster clock rate (up to 800 MHz now) Smaller core/size (0.13 micron die) Has special instructions for the OS its emulating Lower power consumption Wider range of applications (from internet appliances to high density servers) We will look at the TM5400 here Instruction Set Uses a VLIW (Very Long Instruction Word) Instruction format/engine Instruction word is a 128 bit long packet Each word (also called molecule) has four individual execution units called atoms These atoms are packed into either a 128 or 64-bit chunks These atoms (operations) execute in parallel (4 operations per clock) These Operations must be independent from one and another Four Execution Units FPU (Floating Point Unit) Has a 10-stage floating point pipeline Uses conventional x86 80-bit register format 32 FP registers 2 Integer ALU (Arithmetic-Logic Units) Has a 7-stage integer pipeline 64 32-bit registers dedicated to it LSU (Load/Store Unit) Branch Unit Sample Instruction 128 bit Instruction FADD ADD LD BRCC FPU Integer ALU#0 LSU (Load/Sore) BU (Branch) Figure copied from reference#1 Introduction to Code Morphing Code Morphing Software is a clever translation software layer that dynamically recompiles a x86 program into its native VLIW instruction format Located in the Bios Rom and runs in main memory An entire group of instructions are translated at once and then is put into the translation cache Basically, an emulation mechanism It can be used for architectures other than x86 such as the Linux (TM3120), Alphas FX!32, but TM5400s is known for its x86 compatibility Great Potential! Crusoe Translation layers X86 Bios CPU Core Code Morphing Layer Operating System X86 Applications Traditional x86 Architecture Ia32 instructions are translated by the cpu into more compact and uniformed RISC-like instructions (translates instruction individually) fancy/complicated translation It has dedicated hardware for x86 Instruction translation Branch prediction Register Renaming Instruction reOrder Transmetas Simplified Core Al lot of the processor functionality is implemented in software Its hardware if made up of execution units, the instruction decode unit and of course, the cache However, the rest of dedicated hardware (in previous slide) is done in software Advantages the cpu takes less die space less power demanding Less expensive for production and upgrades Hardware vs. Software Implemented the hardware in software comes with a cost Software is slower than hardware But how much slower? Its reordering registers, renaming registers, predicating branches on the fly, etc. using the same hardware used for addition, instruction execution, etc. adds complications It is not so easy Does the benefits outweigh the costs? According to Transmeta, IT DOES! Execution, Decoding and Scheduling In x86, Instructions are translated individually An instructions binary is fetched and decoded into n operations These operations are reordered and are fed to the execution units (i.e. FPU, ALU, etc.) in parallel the sequence is reconstructed for execution an out-of order execution has to be reconstructed in sequence and retranslated (complicated and costly) Execution, Decoding and Scheduling (Continued) In Crusoe, A group of instructions are translated at once Instructions are translated once and are placed into the translation cache If the same code is run again, the processor can grab it from the translation cache Instructions can by reordered by the scheduler by looking at the generated code Thus, the number of instructions executed can be minimized Caching and Optimization Translation cache used more efficiently A translation is optimized every time it is executed However, it will probably require more than pass for it to be truly optimized Optimization done is in steps Sections of code usually don't get optimized if they occur only once Code is recompiled quickly to keep the processor and programming running Uses common optimizations done by a ordinary compiler Optimizer is basically a simple compiler Optimization Strategies The Code Morphing software has many ways to gather feedback about a running program Instrument Translation Special code is used to collect information about the block that is going to be executed This info is later used for optimizations and translation Branch predictions, path speculations and the reordering loads and stores are done by the Code Morphing layer with some (Alias) hardware support and some condition code Filtering Determines how much effort must be spent on translation and optimizing a piece code Executions modes Interpretation, translation with or without optimization Translation Example addl %eax, (%esp) addl %ebx, (%esp) movl %esi, (%ebp) subl %ecx, 5 FRONTEND ld %r30, [%esp] add.c %eax, %eax, %r30 ld %r31, [%esp] add.c %ebx, %ebx, %r31 ld %esi, [%ebp] sub.c %ecx, %ecx, 5 KEY ld load Addl load and add Subl load and sub movl - load add.c - add with condition codes set sub.c - sub with condition codes set OPTIMIZER ld %r30, [%esp] add %eax, %eax, %r30 add %ebx, %ebx, %r30 ld %esi, [%ebp] sub.c %ecx, %ecx, 5 SCHEDULER ld %r30, [%esp]; sub.c %ecx, %ecx, 5 ld %esi, [%ebp]; add %eax, %eax, %r30; add %ebx, %ebx, %r30 Example from reference#2 Power Management Typical power saving approaches Switching off the processor Having duty cycles Causes glitches Changing the clock rate by suspending to and restarting from the RAM Crusoe power saving Approaches Longrun power management (next slide) Integrated the north bridge of the chipset and RAM controllers onto the cpu core Can also integrate video and sound cards Saves power in the overall system Longrun Power Management Feature of Code Morphing Software layer by detecting cpu load Can adjust clock frequency on the fly Can dynamically change the cpu voltage It can reduce power consumption by 30% by lowering the cpu clock rate by 10% 30% = 100% x (1-(.9 x .99 )) Less heat problems No need for extra fans take up more power and space Conclusion Advantages low power consumption technology Low cost Longer battery life Great for the mobile user, embedded systems and even high density servers Smaller and lighter computers C...

Textbooks related to the document above:
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

NYU - V - 22
PDP-11 Its History and Instruction Set. by Maggie Krzywicka2Table of Contents 1. History and Lineage 2. The Instruction Set a. General b. Memory and Interrupts c. Registers d. Addressing Modes e. Double and Single Operand Instructions f. Conditio
NYU - V - 22
Java Classes & ObjectsOutline? What are Classes and Objects? Instance Methods? Overloading? Constructors? Class Variables and Methods? Access? Classes and Software EngineeringClasses and Objects in MemoryComparison with other Programmi
NYU - G - 22
> Recitation/lecture - 5/22/06> Recursive functions over lists, tail recursion<Usefulness of Intermediate Student language><Fix definition of `rcons'><Define `reverse' in terms of `rcons'><Show off Stepper><Discuss complexity of reverse>
NYU - V - 22
V22.0380-001 sp00. Dan Barrish. Knight's Tour Hwk #6 due date Mon 4/17/00 (at 11:59pm) Accepted up to one week late with 10% penalty 20 points for this homework Paragraph A: This write-up will only make partial sense to you until we discuss in class
NYU - G - 22
SubprogramsThe basic abstraction mechanism. Functions correspond to the mathematical notion of computation input output procedures affect the environment, and are called for their side-effects pure functional model possible (but awkward) hybrid mode
NYU - G - 22
/* * MIPS ALU Primitive * delay for zero output: 14; for other outputs: 10 */class ALU extends Primitive {int size;Wire zero, carryOut, overflow, op0, op1, bInvert;Bus result, a, b;ALU (Bus result, Wire zero, Wire carryOut, Wire
NYU - G - 22
Operating SystemsSpring 2002Programming Assignment #3Due May 6, 2002The object of this programming exercise is to write a memory allocator andtest various allocation strategies.The allocator will start by allocating a fixed size 4 kbyte (4 *
NYU - BOOK - 2
Lecture 20: Sports Scheduling J. Christopher Beck 20051OutlineACC Basketball Scheduling Single Round Robin Scheduling HAPs Algorithm Flow Chart HAPs again Alg 10.2.2 Example 10.2.3 J. Christopher Beck 20052ACC SchedulingA
NYU - V - 22
Review: Search Linear Search Binary Search Search demos: http:/www.cosc.canterbury.ac.nz/people/mukundan/dBinary Search Tree A binary tree where every node's left subtree has values less than the node's value, and every right subtree has valu
NYU - G - 22
Last Time.on the websiteLecture 6Shell ScriptingWhat is a shell? The user interface to the operating system Functionality: Execute other programs Manage files Manage processes Full programming language A program like any other This is
NYU - G - 22
Names, Scopes and Bindings1NamesKinds of names Binding associates a names with an object A Name is an abstraction of an object Variables, functions, classes, types, labels, blocks, operators, tasks, etc. Name Spaces Classes
NYU - G - 22
Adding Pronoun Constraints to a Grammar:Verbs and Pronouns Present tense verbs occur in two forms: singular: eats plural: eat only exception is be, which has a third form, I am Pronouns differ in person, number, and case:1st person 2nd perso
NYU - V - 22
IntroductiontoComputersand Programming Lecture13:UserdefinedmethodsInstructor:EvanKorth NewYorkUniversityRoadMap Method abstraction Divide and conquer Examine parameters Examine return types Argument promotion Reading: 4.1-4.3, part 4.4, 4.
NYU - V - 22
Fundamentals of Computer Science Using CMidterm for V22.0380, section 1 Spring 1999 8:30 9:45 a.m. March 10, 1999 Instructor: Dilshad M. ShahidName: _ Student ID: _About the exam: Please read 1. This is a closed book exam. 2. You have the entir
NYU - DOCS - 6092
RANTS, RUMINATIONS, AND TRUE CONFESSIONS: THE ART OF THE POPULAR ESSAY Professor Mark Dery Forget everything you know about the essay, especially that academic straitjacket known as "the term paper." Forget, too, those brain-dead op-eds that appear i
NYU - FAS - 6092
RANTS, RUMINATIONS, AND TRUE CONFESSIONS: THE ART OF THE POPULAR ESSAY Professor Mark Dery Forget everything you know about the essay, especially that academic straitjacket known as "the term paper." Forget, too, those brain-dead op-eds that appear i
NYU - DOCS - 9258
ABOUT FACE NINA HIENSPRING 2009Walter Benjamin writes that the human countenance (and its accom p anying portraits) is the last holdout of aura and the ritual value of art. Reading the face has been
NYU - FAS - 9258
ABOUT FACE NINA HIENSPRING 2009Walter Benjamin writes that the human countenance (and its accom p anying portraits) is the last holdout of aura and the ritual value of art. Reading the face has been
NYU - PAB - 346
Building Concepts #1PremiseEscape from N.Y.C -Gimme Shelter -I'm Outta of HereInspiration MaterialsNew York Post, Friday, September 16,2005 The report cited from New York Post 75% of New Yorkers do not know where the nearest evacuation center
NYU - EJF - 251
DEFINE LCD_DREG PORTB 'LCD data port DEFINE LCD_DBIT 0 'LCD data starting bit 0 or 4 DEFINE LCD_RSREG PORTD 'LCD register select port DEFINE LCD_RSBIT 1 'LCD register select bit DEFINE LCD_EREG PORTD 'LCD enable port DEFINE LCD_EBIT 0 'LCD enabl
NYU - A - 273
ON THE ECONOMY:To bring our economy out of recession, we delivered the largest tax relief in ageneration.ON THE ECONOMY:Our first goal is clear: We must have an economy that grows fast enough toemploy every man and woman who seeks a job.ON
NYU - AP - 1607
*You've hiked through Snake Canyon once before while visiting your Uncle Howard at Red Creek Ranch, but you never noticed any cave entrance. It looks as though a recent rock slide has uncovered it.Though the late afternoon sun is striking the ope
NYU - AS - 7805
ffd8ffe000104a464 9460001020100c80 0c80000ffe20c58494 ffd8ffe000104a4649460001010100a600a40000ffe20 3435f50524f46494c c584943435f50524f46494c4500010100000c484c696 4500010100000c48 e6f021000006d6e74725247422058595a2007ce0002 4c696e6f021000006 00090006
NYU - POLITICS - 7805
ffd8ffe000104a464 9460001020100c80 0c80000ffe20c58494 ffd8ffe000104a4649460001010100a600a40000ffe20 3435f50524f46494c c584943435f50524f46494c4500010100000c484c696 4500010100000c48 e6f021000006d6e74725247422058595a2007ce0002 4c696e6f021000006 00090006
NYU - V - 22
/ welcome1/ Welcome to Java: Text-printing program.public class welcome1 { / main method begins execution of Java application public static void main( String args[] ) { System.out.println( "Welcome to Java!" ); } / end method m
NYU - V - 22
/ carpets_1import javax.swing.JOptionPane;public class carpets_1 { public static void main( String[] args ) {int length=0, width=0, total_area=0, number_of_rooms=0, count_rooms=1, carpet_int;double carpet_cost, total_cost; / Pro
NYU - V - 22
Computer ArchitectureV22.0436 Fall 2002Homework 2.Due Thursday, October 17 in class.Answer the following questions (using pen/pencil and paper)in Chapters 3 and 4 of Patterson & Hennessy:3.124.2, 4.4, 4.10, 4.43, 4.46
NYU - G - 89
G89.2229AdvancedRegression Spring2004 Exercise#6 DueMarch3,2004 ThisexercisemakesuseofaportionofthemiscarriageCESDdataset.Oftenresearchersare interestedinprocess,butuseacrosssectionalsurveydesigninsteadofalongitudinaldesignto describetheprocess.Fo
NYU - AMB - 576
Andrea BurghartDance & LiteracyMoving Forward. What is Dance Literacy?"Dance, drama, musical and the visual arts as different and distinct forms of representation or sign and symbols systems are vital to the development of the whole perso
NYU - UNIT - 1
CONTEMPORARY PRACTICE OF THE UNITED STATES RELATING TO INTERNATIONAL LAW Edited By Sean D. MurphySTATE REPRESENTATIONDepartment of State Letter to U.S. Court After LaGrand Decision On June 27, 2001, the International Court of Justice (ICJ) issued
NYU - V - 22
Computers Are Your Future 2005 Prentice-Hall, Inc.Computers Are Your Future Chapter 6Computers Are Your FutureChapter 6 Networks: Communicating and Sharing Resources 2005 Prentice-Hall, Inc Slide 2Computers Are Your Future Chapter 6What
NYU - G - 22
QuickLanguageTour ProgrammingLanguagesI Fall2003Languageswedidnotlookat Withaquicksurveyofwhatis interestingabouteachone FORTRAN Theearliestalgorithmiclanguage(50s) Inventedtheideaofa*b+c*d Multidimensionalarrays Subprograms(butnorecursion)
NYU - V - 22
Priority Queue (Heap) A kind of queue Dequeue gets element with the highest priority Priority is based on a comparable value (key) of each object (smaller value higher priority, or higher value higher priority) Example Applications: printer ->
NYU - V - 22
Computer Science 2 Data Structures and Algorithms V22.0102 section 2 Introduction to TreesProfessor: Evan Korth New York UniversityRoad Map Introduction to trees Terminology Binary trees Tree traversal Reading: 4.1 4.2Tree Tree defined r
UT Arlington - CHAPTER - 14
Chapter 14 Our Galaxy14.1 The Milky Way Revealed Our Goals for Learning What does our galaxy look like? How do stars orbit in our galaxy?What does our galaxy look like?The Milky Way galaxy appears in our sky as a faint band of lightDusty g
UT Arlington - CHAPTER - 3304
Chapter 14 Our Galaxy14.1 The Milky Way Revealed Our Goals for Learning What does our galaxy look like? How do stars orbit in our galaxy?What does our galaxy look like?The Milky Way galaxy appears in our sky as a faint band of lightDusty g
NYU - G - 22
Homework on BAN logicAssigned by: Avi RubinDue: Tuesday, November 19BAN logic was used to show that the Needham and Schroeder protocolhas a design flaw.1. What is wrong with the protocol?2. Provide a modified Needham and Schroeder protocol
NYU - V - 22
import javax.swing.JOptionPane;public class july5ex4 { public static void main(String args[]) { int maxnum, kount; String inputString = JOptionPane.showInputDialog( null, "Type max number", "Max Number",
NYU - EDITION - 6
C Y672.1 751.6 696.8 779.2 737.1 810.3 767.9 864.7 762.8 857.5779.4 874.9 823.1 906.8 864.3 942.9 903.2 988.8 927.6 1015.7
NYU - VAGC - 0
OUTPUT_FILENAME lowz_dr4_9.txtOUTPUT_OPTION standardCOMPRESS_OPTION noneINPUT_COORDINATE_SYSTEM equatorialOUTPUT_COORDINATE_SYSTEM equatorialINPUT_EQUINOX J2000.0OUTPUT_EQUINOX J2000.0REDSHIFT
NYU - VAGC - 0
OUTPUT_FILENAME lowz_dr4_16.txtOUTPUT_OPTION standardCOMPRESS_OPTION noneINPUT_COORDINATE_SYSTEM equatorialOUTPUT_COORDINATE_SYSTEM equatorialINPUT_EQUINOX J2000.0OUTPUT_EQUINOX J2000.0REDSHIF
NYU - ATM - 262
Deriving the formula for the weights of an efficient portfolio with given Expected returnNotes - Aloke Mukherjee2 November 20051. What do we know?Portfolio has weights of each asset i: wi, each asset has expected return Mean(i), variance Cov(i,
NYU - V - 22
import javax.swing.JOptionPane;public class SumNTo2N{public static void main (String [] args){int n, low, high, total = 0;String nAsString = JOptionPane.showInputDialog ("Enter number:");n = Integer.parseInt (nAsString);if (n <
NYU - JSS - 344
Parshas Chukas1. Parsha Summary By: Rabbi Aron Tendler1st Aliya: The laws of the Parah Adumah- the Red Heifer, are detailed. 2nd Aliya: In Nissan of the 40th year, Miriam died. The well dried up and the nation gathered against Moshe and Aharon to
San Diego State - EDTEC - 590
Readings Packet for EDTEC 590 (Spring 08): Electronic Course Reserves Alden, J. (2007). Surveying attitudes: Questionnaires versus opinionnaires. Performance Improvement, 46(6), 4248. Andrade, H. (2007). Selfassessment through rubrics. Educational
San Diego State - BIO - 201
Reading: Chapter 33: 584585 Chapter 48: 853854 Chapter 49: 868869Lecture 4: FishesEarliest vertebrates jawless: lampreys Gnathostomes (Jawed Vertebrates) Evolution of Modern Fishes: 2 major groups Chondrichthyescartilage fish Osteichthyes
San Diego State - PSY - 760
Choline SupplementationCholine supplementation during pre and early postnatal development produces longlasting neuronal changes and cognitive enhancementCholine supplementation after prenatal alcohol mitigates learning deficitsCHOLINE SALINE N
San Diego State - GEO - 300
Cartography and GPSProjections A projection is a method of portraying the curved surface of the earth on a flay surface. Distortions of distance, direction, scale, and area always occur. Some projections preserve one property but distort the oth
San Diego State - GEO - 647
Cartography and GPSProjections A projection is a method of portraying the curved surface of the earth on a flay surface. Distortions of distance, direction, scale, and area always occur. Some projections preserve one property but distort the oth
San Diego State - CS - 596
3D Game Programming All in OneBy Kenneth C. FinneyChapter 4 Game ProgrammingGame ProgrammingTorque Script Strings Tagged and standard types Formatting codes Objects Methods and properties Namespaces Local, global, object, & arbitrary
San Diego State - GEOL - 552
EPA AND OTHER METHODS FOR HYDROCARBONS EPA Series 400 Methods Method # 413.2 418.2 Oil and Grease by infrared Petroleum by infraredEPA Series 500 Methods Analytical methods for the identification and measurement of volatile organic compounds (VOCs)
San Diego State - WORKSHOP - 29
Computational Chemistry Curriculum ToolsKim Baldridge San Diego Supercomputer Center University of California, San Diego http:www.sdsc.edu/~kimbJerry Greenberg San Diego Supercomputer Center http:www.sdsc.edu/~jpgJune 29, 1999NATIONAL PARTNERSH
San Diego State - WORKSHOP - 99
Computational Chemistry Curriculum ToolsKim Baldridge San Diego Supercomputer Center University of California, San Diego http:www.sdsc.edu/~kimbJerry Greenberg San Diego Supercomputer Center http:www.sdsc.edu/~jpgJune 29, 1999NATIONAL PARTNERSH
NYU - G - 89
G89.2228 Intermediate Statistics Fall 2001 Exercise #7: Power analysis Due October 31, 2001For all of these questions, write a sentence or describing the answer, and the method used to compute the result. If the method is an approximation, make tha
San Diego State - CS - 570
A sample data structure for N-level page tablesSample Data Structure2-level page table PageTable Contains information about the tree Level A structure describing a specific level of the page table. NextLevel Array of pointers to the next lev
NYU - V - 22
Artificial Intelligence Problem Set 1Assigned: Jan. 24 Due: Jan. 31Problem 1.A. Augment the family tree in the notes with the following facts about married couples: married(philip, elizabeth). married(elizabeth,
San Diego State - CONFERENCE - 07
Womens Experiences of NurseMidwifery Presence During ChildbirthPresenter: Lauren P. Hunter, PhD, CNM Ph: 858-454-9033 email: lhunter@mail.sdsu.edu Affiliation : San Diego State University School of Nursing STTI Chapters: Gamma Gamma, Zeta Mu Funding
NYU - EDITION - 6
Year C P Wp I K1 X Wg G T 1920 39.8 12.7 28.8 2.7 180.1 44.9 2.2 2.4 3.41921 41.9 12.4 25.5 -0.2 182.8 45.6 2.7 3.9 7.71922 45.0 16.9 29.3 1.9 182.6 50.1 2.9 3.2 3.91923 49.2 18.4 34.1 5.2 184.5 57.2 2.9 2.8 4.
NYU - G - 89
G89.2228 Intermediate Statistics Fall 2001 Exercise #2 1. Due September 26, 2001You have been assigned a random sample of 20 CESD scores on women who had experienced a miscarriage approximately two weeks earlier. Enter these data into a computer so
Central Mich. - BIO - 326
Announcements1. Survey results: 87% like powerpoint 85% print notes before class 93% thought exam 1 covered appropriate material 43% thought exam 1 was appropriate length Suggestions I will consider: posting lecture notes earlier, making exam 2 a bi
Central Mich. - FRANC - 1
Earth Facts Icebreaker QuestionsWhat is the largest lake in the world? By size and volume it is the Caspian Sea, located between southeast Europe and west Asia.Which of the following sources stores the greatest volume of fresh water worldwide: lak