38 paged segmentation
-
Upload
myrajendra -
Category
Documents
-
view
1.866 -
download
1
description
Transcript of 38 paged segmentation
1
• Paged Segmentation
Storage Management
2
HOME PREVIOUS TOPIC NEXTPREVIOUS QUESTION PAPERS FOR OSCPP TUTORIALS
3
Recap…
In the last class, you have learnt:
Paging concepts and segmentation
Pages
Frames
Segments
4
Objective
On completion of this period, you would be able
to know
• Paged Segmentation
5
Segmentation with Paging – MULTICS
• The MULTICS system solved problems of external
fragmentation and lengthy search times by paging the
segments
• Paging eliminates external fragmentation
• Segment-table entry contains the base address of a page
table for that segment
6
Segmentation with Paging – MULTICS
• In MULTICS logical address = 18-bit segment no. +
16-bit offset
• This scheme creates a 34-bit address space
• Each page in MULTICS consists of 1 K words
• So the segment offset is broken in to 6-bit page no. and
10-bit page offset
• Page no. indexes into the page table to give the frame
no.
• Frame no. is combined with the page offset to form a
physical address
7
Segmentation with Paging – MULTICS
• Must have a separate page table for each segment
• The 18-bit segment no. could have up to 2,62,144
segments
• So the 18-bit segment no. is broken into 8-bit page no.
and 10-bit page offset
• The segment table is represented by a page table
consisting of up to 28 entries
8
Segmentation with Paging – MULTICS
• The logical address in MULTICS is as follows
10 6
Segment number Offset
S1 S2 d1 d2
8 10
Figure:1
9
• In fig1 s1 index into the page table of the segment table
• s2 is the displacement within the page of the segment
table
• d1 is a displacement in to the page table of the desired
segment
• d2 is the displacement into the page containing the word to
be accessed
Segmentation with Paging – MULTICS
10
Segmentation with Paging – MULTICS
S1 S2 d1 d2
Logical address
s1
d1
d1
s2
Page table for segment
table Page of segment
table Page table for segment
Page of segment
11
MULTICS Address Translation Scheme
12
Segmentation with Paging – Intel 386
• As shown in the following slide, the Intel 386 uses
segmentation with paging for memory management with
a two-level paging scheme
13
Internal architecture of paged segmentation
Paged Segmentation
Combination of paging and
segmentation address =
frame at (page table base
for segment)
+ offset into page table
+ offset into memory
Look at example of Intel
architecture
14
Summary
In this class, you have learnt
• Paged Segmentation
15
Frequently Asked Questions
• What is Paged Segmentation?
• Explain the Paged segmentation hardware with
a neat diagram ?
16
Quiz
1. Page no. indexes into the page table to give the
a) Segmentationb) Frame no. C) None
2. MULTICS must have a separate page table for each a) Page offset b) Hole
c) segment d) None
17
Quiz
3. ____________ scheme creates a 34-bit address
space
a) Page number
b) MULTICS
c) Compaction
d) None
18
Quiz
4. The _________system solved problems of external fragmentation
a) External fragmentation
b) MULTICS
c) Compaction
d) None
Other subject materials
• Web designing
• Micro processors
• C++ tutorials
• java
home