TAILIEUCHUNG - Bài giảng Hệ điều hành nâng cao (Operating System-OS): Chương 2 - Phan Vĩnh Thuần2

Chương 2 - Operating system structures. Bài giảng gồm có những nội dung chính sau: Processes, threads, interprocess communication, classical IPC problems, scheduling. Invite you to refer. | Chapter 2. Memory Management The main purpose of a computer system is to execute programs. These programs, together with the data they access, must be in main memory (at least partially) during execution. Many memory-management schemes exist, reflecting various approaches, and the effectiveness of each algorithm depends on the situation. Selection of a memory-management scheme for a system depends on many factors, especially on the hardware design of the system. OBJECTIVES To provide a detailed description of various ways of organizing memory hardware. To discuss various memory-management techniques, including paging and segmentation. Main Memory . Basic hardware Main memory and the registers built into the processor itself are the only storage that the CPU can access directly. There are machine instructions that take memory addresses as arguments, but none that take disk addresses. Registers that are built into the CPU are generally accessible within one cycle of the CPU clock. Most CPUs can decode instructions and perform simple operations on register contents at the rate of one or more operations per clock tick. Memory access may take many cycles of the CPU clock to complete, in which case the processor normally needs to stall, since it does not have the data required to complete the instruction that it is executing. The remedy is to add fast memory between the CPU and main memory-A memory buffer used to accommodate a speed differential, called a cache Each process has a separate memory space and to ensure that the process can access only these legal addresses. This protection by using two registers, usually a base and a limit Figure . A base and a limit register define a logical address space. . Address Binding Addresses in the source program are generally symbolic (such as count). A compiler will typically bind these symbolic addresses to relocatable addresses (such as “14 bytes from the beginning of this module''). The linkage .

TỪ KHÓA LIÊN QUAN
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.