Preview

Memory Management Strategies

Satisfactory Essays
Open Document
Open Document
961 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Memory Management Strategies
ITCS 343 Opera-ng System Principles Memory Management Strategies

Virtualizing Resources • Physical Reality: Different Processes/Threads share the same hardware – Need to mul-plex CPU (Just finished: scheduling) – Need to mul-plex use of Memory (Today) – Need to mul-plex disk and devices (later in term) – The complete working state of a process and/or kernel is defined by its data in memory (and registers) – Consequently, cannot just let different threads of control use the same memory – Probably don’t want different threads to even have access to each other’s memory (protec-on) • Physics: two different pieces of data cannot occupy the same loca-ons in memory

• Why worry about memory sharing?

Memory Hierarchy of a Modern Computer System • Take advantage of the principle of locality to: – Present as much memory as in the cheapest technology – Provide access at speed offered by the fastest technology Processor Control Second Level Cache (SRAM) Main Memory (DRAM) Secondary Storage (Disk)

Tertiary Storage (Tape)

On-Chip Cache

Registers
1s
100s

Datapath

Speed (ns): Size (bytes):

10s-­‐100s Ks-­‐Ms

100s Ms

10,000,000s

10,000,000,000s

(10s ms)

(10s sec) Gs Ts

Background • Program must be brought

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Over the past 30 years the cost of Electronics has steadily decreased. The cost of electronic storage has decreased greatly over the past 30 years as well. In this paper I will be talking about the decrease in the cost of RAM and Hard Drive Storage, how much will a 100TB HDD will cost when it becomes widely available in the future, and how much memory I will be able to buy with $100 in 10 years. In 1956, IBM created the first commercial Hard Drive called the IBM 305 RAMAC which held 5MB and cost a whopping 50 thousand dollars! Electronic storage started being more widespread during the early 1980’s, but it wasn’t until the 1990s that RAM and Hard Drive Storage begin to be cheap enough for the average person. Back in 1981 the price for one MB of Hard Drive storage space was $340! Most people couldn’t afford a computer back in the 1980’s because of the huge cost. Through the 1980’s the cost per MB fell from around $340 during 1981 then to $40 per MB in 1988, and finally to $9 per MB in 1990. The cost of one Bit of ram in 1981 was 0.000425 cents, in 1988 it was 0.000005 cents, in 1995 it was 0.000000158 cents, in 2000 the cost per Bit…

    • 494 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. Rank the areas of memory from highest speed to lowest? – Processors registers, Processors cache and RAM and hard drives.…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Powerful central processing units (CPUs) demand large amounts of data, and they need that data fast. Otherwise, CPU performance is hindered by the lack of data storage support; therefore, computers have been designed to supply data through tiering memory and caches, which use the hard drive in combination with random access memory (RAM) to deliver massive amounts of data to the CPU. The speed of the RAM is crucial to the performance of data delivery; you want the most RAM at the fastest speed possible so the CPU is not waiting for information.…

    • 396 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Sharing allows several processes to access the same portion of main memory (Stallings, 2012). When there are a number of processes executing the same program it is beneficial to allow each process to access the same copy of the program rather than have its own separate copy (Stallings, 2012,). The memory management system must therefore…

    • 573 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Kroenke Emis3 Tif Ce06

    • 2239 Words
    • 12 Pages

    5) Which of the following enables the fast processing of data once the data resides in the main memory of a computer?…

    • 2239 Words
    • 12 Pages
    Satisfactory Essays
  • Good Essays

    BTEC ICT Unit 2 P1

    • 944 Words
    • 4 Pages

    There are two types of memory which we need and use on our computers one of them is RAM and the other one is cache.…

    • 944 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Resource Management

    • 3155 Words
    • 13 Pages

    1. Prepare a summary of paper usage vs allocation for the month of April on a weekly basis. Assume the organisation received the same amount of paper per week.…

    • 3155 Words
    • 13 Pages
    Good Essays
  • Good Essays

    The first main memory improvement technique is the use of verbal mnemonics that focuses around words. For example acronyms, (where a word or sentence is formed from the initial letters of other words) e.g. - UNICEF - The United Nations International Children's Emergency Fund. Another technique is an acrostic (a poem or sentence where the first letter in each line/word forms the method used for the item being remembered). E-g Homework -Hard to do and sometimes, Overwhelming, My teacher gives us homework, every single day! Writing for hours, Or, Reading for hours, Kids need a break! Rhymes are also used (groups of words with an identity and rhythm) e.g- “rhythm of twinkle twinkle little star” in order to remember the letters of the alphabet. The last method being chunking (dividing long sentences of information into memorable chunks) e.g- for postcodes or telephone numbers.…

    • 646 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    “The Persistence of Memory,” by Salvador Dali, “A Trip to the Moon,” by George Méliès, and “The Great Day of His Wrath” by John Martin…

    • 1949 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    Stage

    • 354 Words
    • 2 Pages

    Explain why this can be used as a criticism of the multi-store model of memory (4 marks).…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    A disadvantage to the Multi-Store Model of Memory is that it may be over simplifying the memory processes. This model of memory doesn’t take into consideration that there are different kinds of…

    • 451 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    I thought to myself, I did not die on the last one. I think I may have a chance at living. Let me just begin by saying, that was complete wishful thinking. I was in my own world up in my brain. Let's get back to reality.…

    • 990 Words
    • 4 Pages
    Good Essays
  • Good Essays

    For any operating system to function properly, one of the vital tasks it must be able to do is manage memory. When a program runs on a computer, it first must be loaded into memory before it can execute. There are five different requirements memory management must satisfy in order to execute the program so it runs without errors or corruption. These requirements are relocation, protection, sharing, logical organization, and physical organization.…

    • 730 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Memory with its parent company in the US is currently experiencing a poor record of meeting…

    • 6643 Words
    • 42 Pages
    Powerful Essays