0% found this document useful (0 votes)
47 views

Assignment#3: Name: Roll No: Subject: Class: Section

The document is an assignment submission that discusses paging and segmentation on ARM architecture. It notes that ARM supports two paging modes - short and long descriptor format. Paging allows efficient memory allocation but results in longer access times and fragmentation. Segmentation is not supported on all architectures like ARM, which would make porting Linux more difficult if dependent on segments.

Uploaded by

Arbaz Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

Assignment#3: Name: Roll No: Subject: Class: Section

The document is an assignment submission that discusses paging and segmentation on ARM architecture. It notes that ARM supports two paging modes - short and long descriptor format. Paging allows efficient memory allocation but results in longer access times and fragmentation. Segmentation is not supported on all architectures like ARM, which would make porting Linux more difficult if dependent on segments.

Uploaded by

Arbaz Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

ASSIGNMENT#3

Name: Arbaz Ahmad Khan

Roll No: BCSM -F18-308

Subject: Operating System

Class: BSCS

Section: 5A

Submitted To: Miss Arshia


You are required to choose any one architecture of your choice and
then mention if you implement paging and segmentation on such
architecture what will be the outcomes?
Arm Architecture:
Paging:
 ARM CPUs are used in smaller applications than x86 CPUs.
 ARMv7-A supports two different paging modes.
 These are the short descriptor format and long descriptor format.
 The long descriptor format is an ARM equivalent of the X86 PAE system.
 However, even the short descriptor format allows access to a 1TB physical address
space, but only with a 16MB granularity

Advantages:

 Allocating memory is easy and cheap


 Eliminates external fragmentation
 Pages are mapped appropriately anyway
 More efficient swapping
 Just swap out page least likely to be used
Disadvantages:

 Longer memory access times


 Inverted page tables
 Memory requirements
 Page Table Length Register to limit virtual memory size
 Internal fragmentation
Segmentation:
Some architectures (like ARM) do not support memory segments at all. If Linux had been
source-dependent on segments, it could not have been ported to those architectures very
easily.
Reference:
https://softwareengineering.stackexchange.com/questions/100047/why-not-segmentation

You might also like