You are not logged in.
I'm planning on compiling my own kernel, to optimise as much as possible.
As a first step, I am planning on compiling the stock arch kernel from ABS, with the compiler flags for my CPU (core 2 duo), i686.
Am I likely to notice any kind of performance boost at all doing this, compared to what I assume is a standard compile to basic i686 instruction set in the arch repos?
Last edited by chrispoole (2009-04-08 17:13:07)
Offline
...Am I likely to notice any kind of performance boost at all doing this, compared to what I assume is a standard compile to basic i686 instruction set in the arch repos?
No...but there's no harm in ricing, so go for it.
Offline
OK thanks.
To find out what modules I need to compile into the kernel, I just have to run lspci, lsusb and lsmod? (It's a core 2 duo laptop.)
Offline
no, this will tell you what hardware you have (needed anyway if you want custom kernel). building completely static kernel will not speed up anything, addind some things to the kernel instead of building modules may save you few seconds (no miracles though)
Last edited by broch (2009-04-08 12:43:27)
Offline
How are you planning on applying those CFLAGS?
The kernel specifies it's own CFLAGS in some Makefile somewhere, so you'd have to hack that to make it work...
You'd need some kind of patchset to be able to use your own custom CFLAGS for a kernel compile if you don't want to grep/hack for it yourself.
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
How are you planning on applying those CFLAGS?
I was naively thinking of the flags in makepkg.conf.
Offline
OK thanks.
To find out what modules I need to compile into the kernel, I just have to run lspci, lsusb and lsmod? (It's a core 2 duo laptop.)
Just do:
lspci -k
to see what modules you need for every piece of hardware detected.
ZzZz...
Offline
To find out what modules I need to compile into the kernel, I just have to run lspci, lsusb and lsmod?
Love, and do what thou wilt - St. Augustine of Hippo
Offline
Offline
Thanks guys.
Offline