From: Alec Ten Harmsel <alec@alectenharmsel.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] necessary use flgas
Date: Wed, 24 Jun 2015 08:29:09 -0400 [thread overview]
Message-ID: <20150624122909.GA525@apio.adsroot.itcs.umich.edu> (raw)
In-Reply-To: <20150624120958.GA1723@greenbeast>
On Wed, Jun 24, 2015 at 01:13:40PM +0200, Alan McKinnon wrote:
> On 23/06/2015 15:05, behrouz khosravi wrote:
> > Hello everyone.
> >
> > I really like to have control over my machine as much as possible. In
> > this way I will learn a lot, so I am trying to remove all the default
> > use flags and control them manually.
>
>
> Here's some good advice:
>
> Don't do that. See below.
>
Nonsense - do that. If your goal is to learn how stuff works and you're
already reasonably familiar with C/C++ so you can debug any strange
errors that can happen, have fun. Just don't think you'll get any real
work done ;). i.e. it might be good to do this in a virtual machine and
still have a stable system for work.
>
> > I just don't know which "global" use flags are absolutely necessary to
> > the system to make it snappier or secure.
>
> That's a bit of a nonsensical line of thought, as what you think you
> want doesn't really exist.
>
> ...
>
> Put "-march=native" in CFLAGS
>
Yes. Also, properly setting CPU_FLAGS_X86 is another thing that can
speed up software *if* said software supports any special instruction
sets. Most "normal desktop software" like web browsers, email clients,
terminals, editors, etc. probably will not get a whole lot of benefit
either way, since most of this software is generally not CPU-bound and
is instead network/disk bound.
In the mornings I primarily use my desktop for reading email and
browsing news with firefox (mostly on sites with minimal JavaScript),
and I have yet to see my load averages climb higher than maybe 0.5.
Any software that does anything requiring lots of math will get a boost
from this type of stuff, though; graphics editing, most things in sci-*
categories, audio/video transcoding, etc.
Alec
P.S. Just realized I don't have "-march=native" in my CFLAGS. Time to
rice - could be getting 1% better performance. ;)
P.P.S. Also, on 1% better performance: My professor for the compilers
class I took used to (maybe still does) work at Google. Apparently
Google sees a <1% increase in performance as *the best thing ever*,
because it can save them a bunch of money in infrastructure and power.
Apparently Google are the ultimate ricers.
next prev parent reply other threads:[~2015-06-24 12:29 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-23 13:05 [gentoo-user] necessary use flgas behrouz khosravi
2015-06-23 13:38 ` Neil Bothwick
2015-06-23 14:45 ` David Haller
2015-06-23 15:31 ` Neil Bothwick
2015-06-23 16:35 ` David Haller
2015-06-23 17:08 ` Neil Bothwick
2015-06-23 18:06 ` David Haller
2015-06-23 17:22 ` [gentoo-user] " James
2015-06-23 19:09 ` David Haller
2015-06-24 10:57 ` [gentoo-user] " Franz Fellner
2015-06-24 11:59 ` behrouz khosravi
2015-06-25 8:25 ` Neil Bothwick
2015-06-24 11:13 ` Alan McKinnon
2015-06-24 11:50 ` Alec Ten Harmsel
2015-06-24 12:09 ` Alec Ten Harmsel
2015-06-24 12:29 ` Alec Ten Harmsel [this message]
2015-06-25 4:10 ` [gentoo-user] " »Q«
2015-06-25 8:09 ` [gentoo-user] " Alan McKinnon
2015-06-25 8:27 ` Dale
2015-06-25 8:32 ` Alan McKinnon
2015-06-28 2:16 ` Dale
2015-06-24 12:23 ` behrouz khosravi
2015-06-25 4:25 ` Jc García
2015-06-25 8:38 ` Alan McKinnon
2015-06-25 12:01 ` behrouz khosravi
2015-06-25 12:56 ` Rich Freeman
2015-06-25 15:33 ` Emanuele Rusconi
2015-06-26 5:44 ` [gentoo-user] necessary use flags Thomas Mueller
2015-06-25 5:43 ` [gentoo-user] necessary use flgas Walter Dnes
2015-06-25 8:29 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150624122909.GA525@apio.adsroot.itcs.umich.edu \
--to=alec@alectenharmsel.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox