Date: Thu, 04 Oct 2001 15:45:03 -0500 From: Matthew Reimer <mreimer@vpop.net> To: Heiko Schaefer <hschaefer@fto.de>, freebsd-multimedia@freebsd.org Subject: Re: xine performance on freebsd. was: Re: [xine-user] Re: [Xpert]XvShmslower on freebsd than on line Message-ID: <3BBCCA4F.B56DDB6C@vpop.net> References: <lists.freebsd.multimedia.Pine.LNX.4.21.0109121246460.6247-100000@dhcp-198-206.nvidia.com> <lists.freebsd.multimedia.20011004183557.R50599-100000@daneel.foundation.hs>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <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 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?3BBCCA4F.B56DDB6C>