SlideShare a Scribd company logo
8
Most read
9
Most read
11
Most read
Storage Management

 •   Single Partition Allocation




                                   1
HOME     PREVIOUS TOPIC NEXT
PREVIOUS QUESTION PAPERS FOR OS
CPP TUTORIALS




                                  2
Recap

In the last class, you have learnt

 Logical address Vs physical address

 Swapping




                                        3
Objectives


On completion of this period, you would be able to know

    • Single partition allocation




                                                          4
Single Partition Allocation

 This is the simplest form of memory management

 No protection, no utilities, no overhead

 Used by hardware diagnostics, by system boot

  code, real time / dedicated systems
 Logical == Physical

 User can have complete control




                                                 5
Single Partition Allocation

Definition of Partition:
   Division of Physical memory into fixed sized   regions
    (Allows address spaces to be distinct)
 The number of partitions determines the level of

  multiprogramming
 Partition is given to a process when it's scheduled

 Memory is divided in to two partitions

 One for OS and other for User process
                                                        6
Single Partition Allocation

   0
       Operating system



            User



            Free
 512




                              7
Single Partition Allocation

O OS must reside in
   low memory where interrupt vectors are placed,

   user processes are executing in high memory

   Must protect the OS code changes by user process and

   vice versa
   Relocation-register scheme used

   to protect user processes from each other

   and from changing operating-system code and data



                                                       8
Single Partition Allocation

• Relocation register contains value of smallest
   “physical address”
• Limit register contains range of “logical address”
• Each “Logical address” must be less than the
  limit register
• MMU maps the logical address dynamically by
  adding the value of relocation register.
• Concept of mapping address shown in next slide

                                                   9
Hardware Support for Relocation and Limit
              Registers




                                        10
Single Partition Allocation


                 Limit           Relocation
                Register          Register



                           Yes
CPU               <                 +              MEMORY
      Logical                           Physical
      Address         No                Address




          Trap; addressing
                error



                                                            11
Summary

In this class, you have learnt

 Single partition allocation

    The simplest form of memory management

    Used by hardware diagnostics, by system boot code,

     real time / dedicated systems

 Hard ware support for relocation and limit

  register
                                                     12
Frequently Asked Questions

1. Explain about single partition allocation ?




                                                 13
Quiz

1. Division of physical memory into fixed sized
  regions
  a) Words
  b) Partition
  c) Bits
  d) None


                                                  14
Quiz

2. Relocation register contains value of smallest

  ____________address
  a) Physical
  b) Logical
  c) Absolute
  d) None



                                                    15
Quiz

3. ____________scheme used to protect user
 processes from each other
 a) Relocation-register
 b) Symbolic
 c) Logical
 d) None


                                             16
Quiz

4. In single partition scheme memory is divided into
  __________ partitions

  a) one

  b) two

  c) three

  d) None

                                                  17
Other subject materials

•   Web designing
•   Micro processors
•   C++ tutorials
•   java

home

More Related Content

PPT
35. multiplepartitionallocation
PPTX
Pci,usb,scsi bus
PPTX
I/O Management
PPT
I/O System
PPTX
Salient featurs of 80386
PPT
1.Role lexical Analyzer
PDF
Direct Memory Access & Interrrupts
PPT
Arm processor
35. multiplepartitionallocation
Pci,usb,scsi bus
I/O Management
I/O System
Salient featurs of 80386
1.Role lexical Analyzer
Direct Memory Access & Interrrupts
Arm processor

What's hot (20)

PPTX
Computer system architecture
PPTX
Assembly language
PPTX
Performance analysis(Time & Space Complexity)
PPT
introduction to microprocessors
PPTX
PPTX
Instruction Execution Cycle
PDF
Disk allocation methods
PPTX
X86 Architecture
PPTX
Evolution of Microprocessor
PPTX
Operating system 31 multiple processor scheduling
PPTX
Dma and dma controller 8237
PPS
Synchronous and-asynchronous-data-transfer
PPTX
Finite automata-for-lexical-analysis
PPTX
Evolution of operating system
PPTX
Microoperations
PPTX
Presentation on risc pipeline
PPTX
Logical and shift micro operations
PPT
Classical Planning
PDF
operating system structure
Computer system architecture
Assembly language
Performance analysis(Time & Space Complexity)
introduction to microprocessors
Instruction Execution Cycle
Disk allocation methods
X86 Architecture
Evolution of Microprocessor
Operating system 31 multiple processor scheduling
Dma and dma controller 8237
Synchronous and-asynchronous-data-transfer
Finite automata-for-lexical-analysis
Evolution of operating system
Microoperations
Presentation on risc pipeline
Logical and shift micro operations
Classical Planning
operating system structure
Ad

Similar to 34 single partition allocation (20)

