FiringSquad: Home of the Hardcore Gamer - Games, Hardware, Reviews and NewsSubmit your own or view users' CPU overclocking results!

  
 Home   News   THE MATRIX   Deals   Hardware   Games   Features   Media   Products   Forums   FS China 
AddThis Social Bookmark Button

Home : Guides : Articles : The Future of PC Memory
» Join the Greatest Gaming Community NOW! (It's free)

Already a member? Login
 


Random Gallery >> 
Click to view high-res Image!
Silent Hunter: Wolves of the Pacific Review Screenshots [74] (4)


Sins of a Solar Empire Beta Review [Prelim 2] (5) by Itchyeyes
Battlefield 1942: 5 Years Later (2) by theboomboom
Results for biostar contest by DU|{E (0) by DU|{E
Biostar P45 Contest ! (0) by Trouffman
Boblemagnifique Biostar P45 Contest (0) by boblemagnifique-
The Chronicles of Riddick: Escape from Butcher Bay (PC) Review (3) by J1n
Guitar Hero 3 - The thing that should not be (UPDATED) (5) by Beefysworld
Beyond Good and Evil (prelim 2) (5) by exe3
Fury - The PvP Exclusive MMO? (2) by imoish
Foxhound Result Biostar contest :) (0) by foxhound77620

More Blogs >>




The Future of PC Memory
January 20, 2000  
Product Info | User Reviews | Article Images(6) | Image Gallery | Comments | Forum Thread
The Limitations of Caches

Why don't you just add more cache?

Unfortunately, caches can only do so much. While adding more and larger caches alleviate some problems, they create others. Caches must be invisible to software to maintain backwards compatibility, so they must operate completely in hardware and provide the illusion that the processor is speaking directly to the main memory. To accomplish this, processor architects have developed a number of algorithms that read ahead of the processor and keep the cache filled with the most relevant information, and dumps out data that is no longer necessary. Because of the speed of a modern processor, these functions must be implemented in hardware, adding complexity and cost to the processor and the memory subsystem.

Even the best cache algorithm is useless is some situations, such as multitasking. Modern operating systems use a process called virtual memory to provide every process with its own protected memory space. Each virtual memory address has to map to physical memory, which is accomplished by a part of the processor called the translation lookaside buffer (TLB). The placement of each virtual address in physical memory is determined by the operating system, but often the locations of data for different processes can be far away from each other in memory.

Flush that cache

In a multitasking environment, each program gets a slice of CPU time, usually around 5 milliseconds or less. When that time is up, the operating system takes over, and institutes a context switch. The operating system saves the current state of the processor's registers in memory, changes the contents of the TLB, resets the registers to where the next program left off, and instructs the processor to begin executing the next program. Every time this happens, the information in the cache becomes irrelevant, and in some systems, the cache has to be completely flushed.

In these cases, the speed of the memory system is paramount. Needed data will not be available in the cache, and the processor will sit and cycle uselessly while the memory controller slowly requests the data. The processor's voracious need for information is no longer the only stress on memory.

Direct Memory Slappin'

The classic PC architecture allowed only for the processor to read and write to main memory. It quickly became apparent that using the processor to copy information from the hard drive to memory or from memory to the graphics card was a waste of resources. Intel introduced direct memory access, a standard that allows peripherals to read and write to memory through the memory controller, which is usually part of what is known as the north bridge chip. The north bridge connects the processor, the memory, and peripheral busses.

The AGP port allows a graphics card to read textures directly from memory, and with AGP 4x this operation can happen at 1.06GB/s. Likewise, the new IEEE 1394 high speed data port, commonly found on new systems and digital video cameras, can write up to 800MB/s to main memory. Considering that PC100 SDRAM has a maximum theoretical bandwidth of 800MB/s, and a real throughput of about half that, it's obvious that a new memory system is necessary.

Back! Tell me about cache     So what does Intel want to do about this? Next!
Blog + Share: Digg Del.icio.us Reddit SU furl • More: AddThis Social Bookmark Button
Send This Article to a Friend!  
Table of Contents
  Print Entire Article  

MATRIX CONTENT » RANDOM MEDIA BLOG More Blogs >>
No ratings yet
» Please rate this
I am an AMD AgentRead this Media-Blog entry!» AMD Game Review Writing Contest Rules! (12)
by FS-Lyle (167) Talk with this user on their Shout Box (My other blogs) Posted 13 months ago

Sponsored Links
:
[GO]


 Latest Headlines
Valve's Gabe Newell: 'most DRM strategies are just dumb' (6)
Atari hints at new Baldur's Gate, Test Drive games (3)
Xbox 360 outsells PS3 3:1 on Black Friday (5)
The Witcher: Rise of the White Wolf announced for PS3/Xbox 360 (2)
Hitachi to partner with Intel on SSDs (1)
Today's News >>
Today's Siteseeing >>


 Table of Contents


 Quick Fact
To enable DMA under Windows 95/98, right click on your hard drive in the device manager and check the DMA box. This could crash your system, so be careful and make sure your hard disk supports DMA first. If it works, you'll be much happier with your hard drive speeds.


FiringSquad is powered by... Back to Top Site MapContact UsAdvertise With Us Privacy StatementAbout Us  
News RSSSiteseeing RSSArticle RSS   © 1998-2008 FS Media, Inc. All Rights Reserved