Took a week to see the video of the hit operating system, learning the first six chapters of the operating system. This book is the 2000 version.
The main learning operating system five functions: process management, processor management, memory management, device management, file management. There are also operating system interfaces.
video and book content partial concept, mainly on the operating system has a macro understanding, did not do practical experiments.
The first chapter introduces some concepts of the whole.
chapter II Process Management, the concept of the process, understand that the process is a system of resource allocation and scheduling of an independent unit, process creation, control, synchronization and other activities in the system of the process. Understanding of the semaphore mechanism and producer-consumer and other classic issues. A thread is the smallest unit that runs independently in the system.
Chapter III Scheduling and deadlock, mainly to understand the job scheduling and process scheduling algorithms, multiprocessor scheduling, and the principle of generating process deadlock, how to avoid. The banker algorithm is drawn out to avoid deadlocks.
fourth chapter memory management. This chapter is more exciting. In particular, virtual memory is more interesting, mainly to solve the problem of how poor life. Memory management is mainly to solve in the memory space is limited, how the program in the external memory in memory external memory allocation, how to manage. First of all, the computer should be installed in the external memory program into memory, the memory of the operating system kernel and user programs. The book introduces several kinds of memory management methods, the continuous allocation of the program into the memory directly, to avoid the problem of memory fragmentation, you can use the method of dynamic relocation to solve. Discrete allocation method to better solve the problem of memory fragmentation, which involves the concept of logical address, divided into paging storage management and segmented storage management, there is a combination of the advantages of the section-page storage management mode. Virtual memory is used to solve the memory is too small, can not load all the work produced, the use of the program's local principle, only part of the program into memory, when the program to access the page is not in memory, the use of the page replacement algorithm from the external memory into the program. Virtual memory is logically equivalent to memory plus external memory, which is equivalent to memory in performance.
Fifth, equipment management, mainly to solve the problem of how low speed I/O equipment and high-speed CPU collocation. In the case of DMA incoming data, the DMA controller is used to transmit data in chunks when the data needs to be transferred from the peripheral, such as storing the device data in memory and then generating a CPU interrupt to process. There are also buffers, passages and other concepts. The I/O channel is also a processing machine, but the instruction system is single, with no memory and shared memory with the host.
the sixth Chapter document management, speaks very little, understood the document structure, the management way.
I feel this book is old, the computer in the video is now obsolete. The concept of understanding some, then review the detailed understanding, the next look back to other books indirectly learn the operating system. Blogging is a good way to learn, and then stick to blogging! More Summary ~
Operating system Tang Zi Ying Edition reading summary