From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4B0BC1381F3 for ; Thu, 24 Oct 2013 09:12:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD829E0999; Thu, 24 Oct 2013 09:12:05 +0000 (UTC) Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1FD4E086D for ; Thu, 24 Oct 2013 09:12:04 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id u56so1983870wes.5 for ; Thu, 24 Oct 2013 02:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=XkqEry0LLIGNiCGj5e05WldSCimNPEDYU20VgiCL0UI=; b=Fj2BlRIuP1StU2dTvwjBZ1ZHJyTY7Lca6uQ1xw7AsW0xV1HM4F03yNUxG1sGjOos08 nHqVjY77iMomj4UwmF5I2Ico3fqdivKV4md088y2xUzqromu2JnS+N4Cb5CueLpHnjcu bac9LplsFraW5/C7UWJjrFyucr2mv2Za4yZdDh/5V5IhM1TXkR7L36bGIbixM3HC0TaK KnC+tRWWvKSjul6SQLGZvyylEwaVwo3oG2g5NF7jkso87Cf5M/D6RsQP2iJ74JgyIXf1 ueZa7/HWYPhgPRd7ApMlZgPOVbnjI8go4rdrVVdKBVFppoIKiYCSRQpva1TaEpiya7Te 2C9Q== X-Received: by 10.180.23.98 with SMTP id l2mr1245425wif.56.1382605923164; Thu, 24 Oct 2013 02:12:03 -0700 (PDT) Received: from [10.1.20.209] (dustpuppy.is.co.za. [196.14.169.11]) by mx.google.com with ESMTPSA id ey4sm1418074wic.11.2013.10.24.02.12.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Oct 2013 02:12:02 -0700 (PDT) Message-ID: <5268E324.4030900@gmail.com> Date: Thu, 24 Oct 2013 11:06:44 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Kernel ricing References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: c82494af-52b2-4dfa-b562-53721b423124 X-Archives-Hash: 91deaf5f1a9bbceb4d2b1b3060b55848 On 24/10/2013 10:58, Adam Carter wrote: > The CFLAGs used when building the kernel are set in the Makefile; > # grep HOSTCFLAGS /usr/src/linux/Makefile > HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 > -fomit-frame-pointer > > To build with other flags you set CFLAGS_KERNEL, so i've added a > suitable -march to the standard ones for my system; > export CFLAGS_KERNEL=" -Wall -Wmissing-prototypes -Wstrict-prototypes > -O2 -fomit-frame-pointer -pipe -march=amdfam10" > > then make, install, reboot. In my case the riced kernel is the same size > as the regular one, but the md5 is different. Its been up for an hour > with no obvious issues, and does seem snappier, but of course my brain > is full of cognitive bias. Has anyone else played with this? Any good or > bad outcomes? > James is the boy to answer up here. He'll give you a decent answer sans cognitive bias. I see all you've done is specify -march; what does the build system build for without that setting? -- Alan McKinnon alan.mckinnon@gmail.com