From: Florian Philipp <lists@f_philipp.fastmail.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Optimizations for SSD netbook
Date: Sat, 30 May 2009 13:59:03 +0200 [thread overview]
Message-ID: <4A211F87.5040607@f_philipp.fastmail.net> (raw)
In-Reply-To: <49bf44f10905291724q740c73caw7fe6623c06377102@mail.gmail.com>
Grant schrieb:
> My girlfriend is at her wit's end with her SSD netbook and is now
> hogging my laptop. Her netbook has 1GB RAM that could be upgraded to
> 1.5GB, but I've read that it's a pain. It already runs xfce4, and
> I've just made these optimizations based on past discussions:
>
> 1. CFLAGS="-march=prescott -0s -pipe -fomit-frame-pointer -ssse3"
> 2. added elevator=noop as a boot parameter
I remember that I've given this second advice. Since then I've read in
the German computer journal c't [1] that CFQ has a detection for SSDs
since 2.6.28 and now is the best choice for these devices.
> 3. disabled DRI to save 32MB RAM
> 4. removed the swap partition from /etc/fstab
>
> Am I missing anything significant? I've read that it's good to set up
> /tmp in RAM. How can I do that? In /etc/fstab I have:
>
> shm /dev/shm tmpfs nodev,nosuid,noexec
>
> Is that related?
>
Yup, the entry should read:
tmp /tmp tmpfs default 0 0
The first entry is just a name. You can name it in every way you want it.
For further tweaks: Do you use Firefox? I've read that it uses fsync()
when writing to its sqlite backend. This is a really good thing because
it reduces the risk of loosing data but you might (and can) disable this
to increase performance and reduce wear. I don't have a link at hand but
it shouldn't be to hard to find.
[1]c't 11/2009 page 101
next prev parent reply other threads:[~2009-05-30 11:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-30 0:24 [gentoo-user] Optimizations for SSD netbook Grant
2009-05-30 4:33 ` Mike Kazantsev
2009-05-30 11:59 ` Florian Philipp [this message]
2009-05-30 14:08 ` Grant
2009-05-30 14:38 ` Mike Kazantsev
2009-05-30 17:04 ` Grant
2009-05-30 16:12 ` Neil Bothwick
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=4A211F87.5040607@f_philipp.fastmail.net \
--to=lists@f_philipp.fastmail.net \
--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