• 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. Lifecycle Management Of Information Technology Project In Construction

    may be con?tructed from one data view. Primary view? In order for all project participant? to be able to carry out their own ta?k? in mo?t efficient manner, they mu?t be free to work with information that they need pre?ented in way that ?uit? them be?t. For example, the ?tructural de?igner may need to repre?ent geometry of ?tructural element?

  2. Risk Management and Assessment for IT Projects.

    For the most part, all projects should follow the processes in Steps 1.0 through 4.0. Now on to Step 5.0 - Manage Scope. The rest of the TenStep Project Management Process(tm) works the same way. * It is important to recognize that the ten steps of the TenStep methodology do not imply a sequential progression.

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

    of these tools and techniques and we subsequently substituted new techniques, which we believed would be more compatible with the system. The final list of tools and techniques we used is namely * Rational Rose * UML * ASP * ODBC * HTML 4.0 * Front Page & Dream Weaver * SQL * JavaScript * (Brinkster Server)

  2. The project explains various algorithms that are exercised to recognize the characters present on ...

    The cache provides code and data to the CPU at the speed of the processor, thus reducing the CPU to memory processing bottleneck. On the first level, it consist of dedicated program and data memory which can be configured into SRAM and cache.

  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

  2. Industrial Data Management Technologies

    I have taken the help from the friends and from my group members and I have got some idea about how to normalization on exiting tables. So I have submitted normalized EER and UML diagrams in my submission. I have learnt how to apply IT field in the real world after visiting the company and gathering the information from it.


    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

  2. So in order to understand what the main areas where organisation should be aware ...

    and whois databases (for example, http://whois.ripe.net and http://whois.nic.gov). (http://www.dirc.org.uk/publications/techreports/papers/5.pdf. [accessed 15 November 2005]) The process is performing various queries on the many whois databases found on the internet. The result is the hacker now having the information needed to attack the system they are learning about.

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