Computer Science/Computer Architecture
-
Memory Technologies메모리를 구현하기 위해 사용되는 소자에 따라 성능이 결정됨Static Random Access Memory (SRAM)Dynamic Random Access Memory (DRAM)Flash memory (e.g. SSDs)Magnetic disks (e.g. HDDs)💡Access time이 아래로 갈 수록 점점 커진다.모두 다른 전기적 특성을 가지고 만든 것. 특히 전원을 꺼도 data가 남아있는지 여부를 기준으로 나눌 수 있다.SRAM과 DRAM은 volatile memory이고, Flash memory와 Magnetic disk이다.→ volatile memory는 전원이 끊기는 순간 정보가 다 날아간다.💡Volatile memory의 경우 전원이 꺼지면 data..
5. Large and Fast: Exploiting Memory HierarchyMemory Technologies메모리를 구현하기 위해 사용되는 소자에 따라 성능이 결정됨Static Random Access Memory (SRAM)Dynamic Random Access Memory (DRAM)Flash memory (e.g. SSDs)Magnetic disks (e.g. HDDs)💡Access time이 아래로 갈 수록 점점 커진다.모두 다른 전기적 특성을 가지고 만든 것. 특히 전원을 꺼도 data가 남아있는지 여부를 기준으로 나눌 수 있다.SRAM과 DRAM은 volatile memory이고, Flash memory와 Magnetic disk이다.→ volatile memory는 전원이 끊기는 순간 정보가 다 날아간다.💡Volatile memory의 경우 전원이 꺼지면 data..
2023.07.02 -
What Happens Inside a ProcessorProcessor도 digital circuit이므로 datapath와 control이 존재함.Processor MicroarchitectureISA가 동일해도 그것을 구현하는 하드웨어를 구현하는 방식에 따라 달라짐. 소프트웨어를 건드리는 것이 아닌, 하드웨어적인 최적화를 통해서 성능을 높였다면 Microarchitecture를 개선한 것.Microarchitecture와 관련있는 개념이 무엇인가?CPI : 하드웨어 측면에서는 우수함을 평가하는 척도는 clock cycle (하드웨어 측면에서는 clock frequency는 크게 중요하지 않다고 생각함) 그래서 CPI를 줄이는 것이 하드웨어적으로 중요한 choice이다.ISA : 무슨 ISA를 지원할..
4. The ProcessorWhat Happens Inside a ProcessorProcessor도 digital circuit이므로 datapath와 control이 존재함.Processor MicroarchitectureISA가 동일해도 그것을 구현하는 하드웨어를 구현하는 방식에 따라 달라짐. 소프트웨어를 건드리는 것이 아닌, 하드웨어적인 최적화를 통해서 성능을 높였다면 Microarchitecture를 개선한 것.Microarchitecture와 관련있는 개념이 무엇인가?CPI : 하드웨어 측면에서는 우수함을 평가하는 척도는 clock cycle (하드웨어 측면에서는 clock frequency는 크게 중요하지 않다고 생각함) 그래서 CPI를 줄이는 것이 하드웨어적으로 중요한 choice이다.ISA : 무슨 ISA를 지원할..
2023.07.02 -
Subtraction in HardwareOption 1 : Direct subtraction일반적으로 잘 사용하지 않음. → - 연산을 실제로 구현해야하므로Option 2 : two’s complementSubtraction을 addition과 구분하지 않아도 됨→ 수학적 연산의 수가 최대한 줄어야 하드웨어를 구현하는데 필요한 cost가 기하급수적으로 줄음→ 더한 결과의 sign-bit가 알아서 조절된다는 측면에서는 유리Overflow빼고 더하고 하다보면 숫자를 저장할 수 있는 비트의 수가 제한되어 있기 때문에 발생하는 문제 (하드웨어의 한계로 인해서 발생)정의가 무엇인가?Occur when the result from an operation can’t be represented with the ava..
3. Arithmetic for ComputersSubtraction in HardwareOption 1 : Direct subtraction일반적으로 잘 사용하지 않음. → - 연산을 실제로 구현해야하므로Option 2 : two’s complementSubtraction을 addition과 구분하지 않아도 됨→ 수학적 연산의 수가 최대한 줄어야 하드웨어를 구현하는데 필요한 cost가 기하급수적으로 줄음→ 더한 결과의 sign-bit가 알아서 조절된다는 측면에서는 유리Overflow빼고 더하고 하다보면 숫자를 저장할 수 있는 비트의 수가 제한되어 있기 때문에 발생하는 문제 (하드웨어의 한계로 인해서 발생)정의가 무엇인가?Occur when the result from an operation can’t be represented with the ava..
2023.07.02 -
MIPS_Green_Sheet.pdfMIPS : A PL for MIPS CPUsMIPS is an ISA defining all sort of things of a CPUMIPS is a PL for specifying what the CPU should do.Programming model & paradigmSyntaxSemanticsProgrammer-Visible State (PVS)Programmer visible state refers to the set of data that can be accessed and modified by a programmer within a computer program. This includes variables, objects, and other data s..
2. Instructions : Language of the ComputerMIPS_Green_Sheet.pdfMIPS : A PL for MIPS CPUsMIPS is an ISA defining all sort of things of a CPUMIPS is a PL for specifying what the CPU should do.Programming model & paradigmSyntaxSemanticsProgrammer-Visible State (PVS)Programmer visible state refers to the set of data that can be accessed and modified by a programmer within a computer program. This includes variables, objects, and other data s..
2023.07.02 -
Definition of Computer ArchitectureA set of rules and methods which describe the functionality, organization, and implementation of computer systems.→ Design the internals of computer systemsDefinition of computer systemsA complete computer including the hardware, operating system, and peripheral equipment required for performing full operations.💡하드웨어, 소프트웨어를 아우르는 영역, 어플리케이션 레벨이 아니라 하드웨어 레벨에서 어떻..
1. Computer Abstractions and TechnologyDefinition of Computer ArchitectureA set of rules and methods which describe the functionality, organization, and implementation of computer systems.→ Design the internals of computer systemsDefinition of computer systemsA complete computer including the hardware, operating system, and peripheral equipment required for performing full operations.💡하드웨어, 소프트웨어를 아우르는 영역, 어플리케이션 레벨이 아니라 하드웨어 레벨에서 어떻..
2023.07.02