1 |
On Saturday 05 January 2008, reader@×××××××.com wrote: |
2 |
> > to de-junk a default config - even if you don't know what you do, |
3 |
> > is in realm of half an hour to an hour. If you read everything. |
4 |
> |
5 |
> Do you have a de-junked .config that I can diff against the |
6 |
> default.. it would be a way to see what kinds of things get dropped. |
7 |
|
8 |
Drivers for stuff you don't need and you will likely never use. Like ham |
9 |
radio stuff, v4linux (first version), I20, on a notebook all the |
10 |
enterprise-grade connect-a-machine-to-storage-stuff like iSCSI and |
11 |
Infiniband, all of ISA and MCA and the pre-pci bus drivers, old disk |
12 |
types like mfm and on modern boards usually even IDE as well. |
13 |
|
14 |
Removing all these unused drivers is the single largest improvement in |
15 |
reducing kernel size. The general rule with drivers is that if you are |
16 |
familiar with YOUR hardware and you've never heard of something in the |
17 |
config then you don't have it and don't need it :-) |
18 |
|
19 |
Complete kernel sub-systems are a bit harder, although some are still |
20 |
obvious. Like virtualisation. I assure you that if you have never heard |
21 |
of kvm and paravirt, then you certainly don't need it. |
22 |
|
23 |
With other stuff I usually end up leaving them in and removing things |
24 |
gradually as I compile the next kernel and learn more about stuff out |
25 |
there. If say HPET intrigues you and you want to know more, then Google |
26 |
it. Tomorrow you can do another one. |
27 |
|
28 |
Like I said in an earlier mail, it's not an easy process. It's only easy |
29 |
if you know most of it already - like Volker. I'd guess he has long |
30 |
since forgotten what it took to learn everything he knows, so of |
31 |
course "It's obvious!"... |
32 |
|
33 |
Comparing his and your configs is mostly pointless as your machines will |
34 |
differ considerably. The config file is >70k and even on two recent |
35 |
standard ubuntu configs the differences are over 1000 lines. Good luck |
36 |
with comparing that lot and trying to figure out what's going on :-) |
37 |
|
38 |
alan |
39 |
|
40 |
-- |
41 |
Alan McKinnon |
42 |
alan dot mckinnon at gmail dot com |
43 |
-- |
44 |
gentoo-user@g.o mailing list |