kỹ thuật điện hệ điều hành exercise memory sinhvienzone com

3 88 1
kỹ thuật điện hệ điều hành exercise memory sinhvienzone com

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

Thông tin tài liệu

Bài tập: Với partitions với kích thước 100KB, 500KB, 200KB, 300KB, 600KB: a Cấp phát nhớ theo giải pháp First Fit, Best Fit Worst Fit cho processes đến theo thứ tự sau: 212 KB, 417 KB, 112KB, 426KB b Một process đến có kích thước 200KB, chọn partition phù hợp tương ứng với giải pháp câu a Segmentation table: Tìm địa vật lý tương ứng với địa luận lý a b c d e 0,430 1,10 2,500 3,400 4,112 Giả sử gt FIFO sử dụng với trang nhớ frame Với chuỗi tham chiếu trang nhớ 7 frame khởi tạo rỗng, có lỗi trang (page fault) xảy ra? Nếu sử dụng gt LRU, Clock có lỗi trang? SinhVienZone.com https://fb.com/sinhvienzonevn Cho chuỗi tham khảo trang sau: 1-2-3-4-5-3-2-3-7-4-5-6-8-4-6 Chọn ∆ = 10, timer interrupt=5, t1 thời điểm sau tham khảo trang số lần thứ Giả sử dùng bit history cho trang nhớ Dùng phương pháp xấp xỉ working set, xác định working set thời điểm t1 Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, How many page faults would occur for the following replacement algorithms, assuming four frames? Remember all frames are initially empty, so your first unique pages will all cost one fault each  LRU replacement  FIFO replacement  Optimal replacement  Clock For the following page reference string: 1-2-3-4-5-3-2-3-7-4-5-6-8-4-6 Choose Δ = 10, timer interrupt = 5, and t1 is the time immediately after the 3rd reference page Assuming history using bits per memory page Using the approximation working set method, determine the working set at time t1 SinhVienZone.com https://fb.com/sinhvienzonevn SinhVienZone.com https://fb.com/sinhvienzonevn ... 5, and t1 is the time immediately after the 3rd reference page Assuming history using bits per memory page Using the approximation working set method, determine the working set at time t1 SinhVienZone.com

Ngày đăng: 28/01/2020, 22:10

Từ khóa liên quan

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

Tài liệu liên quan