[haiku-appserver] Re: HW CopyRegions and next steps

  • From: "Rudolf" <drivers.be-hold@xxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Thu, 31 Mar 2005 13:58:05 +0200 CEST

Hi,
Stephan wrote:
> Copying from graphics to main memory is definitely no option.

I agree on this wholeheartedly: Maybe you have heard of the new 
benchmarking app written by Christian Packmann: gfxbusbench. (last 
version tested V0.7).
It explicitly tests transfer speed over the bus to- AND from the card. 
Like Stephan's benchmark, but much more reliable, and low-level.

I included a sample results file, for you ref. Hope it gets through.

Anyway: sample:
-->TX to gfxRAM: 200Mb/sec
-->RX from gfxRAM 10Mb/sec.

This is the reason you DON'T want that.
It gets worse: you probably think PCIe improves on this? Well, guess 
again. It remains the same. While the bus can do it, the (nVidia) cards 
are not (yet) optimized. At all. (talking about transfrers done by CPU 
of course here)

OK, another hint: 
->If you are going to transfer to (and from) gfxRAM, try to do it using 
64bit accesses (no 32 or 8 bit accesses, or make sure to minimize 
them!!). Reason: the with diff is also the speed diff for reads!. For 
writes this goes as well, UNLESS MTRR-WC is up. Which, in VESA mode, is 
not.

Example:
Writes, no MTRR
64bit 100Mb/sec
32bit 50Mb/sec
8 bit  12.5Mb/sec

reads, always:
64bit 10Mb/sec
32bit 5Mb/sec
8bit 1.25Mb/sec.

->These are real life figures, people!.

>Doing it in software in main memory is probably not 
> that much slower than the accelerated CopyRegions in graphics mem. It 
> is probably slower but that dramatic compared to doing it in software 
> in graphics mem.

Software in main mem is a whole lot faster than software in gfx RAM. 
Blit in gfx RAM is a whole lot faster than software in main mem. :-)

Bye!

Rudolf.



-- Attached file included as plaintext by Ecartis --

Content-Transfer-Encoding: base64
Content-Disposition: Attachment
Content-Type: application/zip; name=Results.html.zip

UEsDBBQAAAAIAA1ufzJ5ClMqpwUAAPEsAAAMAD4AUmVzdWx0cy5odG1sVVQJAAOJ40tCsONLQlV4
BAAAAAAAQmUlACAAAAABQkVPUzpUWVBFAE1JTVMAAAAAAAAACnRleHQv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eOS Attributes




Other related posts: