From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rbh4T-0006GH-5D for garchives@archives.gentoo.org; Fri, 16 Dec 2011 23:20:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8E2C21C123; Fri, 16 Dec 2011 23:19:56 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 398BEE0370 for ; Fri, 16 Dec 2011 23:18:49 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAIbR605FxKY8/2dsb2JhbABEq1WBBoFyAQEEATocKAsLNBIUJTeHergCg3mEcYI3YwSINIRJKQGHToVeiB2EUA X-IronPort-AV: E=Sophos;i="4.71,366,1320642000"; d="scan'208";a="152674522" Received: from 69-196-166-60.dsl.teksavvy.com (HELO waltdnes.org) ([69.196.166.60]) by ironport2-out.teksavvy.com with SMTP; 16 Dec 2011 18:18:45 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Fri, 16 Dec 2011 18:18:22 -0500 From: "Walter Dnes" Date: Fri, 16 Dec 2011 18:18:22 -0500 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Any video optimization tips? Message-ID: <20111216231822.GB3029@waltdnes.org> References: <20111216111133.GA1639@waltdnes.org> <1324034444.24266.1@numa-i> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 01d8fd17-d108-49a9-a8cf-f7288965c0f4 X-Archives-Hash: 20aa11e7f81e5c9780b0923ef58eb907 On Fri, Dec 16, 2011 at 01:57:58PM +0000, James wrote > Find the minimal flags and the optimum CFLAGS settings for > your needs. Refine by testing. USE a fast hard drive..... > Avoid apps that soak up ram. Some video apps are ram_hogs... > > I'd be curious to learn what you finally figure out. Here's my current setup. First the cpu flags... waltdnes@d530 ~ $ grep flags /proc/cpuinfo flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts And what I've specified in CFLAGS and USE waltdnes@d530 ~ $ grep "\(CFLAGS\|USE\)" /etc/make.conf CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe" CXXFLAGS="${CFLAGS}" USE="-* X a52 aac bzip2 cxx dga dri exif ffmpeg flac fortran gallium gif intel jpeg mmx mng mp3 mpeg nptl nptlonly nsplugin offensive ogg opengl png posix sse sse2 ssse3 theora threads tiff truetype vim-syntax vorbis win32codecs wmf xcomposite xpm xv xvid zlib" One more thing. I just ran "gcc -march=native -Q --help=target" and got a major shock. It's a long output listing of what is/isn't enabled with -march=native on my cpu. Here are some relevant items... -march= core2 -mmmx [disabled] -msse [disabled] -msse2 [disabled] -msse3 [disabled] -mssse3 [disabled] It has properly identified the cpu as "core2". But mmx, sse, sse2, sse3 (aka pni), and ssse3 are disabled!!! I'll change my CFLAGS to... CFLAGS="-O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -fomit-frame-pointer -pipe" ...and emerge system and world and rebuild the kernel. Then I'll see if it helps. It'll probably be at least an overnight job for each emerge, if not longer. -- Walter Dnes