Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2001 18:40:50 +0200 (CEST)
From:      Heiko Schaefer <hschaefer@fto.de>
To:        Mark Vojkovich <mvojkovich@nvidia.com>
Cc:        <xine-user@lists.sourceforge.net>, <xine-devel@lists.sourceforge.net>, <multimedia@freebsd.org>
Subject:   xine performance on freebsd. was: Re: [xine-user] Re: [Xpert]XvShm slower on freebsd than on line
Message-ID:  <20011004183557.R50599-100000@daneel.foundation.hs>
In-Reply-To: <Pine.LNX.4.21.0109121246460.6247-100000@dhcp-198-206.nvidia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey Mark, hey everyone,

> > Subject: Re: [xine-user] xine on freebsd?
> >
> > Hi Jason,
> >
> > On Wed, 12 Sep 2001, Jason Andresen wrote:
> >
> > > > even when using XvShm to display the video data xfree86 uses significantly
> > > > more cpu power on freebsd than on linux (~15% on freebsd compared to ~1-3%
> > > > on linux) which further indicates there's something wrong here.
> > > >
> > > > Comments, hints, ideas very welcome,
>
>    Most likely an MTRR issue.  An easy test is:
>
>    x11perf -shmput500
>
>    On something like a BX chipset with write combining you should get
> in the vicinity of 150 Megabytes/sec througput (ie. roughly 150 rects
> per second in 32bpp, 300 in 16bpp) on either the "nv" or "mga" drivers
> that come with XFree86.

x11perf gives me practically the same results on debian gnu/linux and
freebsd (~114/sec with 24bpp and ~210/sec with 16bpp).

by now it seems that the performance problems of xine on freebsd seem to
come only from the threads-implementation. at least if Xv performance is
really the same.

i've tried to check and make sure that mtrr is configured right on
freebsd. did someting like "memcontrol set -b <base-address> -l <length>
write-combine" and hopefully used the right address and length values.
but i didn't observe any change in performance from that.

somehow i still hope that one day xine will be as performant on freebsd
as it is on linux.

any input is appreciated.

Heiko


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011004183557.R50599-100000>