Just to let you know

  • Thread starter Thread starter Daniel Yates
  • Start date Start date
[snip]
Did you kow that if you
are running XP you will only be using 256Kb of this at the most as XP is
only configured to utilise that amount. If you are running a 512Kb L2 Cache
or higher you need to register it manually.

You can do this by going to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\MemoryMan
agement and find the DWORD entry : SecondLevelDataCache. When entering
values here, be sure to use the correct numeric system. 256Kb should be
entered as 100 in hexadecimal, 512Kb is 200 and 1024Kb is 400

I have Barton with 512Mb but running Win98SE (and Linux mostly) Is there
similar a setting for Win98SE?
 
Just one question. Probe reads that you have a CPU with 512Mb. Does
that mean XP knows it?

MB or KB?

No, but if I make the change under windows XP, and it acknowledges it, then
and I know that the processor has 512 KB of L2 cache, then it seems to be
a good bet that windows is operating properly and the "verifier" is not
operating
correctly. The verifier checks for installed memory, not what Windows
detects, no?

Dave
 
Daniel Yates said:
Hi all

Bought my fave hardware magazine the other day and discovered something
which I thought others might want to know about ( just in case ).

A lot of people these days are running processors with a fast L2 cache,
normally 512kb - Northwood or Bartons for example. Did you kow that if you
are running XP you will only be using 256Kb of this at the most as XP is
only configured to utilise that amount. If you are running a 512Kb L2 Cache
or higher you need to register it manually.

You can do this by going to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Mem
oryMan
agement and find the DWORD entry : SecondLevelDataCache. When entering
values here, be sure to use the correct numeric system. 256Kb should be
entered as 100 in hexadecimal, 512Kb is 200 and 1024Kb is 400

Hope this is of use to some of you guys and gals

A good free tweaking utility similar to Microsoft's "TweakUI" is
"FreshUI" that you can get from http://www.freshdevices.com/. The
program allows this setting you speak of to be changed within the
gui - along with a lot of other settings.
 
It;s in the Uk and called PCGaming Hardware World. It is a relativly new
mag ( only 5 issues out so far ) but this is the best hardware mag I
have ever seen. basically it may as well be called homebuilders and
overclockers monthly 'cause that is what it is

To quote it's front cover " Extreme Hardware! : The only mag dedicated
to games hardware and extreme CPU, 3DCard & motherboard tuning!"

. very good mag, worth getting.

Daniel

I beg to differ...

http://www.atomicmpc.com.au/
 
Daniel Yates said:
A lot of people these days are running processors with a fast L2 cache,
normally 512kb - Northwood or Bartons for example. Did you kow that if you
are running XP you will only be using 256Kb of this at the most as XP is
only configured to utilise that amount. If you are running a 512Kb L2 Cache
or higher you need to register it manually.

This is utter nonsense, and obvious to anyone who knows even the slightest
bit about how a CPU operates. Enabling the L2 cache in an Athlon XP, or
Pentium 4 is all-or-nothing deal. You can't only use half of the L2 cache.
There are no bits in the cache control registers that control how much
of the cache to enable, they just enable or disable the whole thing.

People whose knowlege of computers is so limited that they write such
ridiculous and uninformed statements should really find something else to do
with their time, since they're not helping anyone by spreading their
misinformation.

That registry entry is read by the OS and used to control the placement
of virtual memory pages in physical memory to reduce L2 cache collisions.
This Microsoft Knowledgebase article:

http://support.microsoft.com/default.aspx?scid=kb;en-us;183063

explains it, and also states that it is only useful on processors with a
direct mapped L2 cache, where you might see a 2% improvement in performance.
The L2 cache on a Barton is 16-way set associative, a P4 is 8-way, so they
are already going to have fewer collisions, since there are multiple
locations in the cache where data at a particular address in physical
memory can be cached. A direct-mapped cache is 1-way set associative, so
data at a particular address in physical memory can only reside in one
possible location in the cache. This is why scattering pages in physical
memory can reduce collsions in the direct-mapped L2 cache and improve
performance, but has little or no effect if the CPU has an 8-way or 16-way
set associative L2 cache.

