[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "linux tips and trick" and setting up MTRR's



On Mon 11 Dec 00,  7:44 PM, Nate Amsden said...
> Peter Jay Salzman wrote:
> > 
> > dear all, two questions.
> > 
> > 1- is there a resource on the web that explains how to correctly set up
> >   your MTRR's?
> 
> didn't know you had to..i just enabled support and left it at that :)
 
after digging around for a bit, i found the answer to this.   enabling
mtrr's vastly increased by quake3 performance.  i have now officially broke
the 40fps barrier.  :-)  hooray!

for my system, the appropriate command is

	echo "base=0xe8000000 size=0x4000000 type=write-combining" >| /proc/mtrr

which produces mtrrs at:

$ cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size= 128MB: write-back, count=1
reg01: base=0xe8000000 (3712MB), size=  64MB: write-combining, count=1

this is for a voodoo5/5500 with 64MB of video ram.

thanks for the tips and tricks info.  i'll go check it out right now!

pete

Attachment: pgpiLaUsUbrtw.pgp
Description: PGP signature


Reply to: