일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- control
- computer
- while
- github
- system
- Algorithm
- DoM
- python
- for
- html
- DATAPATH
- react
- php
- Class
- web
- Pipelining
- MacOS
- instruction
- Java
- XML
- Linux
- DS
- javascript
- function
- CSS
- architecture
- DB
- MIPS
- data structure
- mysql
- Today
- Total
목록data (5)
YYYEJI
Set Associate Cache란? Lower lever(ex. HD, memory)에서 data를 가져(loading)올 때 data가 들어갈 (upper level의)주소가 정해져 있는 operation입니다. Direct mapped랑 달리 set에서는 여러 개의 block이 set의 개수만큼 들어갈 수 있으며, Direct mapped는 다른 유효한 data가 들어오기 위해 현재 있는 cache의 값을 미뤄버려야 하지만 set associate는 그럴 필요가 없다는 것이 장점입니다. Data가 들어갈 자리는 아래와 같은 공식으로 구할 수 있습니다. Location in the Cache = (Block address) modulo (Number of Sets in the Cache) Index..
Fully Associate란? Lower lever(ex. HD, memory)에서 data를 가져(loading)올 때 data 들어온 순서대로 upper level에 들어가는 operation입니다. Data가 Cache에 들어올 때 하나씩 찾는 것이 아니라 동시(parallel)에 찾기 때문에 성능이 좋습니다. Tag Data(00) Data(01) Data(10) Data(11) 0000(1) 0110(6) 0001(1) 0100(4) 1000(8) Data 1 0000(1) 0110(6) 0001(1) 0100(4) 1000(8) Data 1 6 0000(1) 0110(6) 0001(1) 0100(4) 1000(8) 0001(1)은 이미 존재하기 때문에 hit입니다. Data 1 6 0000(..
Direct Mapped Cache란? Lower lever(ex. HD, memory)에서 data를 가져(loading)올 때 data가 들어갈 (upper level의) 주소가 정해져 있는 operation입니다. Data가 들어갈 자리는 아래와 같은 공식으로 구할 수 있습니다. Location in the Cache = (Block address) modulo (Number of Cache Blocks in the Cache) Index(n bits) - Data가 들어갈 upper level의 주소 Valid bit(1 bit) - 현재 upper level에 존재하는 데이터의 유효성 Tag(32-n-2bits) - 현재 upper level에 존재하는 데이터의 유효성 Data(32bits) -..
① Integer • . . . -2, -1, 0, 1, 2, . . . etc. • byte (1 bytes) • short (2 bytes) • int (4 bytes) • long (8 bytes) ② Floating point • 9.99, 3.15913494, -5.0 etc. • float (4 bytes) • double (8 bytes) ③ Character • 'Hello world' etc. • char (2 bytes) • Using single quotes • System.out.println('Hello World'); ④ Boolean • True (1 bit) • False (1 bit) ◡̈
데이터 타입(Data Type)이란 ? 변수를 선언할 때, 숫자나 문자열 또는 이 외의 것들을 변수에 저장하는 데이터의 종류를 말합니다. 데이터 타입(Data Type)의 종류 Numeric Types: integer(정수), float(실수) Sequence: string(문자열), list(리스트), tuple(튜플) Mapping Type: dictionary(딕셔너리) Set Type: set(집합) Boolean Type: boolean(불리안) Binary Types: bytes, bytearray, memoryview Integer(정수형) 숫자형의 하나로 소수점이 없는 정수입니다. number = 10 Float(소수형) 숫자형의 하나로 소수점이 있는 실수입니다. number = 10.0 ..