To find a processor which used a direct-mapped L2 cache you'd probably have
to go all the way back to the Pentium. Pentium II, AFAIK always had an
integrated 4-way set associaitve L2 cache.

-Jonathan (e-mail address removed)

"The great thing about the Internet is that it allows anyone anywhere to
publish anything regardless of their education, age, or experience. The
bad thing about the Internet is that it allows anyone anywhere to publish
anything regardless of their education, age, or experience."
--from the video "Don't Get Caught in the Web"
 
This is utter nonsense, and obvious to anyone who knows even the slightest
bit about how a CPU operates. Enabling the L2 cache in an Athlon XP, or
Pentium 4 is all-or-nothing deal.

So XP detetecting and listing the size of the L2 cache is just for
fun? Yes, reports so far indicate that Sandra has trouble detecting an
improvement in performance after the registry change.
 
Sandra is crap, in the first place :)
Play with your tinkertoys....

-
AJ stood up at show-n-tell, in (e-mail address removed),
and said:
 
Pond Scum said:
This is utter nonsense, and obvious to anyone who knows even the slightest
bit about how a CPU operates. Enabling the L2 cache in an Athlon XP, or
Pentium 4 is all-or-nothing deal. You can't only use half of the L2 cache.
There are no bits in the cache control registers that control how much
of the cache to enable, they just enable or disable the whole thing.

<snip>
Well well.. I figured. Most of the registry "tweaks" in Win2000/XP etc ar
just for show. For example all those "make your modem faster" tweaks..
hoho.. lol. rofl.. yeah.

/M
 
AJ said:
So XP detetecting and listing the size of the L2 cache is just for
fun? Yes, reports so far indicate that Sandra has trouble detecting an
improvement in performance after the registry change.

If Windows XP actually even does anything with that value, the benefit is
limited to systems with direct-mapped L2 caches, which means Pentium and
Pentium MMX processors.

The MS Knowledgebase article dates back to Windows NT, when contemporary
CPUs would benefit from scattering pages in physical memory. It's hard to
say whether WinXP looks at that registry key and does anything with it,
or if it is just a leftover from NT. The minimum recommended CPU for XP
(300MHz Pentium family or compatible) is going to have at least a 4-way
set associative L2 cache, so it isn't going to benefit from scattering
pages. Without access to the kernel source code, the only way any of us
are going to know whether XP does anything with that value is to 1) find an
old system that would benefit from the page scattering (233MHz Pentium MMX
w/512kb direct-mapped external L2 cache), 2) install XP on it, 3) write
some benchmark programs that intentionally try to create cache line
collisions in the L2 cache that page scattering would alleviate, and 4)
measure the performance with varions settings of SecondLevelDataCache.

-Jonathan (e-mail address removed)
 
Martin Eriksson said:
Well well.. I figured. Most of the registry "tweaks" in Win2000/XP etc ar
just for show. For example all those "make your modem faster" tweaks..
hoho.. lol. rofl.. yeah.

It can be useful to know how big the L2 cache is. For performance reasons,
a programmer might adjust the size of chunks of data their code processes
to insure that the chunks fit entirely in the L2 cache. Or, you might need
to know the L2 cache size to know when to perform software prefetching using
the SSE2 instructions. But this is quite different than claiming that
a registry entry controls how much of the L2 cache is enabled.

Since that KB article was written, Intel has extended the CPUID instruction
so it now reports back the size of all the caches (TLB, L1, L2, L3) and
their associativity. On a modern system, most pieces of code that need to
know cache sizes will use the CPUID instruction, not some little-known
registry entry.

-Jonathan (e-mail address removed)
 
..........................................................
It can be useful to know how big the L2 cache is. For performance
reasons, a programmer might adjust the size of chunks of data their
code processes to insure that the chunks fit entirely in the L2 cache.
......................................................................snip

