From owner-freebsd-multimedia Thu Oct 4 9:42:24 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailout05.sul.t-online.de (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id D1BC137B408 for ; Thu, 4 Oct 2001 09:42:19 -0700 (PDT) Received: from fwd07.sul.t-online.de by mailout05.sul.t-online.de with smtp id 15pBZf-0006Mg-0B; Thu, 04 Oct 2001 18:42:15 +0200 Received: from giskard.foundation.hs (320048919767-0001@[217.81.134.253]) by fmrl07.sul.t-online.com with esmtp id 15pBZX-0h13LsC; Thu, 4 Oct 2001 18:42:07 +0200 Received: from daneel.foundation.hs (daneel.foundation.hs [192.168.20.2]) by giskard.foundation.hs (8.9.3/8.9.3) with ESMTP id SAA76047; Thu, 4 Oct 2001 18:42:06 +0200 (CEST) (envelope-from hschaefer@fto.de) Date: Thu, 4 Oct 2001 18:40:50 +0200 (CEST) From: Heiko Schaefer X-X-Sender: To: Mark Vojkovich Cc: , , Subject: xine performance on freebsd. was: Re: [xine-user] Re: [Xpert]XvShm slower on freebsd than on line In-Reply-To: Message-ID: <20011004183557.R50599-100000@daneel.foundation.hs> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 320048919767-0001@t-dialin.net Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 -l 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