• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

Linux memory management. Linux uses demand paging where the virtual pages are only loaded into physical memory when needed by the process. Swapping occurs when a process needs to bring data from the virtual memory to the physical memory,

Extracts from this document...


Linux Memory Management

Memory management is an important part of a computers operating system, even from the early days a program will require more and more memory than actually exists. A strategy to overcome this is to use a virtual memory, virtual memory make a system appear that it has more memory as it shares it with other processes. The memory management sub system in Linux provides

  • Large address spaces
  • Protection
  • Memory Mapping
  • Fair physical memory allocation
  • Shared virtual memory

 In a virtual memory system all of the addresses are virtual and not physical. The page table converts virtual to physical addresses. Each of the physical and virtual memory is split up into pages, usually the same size .On alpha AXP the page sizes are 8 Kbytes and on Intel x86 systems the pages are 4kbytes.

...read more.


technique to efficiently choose pages which are to be removed from the system. This scheme requires every page in the system having an age which changes as the page is accessed. The more frequently that a page is accessed, the younger it is; the less that it is accessed the older it becomes. Old pages are good candidates for swapping. The Linux kernel is not run in the virtual address space instead it is solely allocated space in the physical memory address. The page table in Linux also controls access to the code as well as mapping, e.g. the processor has two modes user and kernel, you won’t allow access of kernel code to users and vice versa to protect your system.
...read more.


Dis – Advantages:

  • The drawback of using caches, hardware or otherwise, is that in order to save effort Linux must use more time and space maintaining these caches and, if the caches become corrupted, the system will crash.


  • Page tables are so successful that Linux uses the same page table manipulation code for the Alpha processor, which has three levels of page tables and for Intel x86 processors, which have two levels of page tables.
  • Linux memory management is better for older computers as it can sometimes require less processing power than other operating systems.


  • http://tldp.org/LDP/tlk/mm/memory.html
  • http://www.inf.fu-berlin.de/lehre/SS01/OS/Lectures/Lecture14.pdf
  • Ehttp://www.makelinux.com/ldd3/chp-15-sect-1

...read more.

This student written piece of work is one of many that can be found in our University Degree Computer Science section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related University Degree Computer Science essays

  1. Project management and risk assessment

    Responses to the initial risk assessment may include: * Risk Transfer - move the risk to someone more able to deal with it e.g. contract out the supply and support of the hardware infrastructure * Risk Deferral - alter the plan to move some activities to a later date when the risk might be lessened.

  2. Risk Management and Assessment for IT Projects.

    * Quantitative Risk Analysis: determining the probability and consequences of risks and estimating their impact on objectives. * Risk Response Planning: determining how to enhance opportunities and minimize threats to objectives. * Risk Monitoring and Control: executing risk response plans, monitoring risks, identifying new risks and evaluating the effectiveness of responses.

  1. Lifecycle Management Of Information Technology Project In Construction

    (incomplete, partial per?pective? of whole project), (Ebert 2001:62)and integration, degree to which di?tinct view? are explicitly perceived to inter-relate with one another. View? and integration in project management approache? One of fundamental mechani?m? that con?truction indu?try ha? developed for dealing with complexity i?

  2. Develop a Puzzle Website for users of three different age groups, Kids, Teenagers and ...

    But once research was undertaken in the analysis stage and the design stage it became a lot clearer to us what tools and techniques were going to be needed and what new tools and techniques were inevitability going to have to be learned.

  1. Random Access Memory

    RAM is used as the primary storage. Usually it is volatile memory where they will lose their data when the computer is shut down. RAM generally stores a bit of data as a charge in capacitor, or in the flip-flop state. * Another type of random access memory that was introduced in 1970s was DRAM (Dynamic Random


    the consumer, present and future, Deming Quality is the loss a product causes to society after being shipped, other than any losses caused by its intrinsic functions, Taguchi Quality is the totality of features and characteristics of a product or service that bear on its ability to satisfy stated or

  1. Development of Inventory Management Theory.

    Examples of JIT-related achievements include the following: lead time was cut from 13 weeks to nine hours at a General Electric aviation turbine blade plant in Cincinnati, Ohio; at an Omark saw chain plant in Portland, Oregon, work-in-process inventory was cut from 30 days to three days; asset turnover increased

  2. Modulation.A modulation is a process by which an information signal is converted to a ...

    An unavoidable cause of noise is the thermal motion of electrons in any conducting media. This motion produces thermal noise in amplifiers and circuits which corrupt the signal in an additive fashion; that is, the received signal, r(t), is the sum of the transmitted signal, s(t), and the thermal noise, n(t).

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work