Shared Flashcard Set

Details

Chapter 6
Chapter 6 of Computer Organization and Architecture Themes and Variations by Alan Clements, c2014, for cs 413 at UAH
46
Computer Science
Undergraduate 3
03/19/2024

Additional Computer Science Flashcards

 


 

Cards

Term
True or False. If you have a fast CPU, then your computer performance is good
Definition
False
Term
What is the linearity of computer metrics?
Definition
The linearity criterion suggests that a metric should be linear or logarithmic
Term
What does it mean for a computer metric to be reliable?
Definition
If a metric says something, then it is actually true
Term
What does it mean for a computer metric to be repeatable?
Definition
It means that if you run a test with the same computer in the same environment, you will get the same answer
Term
What does it mean for a computer metric to have ease of measurement?
Definition
It means that the measurement should be easy- it shouldn't take years or $1,000
Term
What does it mean for a computer metric to have consistency?
Definition
It means the measurement is precise and defined and can be applied across different systems (universality or generality)
Term
What does it mean for a computer metric to be independent?
Definition
It means that a metric does not favor one manufacturer over another
Term
What is latency?
Definition
Is the amount of time it takes from a request being made to it getting done (wait time)
Term
What is the equation when comparing the performance of computer A to computer B?
Definition
Performance_A/Performance_B = ExecutionTime_B/ExecutionTime_A
Term
True or False: Clock rate is the best measure of CPU performance
Definition
False
Term
What does it mean to overclock your CPU?
Definition
It means that the clock is sped up past it's normal designed speed- can make the CPU unstable
Term
What are MIPS?
Definition
Millions of Instructions per Second- slightly better than clock speed but still has issues- doesn't take into account how much work each instruction performs (Shift vs divide)
Term
What is MFLOPS?
Definition
Millions of Floating Point Operations per Second- better than MIPS but still not a uniform reliable measurement
Term
What is Amdahl's law?
Definition
The law describes the performance increase you get when a program is run in a system where some of the operations can take place in parallel.
Term
What does S, P, and fs stand for in Amdahl's law equation?
Definition
S = speed ratio (2 times faster, etc.)
P = The number of processors being used
fs = the fraction of the process that can only run on one processor
Term
What is SPEC and what does the acronym stand for?
Definition
Standard Performance Evaluation Corporation (SPEC) which is an American non-profit that sought to establish benchmarks in computer performance
Term
What is Dennard scaling?
Definition
States that as transistors get smaller, their power density stays constant, so that the power stays in proportion with the area
Term
What is throughput?
Definition
The amount of work per unit of time (megabits/second)
Term
What is design margin?
Definition
When designers have a goal they meet a goal above it so that no matter the circumstance they can meet the original goal
Term
True or False: The Dennard scale is also known as the Mosfet scale.
Definition
True
Term
The "C" in SPEC stands for ___________.
Definition
Corporations
Term
A metric is _____________ if it can be precisely defined and applied across different systems.
Definition
Consistent
Term
A metric is _________________ if it always yields the same results under the same conditions.
Definition
repeatable
Term
Which law tells you the performance increase you get for more parallelism.
Definition
Amdahl's Law
Term
A metric is _______________ if it correctly indicates whether one computer is faster than another.
Definition
reliable
Term
True or False: There are no drawbacks with overclocking your CPU.
Definition
False
Term
True or False: The time from when a request is made to when the request starts operations is call lag time.
Definition
False- latency
Term
True or False: MFLOPS is a "better" measurement of CPU performance than clock rate.
Definition
True
Term
True or False: Amhahl's law is strictly a measurement of the CPU capability and has nothing to do with the applications being run on the CPU
Definition
False
Term
True or False: Throughput is the amount of work performed by a computer per unit time.
Definition
True
Term
True or False: A measurement of the performance of one computer to another computer is classified as a relative performance measurement.
Definition
True
Term
True or False. A CPU performance metric which does not favor one manufacture over another is said to be reliable.
Definition
False- independent
Term
True or False. Benchmarks are programs that typically focus on a single aspect of a computer's performance like floating point or graphics processing.
Definition
True
Term
What did Spectre take advantage of?
Definition
Speculative execution- got access to instructions/data that weren't in the correct execution path
Term
How do you mitigate a security issue of jumping to a function?
Definition
Use BTI (Branch Targeting Identification)- so when the program branches, the very first instruction is BTI instruction. If it's not there you get kicked out of the system
Term
What is spatial safety?
Definition
Accessing something outside of it's scope
Term
What is temporal safety?
Definition
referencing an object after it has expired
Term
What is a security issue with activation records?
Definition
If a variable is declared to be static, the activation record does not go away which can cause problems
Term
What's a method to secure memory?
Definition
A secure gateway, so if my code needs something from memory, it first accesses a secure gateway that has a higher privilege, which checks things, makes the call, and returns the value back to the program
Term
The Pointer Authentication Code (PAC) countermeasure on the ARM CPU is to primarily protect again which of the following attacks?
Definition
Return-Oriented Programming (ROP) attack
Term
The phase "security by obscurity" is best defined as:
Definition
a terrible approach for modern security systems
Term
True or False: In most instances, it cannot be determined if inappropriate accesses to privileged memory or instructions occurs due to a programming error, or the result of an attack on the system.
Definition
True
Term
True or False: Spatial safety is violated when an object is accessed outside of its true bounds.
Definition
True
Term
True or False. A vulnerability in a security system will always lead to the system being compromised.
Definition
False
Term
The closest/best description of the “use after free” vulnerability is:
Definition
reference to an object is used after it has expired
Term
True or False. Temporal safety is violated when a reference to an object is used prior to the object being instantiated.
Definition
True
Supporting users have an ad free experience!