Re: [PATCH 1/2] x86: mtrr cleanup for converting continuous to discrete layout v7

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gabriel C
Date: Wednesday, April 30, 2008 - 5:04 am

Yinghai Lu wrote:

Yes X is fine and fast , it is even fine ( slower from my felling ) when I lose the 704MB.
In general with x86-latest.git tree things seems faster on that box , maybe there are some other bug fixes too.

I've tested some mtrr_chunk_size/mtrr_gran_size combos, dmesg's are uploaded there :

http://frugalware.org/~crazy/dmesg/mtrr/

Also setting lower values on mtrr_gran_size seems to give more RAM back , 
mtrr_chunk_size 256/512 eats 704 MB and 128 doesn't seems to do something ?

Other things I noticed ( probably you could add a note about in kernel-parameter.txt or some doc file ):

Setting mtrr_gran_size to high , on my box >=512m hangs the box on boot , 
setting it to low , on my box <=8m , will cause X to die with such a message :

xf86MapVidMem: Could not mmap framebuffer (0xd0000000,0x10000000) (Invalid argument)

If you want I can test such values for mtrr_chunk_size too , just let me know.

To be honest I'm even fine when losing 700 - 800 MB as long X and everything else does work. 
The other alternative for me for that problem without your patches will be to buy new ram ( 2 x 1G ) 
and then I lose near 2,3G compared to now or live with broken X until xorg-server will support and 
*work fine* with PAT ( most probably not that soon ).

Gabriel 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86: mtrr cleanup for converting continuous to ..., Arjan van de Ven, (Sun Apr 27, 10:50 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ..., Eric W. Biederman, (Tue Apr 29, 12:00 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ..., Eric W. Biederman, (Tue Apr 29, 1:29 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ..., Eric W. Biederman, (Tue Apr 29, 3:14 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to ..., Eric W. Biederman, (Tue Apr 29, 6:16 pm)
Re: [PATCH 1/2] x86: mtrr cleanup for converting continuou ..., Gabriel C, (Wed Apr 30, 5:04 am)