On Thu, Jun 21, 2001 at 12:40:52PM +0200, Kevin wrote:
>
> Hi folks,
>
> I'm just curious. Has anybody tried gcc 3.0? Performance improvements?
More then 90% is spent in DivX decoding than some CPU power
consumes drawing (assuming everyone is using hw rendering these days
as cards with hw rendering are very cheap and the difference in image
quality is huge) - few percent takes audio decompression -
the rest which now consumes nearly zero CPU time (we have still some
very small reserves - but they in the range of 0.1%) - is what aviplay
does - so optimizing speed of aviplayer at the instruction level
is almost worthless except in few areas where MMX code might be
helpfull. So you could see - even if you would use non-i586 optimized code
the performace would be almost the same.
Much bigger problem is the performace of the linux scheduler - this
is actually the largest problem I could see now - as its schedules task
with completely unpredictible delays and someone should finaly explain
to Linux Torvalds that not everyone is interested in the support
of 64GB or highest web serving ratings.
The main problem is that from time to time the thread will be awaken
after much longer time then it was expected - e.g. instead of
0.03s it will be 0.07s - changing priorities will help a lot - but
its still not as good as with SCHED_FIFO - which is however available
only for root. Also lowering priority is not thread-local thing
(I'm now currious how other players are dealing with these spikes -
especially those which doesn't use multiple processes for decoding)
Does anyone watches other players here
(myself I'm only comparing results with mplayer)
bye
--
Debian GNU/Linux maintainer - www.debian.{org,cz}
Zdenek Kabelac http://i.am/kabi/ kabi@{i.am, debian.org, fi.muni.cz}
Resistance is futile. You all will be packaged
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile