From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Optimizations for SSD netbook
Date: Sat, 30 May 2009 07:08:55 -0700 [thread overview]
Message-ID: <49bf44f10905300708g383cf8e7lbc679a837d5350b3@mail.gmail.com> (raw)
In-Reply-To: <4A211F87.5040607@f_philipp.fastmail.net>
>> 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.
OK, do I need a boot parameter if I've set CFQ as the default IO
scheduler in the kernel config?
>> 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
Do you think mounting /tmp in RAM is worthwhile? Mike doesn't seem to
think too highly of it.
> 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.
There is some interesting info on disabling fsync here:
http://www.flamingspork.com/projects/libeatmydata/
Sounds kinda dangerous. :)
- Grant
next prev parent reply other threads:[~2009-05-30 14:08 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
2009-05-30 14:08 ` Grant [this message]
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=49bf44f10905300708g383cf8e7lbc679a837d5350b3@mail.gmail.com \
--to=emailgrant@gmail.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