Premium Essay

Memorymanagement

In:

Submitted By babbu
Words 806
Pages 4
Abstract
Memory management plays a key role for any multiprogramming operating system. Memory should be managed such that many processes can be in the memory at the same time .As the physical memory is limited , operating systems make use of virtual memory to run processes which are larger than the physical memory. Virtual memory is a technique using which processes can run even when they are not entirely in memory. Main memory is treated as an array of pages thus separating in to logical memory and physical memory, thus the size of the physical memory is not a limitation for the user.
Memory management in Windows
The physical memory in Windows is divided into a number of physical pages .If the pages are divided in to say 4KB size causes external fragmentation of memory. If the pages are divided into 2MB pages this causes internal fragmentation. Windows uses large pages to better the performance of translation look aside buffer TLB( is a cache used by memory management hardware to improve virtual address translation speed).The physical pages are in one of the following states free page, zeroed page, modified page, standby page ,bad page, transition page, valid page. Valid pages are in processes page tables ,while pages in other states are separated in to list based on their state.
Virtual memory in Windows is implemented by demand paging with clustering. Demand paging is method in which the pages are loaded in to the memory as they are required in the course of the process’s execution. Clustering is used by Windows in this when there is a page fault (page is required for the further execution of the process) along with the page ,many other pages are also moved in to the physical memory. The free pages are handled by the virtual memory manager.
Every process has a working set minimum(it is the minimum number of pages the process will definitely have in the

Similar Documents

Free Essay

Technical Questions

...Face Interviews Confidently! Technical Aptitude Questions Table of Contents Data Structures Aptitude ............................................................................. 3 C Aptitude .................................................................................................. 12 C++ Aptitude and OOPS ............................................................................ 75 Quantitative Aptitude............................................................................... 104 UNIX Concepts ......................................................................................... 121 RDBMS Concepts ..................................................................................... 135 SQL .......................................................................................................... 153 Computer Networks ................................................................................. 161 Operating Systems .................................................................................. 169 2 Copyright©: Vyom Network (http://www.vyomworld.com) - All Rights Reserved Technical Aptitude Questions Data Structures Aptitude Data Structures Aptitude 1. What is data structure? A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data...

Words: 31949 - Pages: 128

Free Essay

Performance Tuning for Windows Server 2008

...Performance Tuning Guidelines for Windows Server 2012 April 12, 2013 Abstract This guide describes important tuning parameters and settings that you can adjust to improve the performance and energy efficiency of the Windows Server 2012 operating system. It describes each setting and its potential effect to help you make an informed decision about its relevance to your system, workload, and performance goals. The guide is for information technology (IT) professionals and system administrators who need to tune the performance of a server that is running Windows Server 2012. For the most current version of this guide, see Performance Tuning Guidelines for Windows Server 2012. ------------------------------------------------- Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet website references, may change without notice. Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here. You bear the risk of using it. ------------------------------------------------- Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred. ------------------------------------------------- This document does not provide you with any legal rights to any intellectual...

Words: 50142 - Pages: 201

Premium Essay

Computer Organization and Architecture Designing for Performance 8th Edition

...COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE EIGHTH EDITION William Stallings Prentice Hall Upper Saddle River, NJ 07458 Library of Congress Cataloging-in-Publication Data On File Vice President and Editorial Director: Marcia J. Horton Editor-in-Chief: Michael Hirsch Executive Editor: Tracy Dunkelberger Associate Editor: Melinda Haggerty Marketing Manager: Erin Davis Senior Managing Editor: Scott Disanno Production Editor: Rose Kernan Operations Specialist: Lisa McDowell Art Director: Kenny Beck Cover Design: Kristine Carney Director, Image Resource Center: Melinda Patelli Manager, Rights and Permissions: Zina Arabia Manager, Visual Research: Beth Brenzel Manager, Cover Visual Research & Permissions: Karen Sanatar Composition: Rakesh Poddar, Aptara®, Inc. Cover Image: Picturegarden /Image Bank /Getty Images, Inc. Copyright © 2010, 2006 by Pearson Education, Inc., Upper Saddle River, New Jersey, 07458. Pearson Prentice Hall. All rights reserved. Printed in the United States of America. This publication is protected by Copyright and permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions Department. Pearson Prentice Hall™ is a trademark of Pearson Education, Inc. Pearson® is a registered trademark of...

Words: 239771 - Pages: 960