[MPlayer-dev-eng] mplayer slow on *bsd ?

Björn Sandell biorn at dce.chalmers.se
Sun Oct 26 22:13:56 CET 2003


On Sun, 31 Aug 2003 10:58:53 +0200
Attila Kinali <kinali at gmx.net> wrote:

> On Tue, 26 Aug 2003 10:51:44 +0200
> Björn Sandell <biorn at dce.chalmers.se> wrote:
> 
> > If you want me to test something, just ask!
> 
> The only usefull test is a direct comparison
> of linux and a bsd on the _same_ hardware.
> 
> I'd be very glad if you could do something
> like this

I've spent some time to night doing a trivial benchmark of mplayer
on Red Hat 9 and OpenBSD 3.4-current (from CVS a few weeks ago). 
Each OS was intalled without any tweaking or patching which amongst other things
leaves us with gnome on Red Hat and fvwm om OpenBSD.  The Red Hat was installed
as a "developers workstation" (or whatever it's called, workstation + developer
tools). On OpenBSD I had to install gettext, iconv and gmake (the former are
required by the latter).

The computer is a ASUS P2B-S with a PIII/500, 640M RAM, Matrox G400 MAX
(I can get a dmesg to morrow). 

Here's what mplayer has to say about file.m2v:

Playing file.m2v.
MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  2520.0 kbps (315.0 kbyte/s)
========================================================================== 
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 480 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [null] 480x480 => 640x480 Mpeg PES
Selected video codec: [mpegpes] vfm:mpegpes (Mpeg PES output (.mpg or Dxr3/DVB c
ard))
==========================================================================

First try was mplayer -nosound -benchmark file.m2v -vo null:

Linux
BENCHMARKs: VC:   0.027s VO:   0.029s A:   0.000s Sys:   8.207s =    8.262s
BENCHMARK%: VC:  0.3244% VO:  0.3459% A:  0.0000% Sys: 99.3296% = 100.0000%
BENCHMARKs: VC:   0.028s VO:   0.028s A:   0.000s Sys:   8.367s =    8.423s
BENCHMARK%: VC:  0.3352% VO:  0.3284% A:  0.0000% Sys: 99.3365% = 100.0000%
BENCHMARKs: VC:   0.027s VO:   0.027s A:   0.000s Sys:   8.365s =    8.419s
BENCHMARK%: VC:  0.3209% VO:  0.3228% A:  0.0000% Sys: 99.3563% = 100.0000%

OpenBSD	
BENCHMARKs: VC:   0.008s VO:   0.010s A:   0.000s Sys:   1.825s =    1.843s
BENCHMARK%: VC:  0.4352% VO:  0.5498% A:  0.0000% Sys: 99.0150% = 100.0000%
BENCHMARKs: VC:   0.008s VO:   0.010s A:   0.000s Sys:   1.871s =    1.889s
BENCHMARK%: VC:  0.4211% VO:  0.5411% A:  0.0000% Sys: 99.0378% = 100.0000%
BENCHMARKs: VC:   0.008s VO:   0.010s A:   0.000s Sys:   1.866s =    1.885s
BENCHMARK%: VC:  0.4417% VO:  0.5412% A:  0.0000% Sys: 99.0171% = 100.0000%


Next test was ./mplayer -nosound -benchmark file.m2v

Linux
BENCHMARKs: VC:  45.247s VO:  23.942s A:   0.000s Sys:  14.491s =   83.680s
BENCHMARK%: VC: 54.0716% VO: 28.6117% A:  0.0000% Sys: 17.3168% = 100.0000%
BENCHMARKs: VC:  45.585s VO:  24.036s A:   0.000s Sys:  15.333s =   84.954s
BENCHMARK%: VC: 53.6581% VO: 28.2934% A:  0.0000% Sys: 18.0485% = 100.0000%
BENCHMARKs: VC:  45.923s VO:  24.037s A:   0.000s Sys:  15.287s =   85.247s
BENCHMARK%: VC: 53.8702% VO: 28.1968% A:  0.0000% Sys: 17.9331% = 100.0000%

OpenBSD
BENCHMARKs: VC:  12.769s VO:   6.954s A:   0.000s Sys:   2.349s =   22.072s
BENCHMARK%: VC: 57.8518% VO: 31.5054% A:  0.0000% Sys: 10.6428% = 100.0000%
BENCHMARKs: VC:  12.734s VO:   6.920s A:   0.000s Sys:   2.323s =   21.977s
BENCHMARK%: VC: 57.9442% VO: 31.4876% A:  0.0000% Sys: 10.5682% = 100.0000%
BENCHMARKs: VC:  12.690s VO:   6.886s A:   0.000s Sys:   2.305s =   21.881s
BENCHMARK%: VC: 57.9948% VO: 31.4701% A:  0.0000% Sys: 10.5352% = 100.0000%

I am quite surprised...

-- 
Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se



More information about the MPlayer-dev-eng mailing list