Re: How to determine what portion of memory is cached?

Pavel Machek (pavel@suse.cz)
Wed, 10 Nov 1999 23:49:41 +0100


Hi!

> > Is there a way in the kernel startup code (or anywhere in kernel
> > for that matter) to determine what portions of physical system
> > RAM are cached?
>
> The extended memory queries from the BIOS (E820) do actually provide this
> information if I remember rightly

Well, and the same bios call reports ROM memory as being usable RAM on
my toshiba :-).

If you stay away from 640KB..1MB region, common possibilities are that
everything >64MB is not cached, or that everything >16MB is not
cached. It should be rather easy to benchmark that.
Pavel

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.  Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/