From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: cflags for atom
Date: Tue, 22 Oct 2013 12:40:18 +0000 (UTC) [thread overview]
Message-ID: <loom.20131022T142121-379@post.gmane.org> (raw)
In-Reply-To: CAC=wYCHQgRGz4OesY-3Z-99npurEmZRVhGQMe4gUVb1nrg_jGA@mail.gmail.com
Adam Carter <adamcarter3 <at> gmail.com> writes:
> The i686 and -Os ideas are interesting.
SMALL is better. I've run numerous embedded and minimized gentoo systems
over the years.
Here is the make.conf from a i586:
CHOST="i486-pc-linux-gnu"
CFLAGS="-Os -march=i586 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
PORTAGE_NICENESS="1"
MAKEOPTS="-j2"
USE="-* -nls mmx hardened ncurses ssl crypt berkdb tcpd pam perl pcre \
python readline zlib bzip2 nptl nptlonly syslog"
MINIMIZE your efforts!
> Also - try diffing the kernel .configs - maybe you missed something
> important on the slow system.
I spent days building several kernels; keep at least 2 so when you minimize
yourself into oblivion, you can recover with the known, working
kernel. Days and Days of minimize-test-reboot (rinse and repeat)
before I got a minimized hardened kernel, that worked well. SMALL is
superior to OPTIMIZED, ihmo.
That said, if you are trying to make it a graphically minimized
portable workstation, experiment with only what you need.
HTOP is the best app to watch along with IOtop, as you use the
system. Published benchmarks will be mostly irrelevant, imho.
Here is a busy, i586
Load average: 0.00 0.00 0.00
mem 9/248 MB
CPU 2.0%
[1] www.gentoo.org/proj/en/base/embedded/handbook/
ymmv,
James
prev parent reply other threads:[~2013-10-22 13:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-21 14:09 [gentoo-user] cflags for atom Silvio Siefke
2013-10-21 14:33 ` thegeezer
2013-10-21 15:08 ` Silvio Siefke
2013-10-21 15:15 ` Frank Steinmetzger
2013-10-21 16:09 ` Silvio Siefke
2013-10-21 16:40 ` Frank Steinmetzger
2013-10-21 16:54 ` housegregory299
2013-10-21 15:20 ` Joseph
2013-10-21 15:40 ` Frank Steinmetzger
2013-10-22 0:31 ` Alecks Gates
2013-10-22 0:45 ` Adam Carter
2013-10-22 2:20 ` Frank Steinmetzger
2013-10-22 12:40 ` James [this message]
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=loom.20131022T142121-379@post.gmane.org \
--to=wireless@tampabay.rr.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