From owner-freebsd-multimedia Thu Oct 4 13:44:43 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from boromir.vpop.net (dns1.vpop.net [206.117.147.2]) by hub.freebsd.org (Postfix) with ESMTP id 7BE9E37B436 for ; Thu, 4 Oct 2001 13:44:35 -0700 (PDT) Received: from vpop.net (bilbo.vpop.net [63.231.252.113]) by boromir.vpop.net (8.11.4/8.11.4) with ESMTP id f94KiQJ70552; Thu, 4 Oct 2001 13:44:26 -0700 (PDT) (envelope-from mreimer@vpop.net) Message-ID: <3BBCCA4F.B56DDB6C@vpop.net> Date: Thu, 04 Oct 2001 15:45:03 -0500 From: Matthew Reimer Organization: VPOP Technologies, Inc. X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Heiko Schaefer , freebsd-multimedia@freebsd.org Subject: Re: xine performance on freebsd. was: Re: [xine-user] Re: [Xpert]XvShmslower on freebsd than on line References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 I wonder if performance could be improved by linking xine against the linuxthreads port instead of libc_r when building on FreeBSD? Matt Heiko Schaefer wrote: > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message