WOW! When you do something you really go all the way. That has to be
the single biggest back pedal in the history of usenet.
 
I got such a tiny increase in cpu benchmarks that I suspect the l2 cache
does run but isn't quite optimized.
 
AJ said:
On Sat, 13 Sep 2003 22:25:52 GMT, (e-mail address removed) (Pond Scum) wrote:
It can be useful to know how big the L2 cache is. For performance
reasons, a programmer might adjust the size of chunks of data their
code processes to insure that the chunks fit entirely in the L2 cache.
WOW! When you do something you really go all the way. That has to be
the single biggest back pedal in the history of usenet.

The original post on the registry value, and its effect on performance and
use of the L2 cache was complete and total garbage, period. My follow up
answers the unasked question "Is there any situation where it would be useful
to know the size of the L2 cache?" The two hypothetical situations I
described are COMPLETELY UNRELATED to how the NT kernel uses the L2 cache
size.

If you weren't so ignorant, you'd have realized that. Now that I've explained
it in terms simple enough for an idiot like yourself, do you understand now?

-Jonathan (e-mail address removed)
 
The original post on the registry value, and its effect on performance and
use of the L2 cache was complete and total garbage, period. My follow up
answers the unasked question "Is there any situation where it would be useful
to know the size of the L2 cache?" The two hypothetical situations I
described are COMPLETELY UNRELATED to how the NT kernel uses the L2 cache
size.

If you weren't so ignorant, you'd have realized that. Now that I've explained
it in terms simple enough for an idiot like yourself, do you understand now?

-Jonathan (e-mail address removed)

I'm starting to see what you mean about anybody being able to publish
anything!
 
Pond Scum said:
The original post on the registry value, and its effect on performance and
use of the L2 cache was complete and total garbage, period. My follow up
answers the unasked question "Is there any situation where it would be useful
to know the size of the L2 cache?" The two hypothetical situations I
described are COMPLETELY UNRELATED to how the NT kernel uses the L2 cache
size.

If you weren't so ignorant, you'd have realized that. Now that I've explained
it in terms simple enough for an idiot like yourself, do you understand now?

-Jonathan (e-mail address removed)

Hey! I only posted it because I saw it in a hardware mag and thought it
would be worth sharing. And guess what - if you change the value in the
registry yet the system detects the value of the L2 cache anyway then there
is no harm done to anyone is there? Have you actually tested the setting? I
find a lot of you "people who seem to know what you are on about" take a
whooooooole lot on trust when it comes to what Microsoft would have you
beleive Don't forget, XP is the opertating system that they claimed never
needed to restart after an application install!! That was a laugh. But hey,
I think you are more than likely right about the L2 cache. But what does
that then tell you? It tells me that MS are doing nothing but rehashing th
same things over and over, hence all the defunct entries in the registry.

Daniel
 
If you weren't so ignorant, you'd have realized that.

Maybe this is true, but...
Now that I've explained
it in terms simple enough for an idiot like yourself, do you understand now?

-Jonathan (e-mail address removed)

Why does ignorant, which we are all guilty of being in some areas, equate to
being foolish or stupid? You might know about computers, but does that
makes people who don't retarded in some sense? Jonathan, how is it that
people can be fools for not being born with the knowledge necessary to
understand computers and software?

I'm sure that you have a red herring stored for just this occasion, but,
please, try to address the question without anything superfluous.

Cheers,

Dave
 
Daniel Yates said:
Hey! I only posted it because I saw it in a hardware mag and thought it
would be worth sharing. And guess what - if you change the value in the
registry yet the system detects the value of the L2 cache anyway then there
is no harm done to anyone is there? Have you actually tested the setting?

Personally, I found that it boosted benchmarks by 1% to 5%, except for one
minus result. I think it causes Windoz to optimize for the cache size.

Folks, stop arguing with the bigot and benchmark! I've filtered him out,
myself.
 
Back
Top