GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Virtual Memory + Parallell

Emma Tysk Dark Englisch 10 Karten

Karten in diesem Stapel (10)

  1. 1What does VM do?It takes program addresses and maps them to RAM addresses.
  2. 2What problems does VM solve?Mips gives each program 32 bit address space. But what if you don´t have that kind of memory?
    - If multiple programs access the same space they can corrupt data
  3. 3What happens when a program tries to load something that is not in RAM?The VM takes the oldest data in RAM and puts it on the disk and updates the Map to point to the right data
  4. 4How does VM work?-Separate mem spaces;
    -VM: what the program sees
    -Physical mem: the RAM
  5. 5What is VA and PA?Va: Address that the program uses
    Pa: what the hardware uses to talk to RAM. The space is determined of how much Ram is installed
  6. 6How does a program access memory?1. Executes load to specify VA
    2. Computer translates VA to PA (in map)
    3. If data is not in mem -> load from disk -> update map
  7. 7What can happen if all programs have access to the same 32-bit memory space?• Can crash if less than 4GB of RAM memory in the system
    • Can run out of space if we run multiple programs
    • Can corrupt other programs’ data
  8. 8How is the virtual addresses mapped?Mapping is Fully Associative! -> need an indirection table, the “Page Table”
  9. 9How is the VA divided?Memory and virtual memory are divided into frames and pages and the “hot/active” pages are kept
    in RAM. Each process does not know if data is in RAM/disk.
  10. 10Calculate parallell perfomanceP = Percentage that can run in parallel (e.g. 90%)
    S = # of cores/processors/threads
    Speedup =
    _______1______
    (1−P)+ P/S

Informationen

Beschreibung
Dark Karteikarten am Virtual Memory + Parallell , erstellt von Emma Tysk am 30/05/2017.
Erstellt von
Emma Tysk
Aufrufe
6
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck