VOGONS


First post, by Señor Ventura

User metadata
Rank Newbie
Rank
Newbie

Well, i don't know if i did correctly the question, but i'm trying to determine the perfomance difference between 32MB or 64MB of RAM if having only 256KB of memory cache L2.

256KB backs 32MB of RAM, but, What happens if i put 64MB of RAM with only 256KB of L2 cache?, How much potential it will loose in comparison?

Thanks in advance 😀

Reply 1 of 3, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

it depends on chipsets. some chipsets cache can only see X amount, if you go beyond X, access speeds to that ram drop off a cliff.

you will see a big difference.

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 2 of 3, by derSammler

User metadata
Rank l33t
Rank
l33t
Señor Ventura wrote:

256KB backs 32MB of RAM

Where did you put that information from? The size of the tag ram is responsible for the cachable area. Also, the most common limit for the cachable area is 64 mb, not 32.

Reply 3 of 3, by feipoa

User metadata
Rank l33t++
Rank
l33t++

Typically on 486 motherboards with direct-mapped cache, if your L2 cache is in write-back mode, the board will cache up to 32 MB of RAM. If it the L2 cache is in write-through mode, it will cache up to 64 MB of RAM.

If you are using DOS with 64 MB of RAM and L2 in write-back mode, you likely will not notice any performance penalty if your application uses less than 32 MB of RAM. DOS uses RAM from the bottom up. Apparently, Windows uses RAM from the top down, so for the same situation, the uncached RAM gets used first and performance will be as if you don't have any cache installed, that is, until the system uses up 32 MB of uncached RAM and starts to use the cached RAM.

So your question as to how much performance loss is that of how much loss is there without any cache for certain situations. Off the top of my head, I think the performance loss is in the ballpark of 15%.

Plan your life wisely, you'll be dead before you know it.