[Openchrome-users] slow GART memory - CN700

Dmitri Khokhlov dmitri.khokhlov
Wed Dec 6 01:16:31 PST 2006


Thomas,

The testgart (http://dri.sourceforge.net/res/testgart.c) does cover allocated memory range with MTRR:

reg00: base=0x00000000 (   0MB), size=1024MB: write-back, count=1
reg01: base=0x3c000000 ( 960MB), size=  64MB: uncachable, count=1
reg02: base=0xe8000000 (3712MB), size= 128MB: write-combining, count=2

Forgot to mention, that the via video driver is not configured. vesa driver is used by default.  Could it be a problem?

--
Dmitri

-----Original Message-----
From: Thomas Hellstr?m [mailto:thomas at tungstengraphics.com] 
Sent: Wednesday, December 06, 2006 12:04 AM
To: Dmitri Khokhlov
Cc: openchrome-users at openchrome.org
Subject: Re: [Openchrome-users] slow GART memory - CN700

Dmitri Khokhlov wrote:

> Hi,
>  
> I have EN15000 board - C7 1.5Ghz, CN700 & VT8237R (Optimized settings 
> in BIOS). FC5 with kernel 2.6.17.
> The testgart shows extremely low memory performance:
>  
> version: 0.101
> bridge id: 0x3141106
> agp_mode: 0x7000a0b
> aper_base: 0xe8000000
> aper_size: 128
> pg_total: 224768
> pg_system: 224768
> pg_used: 0
> entry.key : 0
> entry.key : 1
> Allocated 8 megs of GART memory
> MemoryBenchmark: 14 mb/s
> MemoryBenchmark: 14 mb/s
> MemoryBenchmark: 14 mb/s
> Average speed: 14 mb/s
> Testing data integrity (1st pass): passed on first pass.
> Testing data integrity (2nd pass): passed on second pass.
> dmesg:
>  
> Linux agpgart interface v0.101 (c) Dave Jones
> agpgart: Detected VIA P4M800CE chipset
> agpgart: AGP aperture is 128M @ 0xe8000000
>  
> What could be a problem here?

It looks like MTRR has not been setup correctly.
The DRM should do this automatically when GART memory is enabled through DRM, but I'm not sure the "testgart" application does this.

Check the output of /proc/mtrr.

/Thomas


>  
> Thanks
> Dmitri
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>openchrome-users mailing list
>openchrome-users at openchrome.org
>http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>Main page:
>http://www.openchrome.org
>Wiki:
>http://wiki.openchrome.org
>User Forum:
>http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>







More information about the Openchrome-users mailing list