[Mplayer-users] fastmemcpy benchmark

Arpi arpi at thot.banki.hu
Sun Apr 22 04:34:22 CEST 2001


Hi,

> My results on celeron-2 600 overclocked to 900, 256MB PC133 ram:
> ./fastmem-k6:  Illegal instruction
> ./fastmem-k7:  v2-v1=55224677
> ./fastmem-mmx: v2-v1=58553622
> ./fastmem-sse: v2-v1=54496382
> 
> In MMX version the standrd glibc memcpy() was used.
> (so it isn't really MMX code, except if glibc has MMX asm)
> 
> I think, with video memory these results differs a lot!
> I'll make some tests with G400's memory as destination.
It's done. Allocates an 1024*768*2 bytes buffer in video ram
(64k aligned) and copy some data from system memory to there
100 times, measuring cpu clocks and microseconds (timeGetTime):

./fastmem.sh: line 4:  6172 Illegal instruction     ./fastmem-k6
k7 : v2-v1=590389086 = 654561us  (152.774fps)
mmx: v2-v1=636227889 = 705310us  (141.782fps)
sse: v2-v1=593803067 = 658278us  (151.912fps)

I ran it several times, but results are near same.
The only interesting thing with this, that k7 version is
faster copying to video mem, while sse is faster to system ram.
(running on a P3... why doesn't stop k7 version with Illegal instruction?)


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list