Push-Nachrichten von MacTechNews.de
Würden Sie gerne aktuelle Nachrichten aus der Apple-Welt direkt über Push-Nachrichten erhalten?
Forum>Apple>LEVEL-2 Cache .was ist das?

LEVEL-2 Cache .was ist das?

450MHZsindausreichend05.12.0314:45
was ist und tut so ein ding eigentlich? kann mir irgendwie nix so richtig darunter vorstellen. ist das ne doofe frage?
0

Kommentare

Quiiick
Quiiick05.12.0314:53
L2 cache:
<br>Short for Level 2 cache, cache memory that is external to the microprocessor. In general, L2 cache memory, also called the secondary cache, resides on a separate chip from the microprocessor chip. Although, more and more microprocessors are including L2 caches into their architectures.
0
Quiiick
Quiiick05.12.0314:56
Cache:
<br>
<br>Pronounced cash, a special high-speed storage mechanism. It can be either a reserved section of main memory or an independent high-speedstorage device. Two types of caching are commonly used in personal computers: memory caching and disk caching.
<br>
<br>A memory cache, sometimes called a cache store or RAM cache, is a portion of memory made of high-speed static RAM (SRAM) instead of the slower and cheaper dynamic RAM (DRAM) used for main memory. Memory caching is effective because most programs access the same dataor instructions over and over. By keeping as much of this information as possible in SRAM, the computer avoids accessing the slower DRAM.
<br>
<br>Some memory caches are built into the architecture of microprocessors. The Intel 80486 microprocessor, for example, contains an 8K memory cache, and the Pentium has a 16K cache. Such internal caches are often called Level 1 (L1) caches. Most modern PCs also come with external cache memory, called Level 2 (L2) caches. These caches sit between theCPU and the DRAM. Like L1 caches, L2 caches are composed of SRAM but they are much larger.
<br>
<br>Disk caching works under the same principle as memory caching, but instead of using high-speed SRAM, a disk cache uses conventional main memory. The most recently accessed data from the disk (as well as adjacent sectors) is stored in a memory buffer. When a program needs to access data from the disk, it first checks the disk cache to see if the data is there. Disk caching can dramatically improve the performance of applications, because accessing a byte of data in RAM can be thousands of times faster than accessing a byte on a hard disk.
<br>
<br>When data is found in the cache, it is called a cache hit, and the effectiveness of a cache is judged by its hit rate. Many cachesystems use a technique known as smart caching, in which the system can recognize certain types of frequently used data. The strategies for determining which information should be kept in the cache constitute some of the more interesting problems incomputer science.
0
Fenvarien
Fenvarien05.12.0315:03
Der Cache ist ein sehr schneller Zwischenspeicher für den Prozi. Auf den Arbeitsspeicher kann ein G4 mit 1,3 GB pro Sekunde zugreifen, ein G5 mit 6,4 GB. Der Cache hingegen hat eine mehr als 10x so schnelle Anbindung.
<br>
<br>Im L1-Cache werden Instruction und Data gespeichert.
<br>Der L3-Cache überbrückte, dass der G4 nicht mit voller Geschwindigkeit auf DDR-RAM zugreifen konnte
„Ey up me duck!“
0
450MHZsindausreichend05.12.0315:17
Aha, vielen dank schon mal. Welche Anwendungen profitieren denn besonders davon? ich nehme an 3D rendering und son kram, oder?
<br>
0
Fenvarien
Fenvarien05.12.0315:35
Alles profitiert davon
„Ey up me duck!“
0
Quiiick
Quiiick05.12.0315:38
450mhzsindausreichend<br>
Aha, vielen dank schon mal. Welche Anwendungen profitieren denn besonders davon? ich nehme an 3D rendering und son kram, oder?
<br>So ziemlich jede Anwendung, da es sich simple ausgedrückt einfach um einen schnelleren Zugriff des CPU auf benötigte Daten handelt. Der Prozessor muss so, dank L2C, weniger "Leerläufe" machen.
0
Quiiick
Quiiick05.12.0316:11
450mhzsindausreichend
<br>
<br>Stell dir vor, du stehst an einem Förderband auf dem alle 40cm eine neue Kartoffel liegt und musst die Kartoffeln die "geliefert" werden, schälen.
<br>Das Band läuft in diesem Beispiel so langsam, dass nur alle 120 Sekunden eine Kartoffel bei dir ankommt. Du bist jedoch in der Lage 1 Kartoffel in 90 Sekunden zu schälen. Somit entsteht eine unnötige Wartezeit. Noch schlimmer wird&rsquo;s, wenn auf dem Förderband nicht nur Kartoffeln liegen sondern auch Rüben und Tomaten für andere Nutzer de Transportmediums.
<br>
<br>Beim Computer wird versucht die Wartezeiten mittels L2-Cache zu verkleinern indem man die Zugriffsgeschwindigkeit auf die Daten erhöht.
<br>Ein L2-Cache sorgt dafür, dass die von dir benötigten Kartoffeln (nur die Kartoffeln, keine Rüben und Tomaten) präventiv zwischengespeichert werden, und somit schneller zur Verfügung stehen. Das Fassungsvermögen ist jedoch weitaus kleiner als der normale Arbeitsspeicher (Förderband).
0
450MHZsindausreichend05.12.0316:29
Dankeschön, jetzt hab ichs kapiert.
<br>
0
Murdock05.12.0315:07
Der L1, L2 und L3 Cache sind kleine, sehr schnelle RAMs, die vor dem "Prozessor-Eingang" liegen und die Anweisungen für den Prozessor aus dem Rechner entgegen nehmen, wenn dieser gerade beschäftigt ist.
0

Kommentieren

Diese Diskussion ist bereits mehr als 3 Monate alt und kann daher nicht mehr kommentiert werden.