Memory Management



tải về 1.77 Mb.
trang1/9
Chuyển đổi dữ liệu10.05.2023
Kích1.77 Mb.
#54663
  1   2   3   4   5   6   7   8   9
Chapter03-Memory Management
Lab1 SE171918

Memory Management

  • Chapter 3
  • Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.

Memory

  • Paraphrase of Parkinson’s Law, ‘‘Programs expand to fill the memory available to hold them.’’
  • Average home computer nowadays has 10,000 times more memory than the IBM 7094, the largest computer in the world in the early 1960s
  • Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.

No Memory Abstraction

  • Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.

Running Multiple Programs Without a Memory Abstraction

  • Figure 3-2. Illustration of the relocation problem. (a) A 16-KB program. (b) Another 16-KB program. (c) The two programs loaded consecutively into memory.
  • Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.

Base and Limit Registers

  • Figure 3-3. Base and limit registers can be used to give each process a separate address space.
  • Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.

Swapping (1)

  • Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.

Swapping (2)

  • Figure 3-5. (a) Allocating space for a growing data segment. (b) Allocating space for a growing stack and a growing data segment.
  • Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.

tải về 1.77 Mb.

Chia sẻ với bạn bè của bạn:
  1   2   3   4   5   6   7   8   9




Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2024
được sử dụng cho việc quản lý

    Quê hương