PPTX
OS Unit 2.pptx
PDF
Memory management OS
PDF
8 memory management strategies
PPT
operationg systemsdocumentmemorymanagement
PPT
OS-unit-3 part -1mxmxmxmmxmxmmxmxmxmxmxmmxmxmmx.ppt
PPTX
Memory Management | Computer Science
PPTX
HW29kkkkkkkkkkkkkkkkkkkmmmmkkmmkkk454.pptx
PPT
Chapter 9 OS
 
PPT
Memory management principles in operating systems
PPTX
Os unit 3
PDF
Performance and predictability
PPT
39 virtual memory
PDF
Ph.D. thesis presentation
PPTX
PPT
37 segmentation
DOCX
Opetating System Memory management
PPTX
Operating system 34 contiguous allocation
PPTX
local_media3192961381667787861026781.pptx
PDF
Performance and predictability
PPTX
Memory management
OS Unit 2.pptx
Memory management OS
8 memory management strategies
operationg systemsdocumentmemorymanagement
OS-unit-3 part -1mxmxmxmmxmxmmxmxmxmxmxmmxmxmmx.ppt
Memory Management | Computer Science
HW29kkkkkkkkkkkkkkkkkkkmmmmkkmmkkk454.pptx
Chapter 9 OS
 
Memory management principles in operating systems
Os unit 3
Performance and predictability
39 virtual memory
Ph.D. thesis presentation
37 segmentation
Opetating System Memory management
Operating system 34 contiguous allocation
local_media3192961381667787861026781.pptx
Performance and predictability
Memory management
Ad

More from myrajendra (20)

PPT
Fundamentals
PPT
Data type
PPTX
Hibernate example1
PPTX
Jdbc workflow
PPTX
2 jdbc drivers
PPTX
3 jdbc api
PPTX
4 jdbc step1
PPTX
Dao example
PPTX
Sessionex1
PPTX
Internal
PPTX
3. elements
PPTX
2. attributes
PPTX
1 introduction to html
PPTX
Headings
PPTX
Forms
PPT
PPTX
Views
PPTX
Views
PPTX
Views
PPT
Starting jdbc
Fundamentals
Data type
Hibernate example1
Jdbc workflow
2 jdbc drivers
3 jdbc api
4 jdbc step1
Dao example
Sessionex1
Internal
3. elements
2. attributes
1 introduction to html
Headings
Forms
Views
Views
Views
Starting jdbc

34 single partition allocation

  • 1. Storage Management • Single Partition Allocation 1
  • 2. HOME PREVIOUS TOPIC NEXT PREVIOUS QUESTION PAPERS FOR OS CPP TUTORIALS 2
  • 3. Recap In the last class, you have learnt  Logical address Vs physical address  Swapping 3
  • 4. Objectives On completion of this period, you would be able to know • Single partition allocation 4
  • 5. Single Partition Allocation  This is the simplest form of memory management  No protection, no utilities, no overhead  Used by hardware diagnostics, by system boot code, real time / dedicated systems  Logical == Physical  User can have complete control 5
  • 6. Single Partition Allocation Definition of Partition:  Division of Physical memory into fixed sized regions (Allows address spaces to be distinct)  The number of partitions determines the level of multiprogramming  Partition is given to a process when it's scheduled  Memory is divided in to two partitions  One for OS and other for User process 6
  • 7. Single Partition Allocation 0 Operating system User Free 512 7
  • 8. Single Partition Allocation O OS must reside in  low memory where interrupt vectors are placed,  user processes are executing in high memory  Must protect the OS code changes by user process and vice versa  Relocation-register scheme used  to protect user processes from each other  and from changing operating-system code and data 8
  • 9. Single Partition Allocation • Relocation register contains value of smallest “physical address” • Limit register contains range of “logical address” • Each “Logical address” must be less than the limit register • MMU maps the logical address dynamically by adding the value of relocation register. • Concept of mapping address shown in next slide 9
  • 10. Hardware Support for Relocation and Limit Registers 10
  • 11. Single Partition Allocation Limit Relocation Register Register Yes CPU < + MEMORY Logical Physical Address No Address Trap; addressing error 11
  • 12. Summary In this class, you have learnt  Single partition allocation  The simplest form of memory management  Used by hardware diagnostics, by system boot code, real time / dedicated systems  Hard ware support for relocation and limit register 12
  • 13. Frequently Asked Questions 1. Explain about single partition allocation ? 13
  • 14. Quiz 1. Division of physical memory into fixed sized regions a) Words b) Partition c) Bits d) None 14
  • 15. Quiz 2. Relocation register contains value of smallest ____________address a) Physical b) Logical c) Absolute d) None 15
  • 16. Quiz 3. ____________scheme used to protect user processes from each other a) Relocation-register b) Symbolic c) Logical d) None 16
  • 17. Quiz 4. In single partition scheme memory is divided into __________ partitions a) one b) two c) three d) None 17
  • 18. Other subject materials • Web designing • Micro processors • C++ tutorials • java home