General Instructions: • The template shown is an example. You can add more slides if required. • Include images for explaining the concepts. • Label the images. • Clearly list out the user interactions planned.
Prepare a questionnaire with answers on the concept for self-assessment of the user. • If reviewer suggests modifications, you have to re-upload your storyboard with the modifications shown in bold letters. • The blue band at the bottom will have suggestions about the slide contents.
SEGMENTATION OF MEMORY • Animation Medium:- 2 Dimensional • Software Used:- Java Mention what will be your animation medium: 2D or 3DMention the software to be used for animation development: JAVA, Flash, Blender, Shikav, Maya..etc
SEGMENTATION OF MEMORY • Concept:- Segmentation of memory • Subject:- Operating Systems • Authors:- • Aniket Phatak • Ameya Gawde • Daishik Mehta 1 Title of the concept, subject. Name of the author
SEGMENTATION OF MEMORY • Segment: A user program can be subdivided using segmentation, in which the program and its associated data are divided into a number of segments. • External Fragmentation: Segmentation may cause external fragmentation. When all blocks of free memory are too small to accommodate a segment. 2 Definitions of the keywords used in the animation
SEGMENTATION OF MEMORY • Segment Table: Segment table consists of a list of all the processes and free blocks of main memory. Each segment table entry gives the starting address in main memory of the corresponding segment along with the length of the segment. • Overlay Structure: Overlay Structure is a structure used to help Operating System in order to load the similar code segments in the main memory. 2 Definitions of the keywords used in the animation
A user program can be subdivided using segmentation , in which the program and the associated data are divided into a no of segments. All segments of all the programs need not be of the same length , although there is a maximum segment length . SEGMENTATION OF MEMORY 3 Describe the concept chosen and clearly illustrate how you want to explain the concept in the animation.
SEGMENTATION OF MEMORY • A logical address using sementation consists of two parts, a segment no and an offset. • In segmentation, a program may occupy more than one partition and these partitions need not be contiguous. • An overlay structure would be created consisting of all the program segments and then based on the overlay structure, the segments consisting of the required program modules are loaded dynamically into the main memory.
SEGMENTATION OF MEMORY • Example:- Suppose a program consisting of five subprograms( A(20K), B(20K), C(30K), D(10K) and E(20K)) that require 100K bytes of core. Subprogram A only calls B,D and E. • Subprogram C and E do not call any other routines. Note that procedures B and D are never in use at the same time neither are C and E. If we load only those procedures that are actually to be used at any particular time, the amount of core needed is equal to the longest path of the overlay structure. This happens to be 70K for the example. 4 Problem Statement :Describe examples/experiments/analogies through which you will explain (use bullets).
SEGMENTATION OF MEMORY 5 Problem statement: Stepwise description and illustrations (Add more slides if necessary)
SEGMENTATION OF MEMORY • User can specify main memory space. Depending on the availability of space in main memory user can either load required program directly in memory or swap the current unnecessary content of main memory with required program. • Maximum segment size can also be mentioned by user. Replacement can be done accordingly. 6 List out user interactions that will be there to enhance the understanding of the concept in the animation.
SEGMENTATION OF MEMORY • Q1. What are the advantages of segmentation? Answer: Advantages of segmentation are as follows: i. Dynamic size segments. ii. No internal fragmentation. iii. Reduces external fragmentation. iv. Segments supports user’s view of system. • Q2. What are the four different types of segments? Answer: Different types of segments: i. Code Segment. ii. Data Segment. iii. Stack Segment. iv. Extra Segment 7 A small questionnaire with answers based on the concept.
SEGMENTATION OF MEMORY • Q3. How does a segment table work? Answer: 7 A small questionnaire with answers based on the concept.
SEGMENTATION OF MEMORY • Operating Systems Internals & Design Principles-William Stallings • Operating System Concepts- Silberschatz, Galvin, Gagne • Modern Operating Systems- Andrew S. Tanenbaum • http://en.wikipedia.org/wiki/X86_memory_segmentation • http://en.wikipedia.org/wiki/Memory_segmentation 8 Links for further reading/references
SEGMENTATION OF MEMORY • Concept proposed by: 1.Aniket Phatak 2.Daishik Mehta 3.Ameya Gawde 9 Credits