O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Cache memory : 1

nannaphat sudchawa วิชา Computer Archatecture Final Inglês

Conteúdo do mapa

Cache memory : 1

  1. A high speed memory closely connected to the processor

  2. ทำไมต้อง cache memory?

    • หน่วยความจำหลักทำงานได้ช้ามากเมื่อเทียบกับซีพียู
    • โปรแกรมส่วนใหญ่เมื่อใช้หน่วยความจำตำแหน่งหนึ่งแล้ว มักจะอ่านค่าหน่วยความจำตำแหน่งนั้นๆ อีกหลายๆ ครั้ง (locality of reference)
    • Copy ค่าในหน่วยความจำหลักมาใส่ในแคชก่อนแล้วค่อยให้ซีพียูอ้างถึงหน่วยความจำแคชด้วยความเร็วสูง
  3. นิยามต่างๆ ของ Cache

    • Hit : โพรเซสเซอร์พบข้อมูลในแคช
    • Miss : โพรเซสเซอร์ไม่พบข้อมูลในแคช
    • Hit rate
  4. Write policy

    • Write through
      • ทุกครั้งที่เขียนข้อมูลในแคช ให้เขียนข้อมูลลงในหน่วยความจำหลักด้วย
      • ประสิทธิภาพต่ำกว่า แต่สามารถใช้กับระบบมัลติโพรเซสเซอร์ได้
    • Write back
      • เขียนข้อมูลลงในแคชเท่านั้น แล้วค่อยไปเขียนลงหน่วยความจำหลักหลังยกเลิกการใช้แคชบล๊อกนั้นๆ
      • ประสิทธิภาพสูง - ไม่เหมาะกับระบบมัลติโพรเซสเซอร์
  5. Unified cache

    • Keeping both program and data
    • More simple and higher hit rate
  6. Separate cache

    • Keeps program in code cache
    • Keeps data in data cache
    • Suitable for Von-Neuman architecture

Informações

Descrição
วิชา Computer Archatecture Final Mapa Mental sobre Cache memory : 1, criado por nannaphat sudchawa em 13-12-2016.
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?