¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Virtual Memory + Parallell

Emma Tysk Dark Inglés 10 fichas

Fichas del conjunto (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

Información

Descripción
Dark Fichas sobre Virtual Memory + Parallell , creado por Emma Tysk el 30/05/2017.
Creado por
Emma Tysk
Visitas
6
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?