Gentoo Archives: gentoo-user

From: Florian Philipp <lists@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?
Date: Sat, 14 Mar 2009 10:43:53
Message-Id: 49BB8A6B.9000904@f_philipp.fastmail.net
In Reply to: Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo? by Grant
1 Grant schrieb:
2 >>>> I've installed and updated Gentoo on my girlfriend's Acer Aspire One
3 >>>> netbook and it's just so slow. The only things I can think of to
4 >>>> speed it up would be to upgrade the RAM from 1GB (not sure if that's
5 >>>> possible) and/or swap out the SSD for a HD. Anyone running a netbook
6 >>>> not excruciatingly slow?
7 >>>>
8 >>>> - Grant
9 >>>>
10 >>> I've got an Acer One for my father. I don't know the exact type; it is
11 >>> the one with the 8GB SSD.
12 >>>
13 >>> I found it quiet usable, installed Gentoo with a minimal KDE3 on it.
14 >>> Compiled with -Os, of course. RAM usage is below 256MB most of the time.
15 >>> The only things I didn't get to work are 3D acceleration and the SSD
16 >>> card slots but I haven't invested much time into it.
17 >>>
18 >>> The slowest part of the system is the SSD. It really slows things done
19 >>> when they are loaded for the first time (for example the HTML part of
20 >>> Konqueror takes 3s to load AFTER Konqueror itself came up).
21 >>>
22 >>> The rest of the system is pretty fast for my expectations.I compiled
23 >>> most things in a chroot on my Celeron notebook (2 or 3 times the speed)
24 >>> before moving it over but I really found compiling not _that_ slow. Its
25 >>> usable for most regular updates and even kernels and such alike. For
26 >>> larger packages, I mount an NFS share on /var/tmp/portage because I
27 >>> don't want to wear down the SSD.
28 >>>
29 >>> Other tips:
30 >>> Use ext2 FS. You don't want the journalling to cost you even more
31 >>> performance and wear down the SSD.
32 >>>
33 >>> I wouldn't use laptop-mode. You don't want it to bog down the system
34 >>> when it decides to flush its write cache.
35 >>>
36 >>> No syslog, it will only wear down the disk with many small write cycles.
37 >>>
38 >>> Use the noop IO scheduler (boot parameter elevator=noop). There is no
39 >>> need for a scheduler on an SSD.
40 >>>
41 >>> ArchLinux also recommends deactivating DRI ('Option "DRI" "0"' in
42 >>> xorg.conf) to free up 32MB of memory.
43 >>>
44 >>> Hope this helps.
45 >> Thanks guys, these are the kinds of tips I need. I really want this
46 >> thing to work out so I can switch over to one. Lemme see if I've got
47 >> this:
48 >>
49 >> 1. run xfce4 (already do)
50 >> 2. compile with -Os (I was using -O2)
51 >> 3. use ext2 (I was using ext3)
52 >> 4. don't use laptop-mode (I didn't know it existed)
53 >> 5. no syslog (does this mean don't even emerge a system logger like metalog?)
54 >> 6. use elevator=noop at boot
55 >> 7. deactivate DRI
56 >> 8. upgrade RAM to the max
57 >
58 > Which of these still apply when using a conventional HD instead of a
59 > SSD in the netbook?
60 >
61 > - Grant
62 >
63
64 1 and 2 really depend on your RAM and CPU performance. 2 even on the
65 software itself (for example bzip2 runs faster with -Os on my Celeron,
66 less cache misses, I presume; gzip and lzma do not).
67
68 3. can be neglected.
69
70 4. laptop-mode should definitely be used. It was designed especially for
71 this purpose.
72
73 5. still holds. However, with laptop-mode and certain settings ("options
74 { sync(0) ;stats(1000); };" ) it should not do much harm.
75
76 6. should not be used. Any other scheduler should be better than noop
77 for real spinning disks.
78
79 7. still holds.
80
81 8. always a good idea. Especially with today's chip prices. The only
82 downside is that hibernating with TuxOnIce takes longer.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo? Thanasis <thanasis@××××××××××.org>