You are not logged in.

#1 2010-10-21 23:06:07

edward.taylor89
Member
From: UK
Registered: 2010-10-21
Posts: 34

Kernel recompilation and mkinitcpio questions

Hello,

I'd like to know whether it is necessary to recompile the kernel with command, 'mkinitcpio -p kernel26' after removing HOOKS and changing the kernel.img compression method in '/etc/mkinitcpio.conf' and and/or changing settings in '/boot/menu/grub.lst'.

(A few more questions)

Is kernel compression recommended?

Would 'gzip' be faster at decompressing, compared with 'lzma' and 'bzip'?

I understand that compression reduces HDD read/write at the expense of more CPU commit, but does this affect boot-time at all?


'The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life.'

Offline

#2 2010-10-21 23:12:14

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: Kernel recompilation and mkinitcpio questions

edward.taylor89 wrote:

I'd like to know whether it is necessary to recompile the kernel with command, 'mkinitcpio -p kernel26' after removing HOOKS and changing the kernel.img compression method in '/etc/mkinitcpio.conf' and and/or changing settings in '/boot/menu/grub.lst'.

Yes, you should run

mkinitcpio -p kernel26
edward.taylor89 wrote:

Would 'gzip' be faster at decompressing, compared with 'lzma' and 'bzip'?

I did some benchmarks and LZMA decompress a bit faster than Gzip, but compression is much slower while generating an image.

Offline

#3 2010-10-21 23:32:34

edward.taylor89
Member
From: UK
Registered: 2010-10-21
Posts: 34

Re: Kernel recompilation and mkinitcpio questions

Many thanks. smile


'The perfect blossom is a rare thing. You could spend your life looking for one, and it would not be a wasted life.'

Offline

Board footer

Powered by FluxBB