[Mplayer-dev-eng] Aligned malloc and FreeBSD
Christoph Lampert
lampert at math.chalmers.se
Wed Aug 22 12:17:24 CEST 2001
>I've found that using 'memalign' speedups ffmpeg on 10% (at least on my Duron)
>Can someone (who uses FreeBSD) answer me:
>1. Does function 'memalign' exist on FreeBSD?
>2. If it exists - does it caused a memory leaks on FreeBSD?
It does exists in Solaris. (I use it all the time, no probs.)
In every way the alignment should depend on the CPU (K6/K7/Duron/P1/P2/P3/Cel).
In Solaris (Sparc only?) there is program to determine cache and cacheline
sizes, is there something similar for Linux/BSD? Of course, it can be measure by
brute-force, but this is more elegant...
>>
>> mathsun17> fpversion
>> [...]
>> Use "-xtarget=ultra2i -xcache=16/32/1:2048/64/1" code-generation option.
>>
gruel
--
Dipl. math. Christoph Lampert (complex analysis, integral formulae)
Email: gruel at gmx.de | Email: lampert at math.chalmers.se
_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
More information about the MPlayer-dev-eng
mailing list