Hello! 

I compiled a kernel for the first time and had a few questions.

I run Redhat 7 on a P III.  My previous kernel was '2.2.16-22' (uname)
and my new kernel is 2.4.2 (compiled with the default config options)

According to information on the web, 2.4.2 should deliver a slight 
performance increase. However, my machine is almost half as slow 
with the new kernel (verified by time-ing compiles in command line mode
and also with x11perf while running X)

The problem seems to be that RedHat adds optimisations to it's distro 
kernels that the stock 2.4.2 kernel doesn't have these (or may be features
not enables in the default kernel config)
Here's one message my 2.2.16 kernel outputs at boot time:
-------------
raid5: MMX detected, trying high-speed MMX checksum routines
   pII_mmx   :  1115.568 MB/sec
   p5_mmx    :  1171.575 MB/sec
   8regs     :   860.679 MB/sec
   32regs    :   482.727 MB/sec
using fastest function: p5_mmx (1171.575 MB/sec)
------------- 
The 2.4.2 kernel I compiled generates no such message.

Can someone help with these questions:
1. Is there a a way to generate a /usr/src/linux-2.2.16/.config for my 
   *2.2.16* kernel? 
   This would tell me how my kernel varied from a default 2.2.16 kernel.

2. Does Redhat makes specific patches to their distro kernels that aren't
   in the mainstream kernel. Is it possible to apply those to the 2.4 kernel?
   (Redhat doesn't 'support' 2.4 yet)

3. 'uname -a' informs me that my kernel is 2.2.16-22' 
    while my current /usr/src/linux points to 'linux-2.2.16' 
    Is the '-24' significant?

Regards,
Sonam

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to