TAILIEUCHUNG - CS6290 Memory

CS6290 Memory Views of Memory, Programmer’s View, CPU’s View, Need for Translation, Simple Page Table, Multi-Level Page Tables, Choosing a Page Size, CPU Memory Access, Translation Cache, PAPT Cache. | CS6290 Memory Views of Memory • Real machines have limited amounts of memory – 640KB? A few GB? – (This laptop = 2GB) • Programmer doesn’t want to be bothered – Do you think, “oh, this computer only has 128MB so I’ll write my code this way ” – What happens if you run on a different machine? Programmer’s View • Example 32-bit memory Kernel 0-2GB – When programming, you don’t care about how much real memory there is – Even if you use a lot, memory can always be paged to disk Text Data Heap Stack AKA Virtual Addresses 4GB Programmer’s View • Really “Program’s View” • Each program/process gets its own 4GB space Kernel Kernel Text Data Text Data Heap Kernel Heap Stack Text Data Heap Stack Stack CPU’s View • At some point, the CPU is going to have to load-from/store-to memory all it knows is the real, . physical memory • which unfortunately is often < 4GB • and is never 4GB per .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.