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

Mindmap

Cache memory : 1

nannaphat sudchawa วิชา Computer Archatecture Final Englisch

Inhalt der Mindmap

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

Informationen

Beschreibung
วิชา Computer Archatecture Final Mindmap am Cache memory : 1, erstellt von nannaphat sudchawa am 13/12/2016.
Erstellt von
nannaphat sudchawa
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck