kiến trúc máy tính nang cao tran ngoc thinh assignmentignmentignmentignmentignment cache sinhvienzone com

2 114 0
kiến trúc máy tính nang cao tran ngoc thinh assignmentignmentignmentignmentignment cache sinhvienzone com

Đang tải... (xem toàn văn)

Thông tin tài liệu

4/25/2013 dce 2011 Exercise1 dce Exercise Vi 2011 en Zo ne C om Design an L1 cache (number of bits for tag, entry, …) for a CPU with 32-bit address in following types The cache size is 32KB, block (line) size is 32 byte • Direct mapped • Fully Associative • way associative Si nh For the cache in Exercise 1, assumed the cache is 4-way associative, how many cache hit, miss occur if the CPU execute the following memory access sequence in case of • Write through no write allocation • Write back with write allocation RD 0x00000000, WR 0x01000000, RD 0x01000010, WR 0x02000050, RD 0x02000058 SinhVienZone.com https://fb.com/sinhvienzonevn 4/25/2013 dce 2011 Exercise ne C om How much faster/slower is a unified 32KB cache than a separated 16KB I/16KB D cache if the miss rate is ones in the following slide table, and there are 70% instructions are LD/ST Assumed that unified cache has 1-port only The hit time is cycle and miss penalty is 50 cycles dce Separated cache or unified cache? Vi 2011 en Zo I-Cache D-Cache U-Cache 8KB 8.16 44.0 63.0 16KB 3.82 40.9 51.0 32KB 1.36 38.4 43.3 64KB 0.61 36.9 39.4 128KB 0.30 35.3 36.2 256KB 0.02 32.6 32.9 Si nh Size Misses per 1000 instructions SinhVienZone.com https://fb.com/sinhvienzonevn ... only The hit time is cycle and miss penalty is 50 cycles dce Separated cache or unified cache? Vi 2011 en Zo I -Cache D -Cache U -Cache 8KB 8.16 44.0 63.0 16KB 3.82 40.9 51.0 32KB 1.36 38.4 43.3 64KB... a unified 32KB cache than a separated 16KB I/16KB D cache if the miss rate is ones in the following slide table, and there are 70% instructions are LD/ST Assumed that unified cache has 1-port

Ngày đăng: 30/01/2020, 23:34

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan