Sistemas Operativos, Manejo de la memoria 9 Segmentación combinada con paginación — Transcript
Full transcript
- 0:00Hi, how are you? How are you doing?
- 0:03Welcome to the Operating Systems
- 0:05Fundamentals course. We are looking at
- 0:08memory management. I am referring to
- 0:10chapter 8 of the Silberschatz and
- 0:12Galvin textbook. Now we are going to
- 0:16look at segmentation with paging. We
- 0:20have already seen what paging is, we
- 0:22have also seen what segmentation is,
- 0:24and now we will see that with this, we
- 0:26can take advantage of both segmentation
- 0:28and paging. We will start with the
- 0:36Multics address translation scheme,
- 0:37where the problems of external
- 0:39fragmentation and long search times are
- 0:41resolved by paging the segments. That
- 0:46is, a segment will be paged, it will be
- 0:48divided into pages, and each segment
- 0:54contains the base address for each page
- 0:56table. Okay? Let's see how it is here.
- 1:01I have a logical address that is formed
- 1:03by a segment and an offset. Remember
- 1:08that we must add the segment table base
- 1:10register to the segment to know where
- 1:12the segment table begins. Now, what
- 1:16will I have? Well, with this, I will
- 1:21obtain the segment length and the page
- 1:23table base, okay? And for this offset,
- 1:29what I am going to do first is compare
- 1:31it with the segment length to see if it
- 1:33does not exceed the segment size. If it
- 1:38exceeds the segment size, this should
- 1:39cause an exception. If not, then this
- 1:45offset is divided into two parts, which
- 1:47are page and offset. Okay? So, what is
- 1:52going to happen? Well, we are going to
- 1:56add the base of the page table that is
- 1:58here in the segment entry to this page.
- 2:05In the segment table, we add this to
- 2:07obtain the frame in the page table for
- 2:08that segment. Okay? Okay. So, once we
- 2:16obtain the frame, we add the offset to
- 2:19this frame, and now I have a physical
- 2:21address. which is formed by a frame and
- 2:27an offset. Okay? Well, now let's see
- 2:36how it is done with Intel systems, okay
- 2:38? How is that address translation done?
- 2:45What happens is that Intel uses
- 2:46segmentation with paging for memory
- 2:48management with two levels of paging.
- 2:59In Intel systems, the segment address
- 3:01is known or called a selector, and this
- 3:03selector will help us search a segment
- 3:05descriptor table to find the descriptor
- 3:07for that segment, that is, where that
- 3:09segment begins. All the segment data is
- 3:16there, okay? in the segment descriptor.
- 3:21Okay. I will add the offset to the
- 3:27initial segment address, and this will
- 3:29form a linear address composed of two
- 3:31paging levels where I have the page
- 3:33directory, right? And with this, I will
- 3:41know in which page directory entry I
- 3:43have to look for the page table. And in
- 3:53the page, I will know how much I have
- 3:54to move in this directory to know which
- 3:56entry contains the frame where the
- 3:58memory address I want to access is.
- 4:08Finally, well, I have the offset, which
- 4:10is within the frame, at which memory
- 4:11address within the frame the address I
- 4:13am looking for is. Right? Okay. Thank
- 4:21you very much for your attention. I
- 4:23hope it was clear, and if not, well, we
- 4:25can ask questions. M.
About this transcript
This page contains the full transcript of Sistemas Operativos, Manejo de la memoria 9 Segmentación combinada con paginación by Mtro. José Luis Elvira, generated from the public captions YouTube serves with the video. The transcript has 529 words across 75 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.