Limited time offer 20% OFF StudySoup Subscription details

Utah State University - CS 2810 - CS example homework #1 - Class Notes

Created by: Colton Hill Elite Notetaker

> > > > Utah State University - CS 2810 - CS example homework #1 - Class Notes

Utah State University - CS 2810 - CS example homework #1 - Class Notes

This preview shows pages 1 - 3 of a 10 page document. to view the rest of the content
background image Homework 1 Colton Hill, CS 2810 1.1 Exercise (a) 1.1.1 Computer used to run large problems and usually accessed via a network –> 3. Servers (b) 1.1.2 10 1 5or2 5 0 –> 7. Petabyte (c) 1.1.3 A class of computers composed of hundred to thousand processors and terabytes of memory and having the highest performance and cost. –> 5. Supercomputers (d) 1.1.4 Today’s science fiction application that probably will be available in the near future –> 1. Virtual worlds (e) 1.1.5 A kind of memory called random access memory –> 12. RAM (f) 1.1.6 Part of a computer called Central processor unit –> 13. CPU (g) 1.1.7 Thousands of processors forming a large cluster –> 8. Data center (h) 1.1.8 Microprocessors containing several processors in the same chip –> 10. multicore processors (i) 1.1.9 desktop computer without a screen or keyboard usually accessed via a network –> 4. Low-end servers (j) 1.1.10 a computer used to running one predetermined application or collection of software. –> 9. embedded computers (k) 1.1.11 special language used to describe hardware components –> 11. VHDL (l) 1.1.12 Personal computer delivering good performance to single users and low cost –> 2. Desktop Computers (m) 1.1.13 program that translates statements in high-level language to assembly language –> 15. Compiler (n) 1.1.14 Program that translates symbolic instructions to binary instructions –> 21. assembler (o) 1.1.15 High-level language for business data processing –> 25. Cobol (p) 1.1.16 Binary languages that the processor can understand –> 19. Machine language 1
background image Colton Hill, CS 2810 2 (q) 1.1.17 Commands that the processors understand –> 17. Instructions (r) 1.1.18 High-level language for scientific computation –> 26. Fortran (s) 1.1.19 Symbolic representation of machine instructions –> 18. Assembly Language (t) 1.1.20 Interface between user’s program and hardware providing a variety of serices and super- vision functions. –> 14. Operating system (u) 1.1.21 Software/programs developed by the users –> 24. application software (v) 1.1.22 binary digit (value 0 or 1) –> 16. Bit (w) 1.1.23 Software layer betwen the application software and the hardware that includes the ope- ration system and the compilers –> 23. System Software (x) 1.1.24 High-lever language used to write application and system software –> 20. C (y) 1.1.25 Portable language composed of words and allgebraic expressions that must be translated into assembly language before run in a computer –> 22. High-Level Language (z) 1.1.26 10 1 2or2 4 0 bytes –> 6. Terabyte 1.2 Exercises (a) 1.2.1 For a color display using 8 bits for each of the primary colors (red, green, blue) per pixel, what should be the minimum size in bytes of the frame buffer to store a frame ? Configuration 1 : 640x480x3= 921,600 bytes Configuration 2 : 1280x1024x3= 3,932,160 bytes (b) 1.2.2 How many frames could it store, assuming the memory contains no other information ? Configuration 1 :(2 ∗ 2 30 )/921600= 2330 frames Configuration 2 : (4 ∗ 2 30 )/3, 932, 160 = 1092 frames (c) 1.2.3 if a 256 Kbytes file is sent through the Ethernet connection, how long would it take ? Configuration 1 :256Kbytes ∗ 8000bits Kbyte 1 100M bits/sec = 0.02048 sec or 20.48 ms Configuration 2 : 256Kbytes ∗ 8000bits Kbyte 1 1Gbits/sec 0.002048 sec or 2.048 ms (d) 1.2.4 Find how long it take to read a file from a DRAM if it takes 2 microseconds from the cache memory ?
Total time to read DRAM = DRAM time + Transit Time + Cache Time
Configuration 1 :5 + 2ms(2000ns) + 50 =
2055 ns (e) 1.2.5 Find how long it takes to read a file from a disk if it takes 2 microseconds from the cache memory.
background image Colton Hill, CS 2810 3 Configuration 1 :5 + 2ms(2000ns) + 5ms(5000000ns) = 5002005 ns or 5.002005 milliseconds (f) 1.2.6 Find how long it takes to read a file from a flash memory if it takes 2 microseconds from the cache memory.
Configuration 1 :5 + 2ms(2000ns) + 5microsec(5000ns) =
7005 ns or 7.005 microseconds 1.3 Exercises (a) 1.3.1 Which processor has the highest performance expressed in instructions per second ? 2.5GHz/1CP I = 2.5 Giga-instructions / second –>P2 (b) 1.3.2 If the processors each execute a program in 10 seconds, find the number of cycles and the number of instruction.
P1 :3GHz/1.5CP I =2 Giga-instructions/second
30 Giga-Cycles, 20 Giga-instructions P2 :2.5GHz/1CP I =2.5 Giga-instructions/second 25 Giga-Cycles, 25 Giga-instructions P3 :4GHz/2.2CP I =1.818 Giga-instructions/second 40 Giga-Cycles, 18.18 Giga-instructions (c) 1.3.3 We are trying to reduce the time by the 30% but this leads to an increase of 20% in the CPI. What clock rate should we have to get this time reduction ? Execution time = (Num of instructions * CPI) / (Clock rate)
Therefore
Clock rate = (Num of instructions * CPI) / (Execution time)
New Clock rate = (Num of instructions * CPI*1.2) / (Execution time*0.7)
P1 : 3GHz * 1.71 = 5.13 GHz P2 :2.5GHz * 1.71 = 4.27 GHz P3 : 4GHz * 1.71 = 6.84 GHz (d) 1.3.4 Find the IPC (instructions per cycle) for each processor. IPC=(Num of instructions)/(Clock rate*Execution time) P1 : 20*10 9 /(3GHz * 7) = .952 P2 : 30*10 9 /(2.5GHz * 10) = 1.2 P3 : 90*10 9 /(4GHz * 9) = 2.5

This is the end of the preview. Please to view the rest of the content
Join more than 18,000+ college students at Utah State University who use StudySoup to get ahead
School: Utah State University
Department: Computer Science and Engineering
Course: Computer Systems Organization and Architecture
Professor: Dan Watson
Term: Spring 2019
Tags: ComputerScienceArcitecture
Name: CS example homework #1
Description: These notes cover the application of what has been discuses in the first weeks of the course. Try doing the problems your self, and use the work shown to prepare for the test.
Uploaded: 01/27/2019
10 Pages 61 Views 48 Unlocks
  • Better Grades Guarantee
  • 24/7 Homework help
  • Notes, Study Guides, Flashcards + More!
Join StudySoup for FREE
Get Full Access to Utah State University - Class Notes - Week 3
Join with Email
Already have an account? Login here
×
Log in to StudySoup
Get Full Access to Utah State University - Class Notes - Week 3

Forgot password? Reset password here

Reset your password

I don't want to reset my password

Need help? Contact support

Need an Account? Is not associated with an account
Sign up
We're here to help

Having trouble accessing your account? Let us help you, contact support at +1(510) 944-1054 or support@studysoup.com

Got it, thanks!
Password Reset Request Sent An email has been sent to the email address associated to your account. Follow the link in the email to reset your password. If you're having trouble finding our email please check your spam folder
Got it, thanks!
Already have an Account? Is already in use
Log in
Incorrect Password The password used to log in with this account is incorrect
Try Again

Forgot password? Reset it here