1 |
Grant schrieb: |
2 |
> My girlfriend is at her wit's end with her SSD netbook and is now |
3 |
> hogging my laptop. Her netbook has 1GB RAM that could be upgraded to |
4 |
> 1.5GB, but I've read that it's a pain. It already runs xfce4, and |
5 |
> I've just made these optimizations based on past discussions: |
6 |
> |
7 |
> 1. CFLAGS="-march=prescott -0s -pipe -fomit-frame-pointer -ssse3" |
8 |
> 2. added elevator=noop as a boot parameter |
9 |
|
10 |
I remember that I've given this second advice. Since then I've read in |
11 |
the German computer journal c't [1] that CFQ has a detection for SSDs |
12 |
since 2.6.28 and now is the best choice for these devices. |
13 |
|
14 |
> 3. disabled DRI to save 32MB RAM |
15 |
> 4. removed the swap partition from /etc/fstab |
16 |
> |
17 |
> Am I missing anything significant? I've read that it's good to set up |
18 |
> /tmp in RAM. How can I do that? In /etc/fstab I have: |
19 |
> |
20 |
> shm /dev/shm tmpfs nodev,nosuid,noexec |
21 |
> |
22 |
> Is that related? |
23 |
> |
24 |
|
25 |
Yup, the entry should read: |
26 |
tmp /tmp tmpfs default 0 0 |
27 |
|
28 |
The first entry is just a name. You can name it in every way you want it. |
29 |
|
30 |
For further tweaks: Do you use Firefox? I've read that it uses fsync() |
31 |
when writing to its sqlite backend. This is a really good thing because |
32 |
it reduces the risk of loosing data but you might (and can) disable this |
33 |
to increase performance and reduce wear. I don't have a link at hand but |
34 |
it shouldn't be to hard to find. |
35 |
|
36 |
[1]c't 11/2009 page 101 |