You are not logged in.

#1 2005-02-12 17:30:17

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

2.4 vs. 2.6

Making this kernel comparison is pretty easy.  But, is there anyone else out there who still has a 2.4 kernel running on an old box, server or otherwise.  I'd be interested in hearing what you find most perceivable or noticeable while running either of these two kernels.

I have a 2.4.20 kernel sitting on my other partition that I boot into as a recovery.  I guess I've gotten so spoiled in 2.6, when I booted into 2.4 the other day, the first thing I noticed (visibly) performance wise:

While running XMMS, upatedb, and find at the same time, I had several noticeable pauses, including a skip or two in XMMS.  When I booted back into 2.6, I did the exact same thing and it never skipped a beat. 

Really impressive.  Really.

Honestly, I couldn't say the same for even Windows 2000 when I had it on this exact same rig a while back.  When I hit my hard drive hard, this 2.6 I/O schedulerer really shines...

Offline

#2 2005-02-12 17:39:02

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: 2.4 vs. 2.6

Yes... 2.4 was a good kernel, but 2.6 *rocks*.

Offline

#3 2005-02-12 19:44:37

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: 2.4 vs. 2.6

i think 2.4 still is great since nothing but some strange drivers in there is in testing anymore. so if you really don't want to try your luck, go with the 2.4.x series.
still, i can't say the 2.6 branch is less stable in general anymore but a few things aren't quite set yet. like all the scheduler stuff which only recently (hopefully) was made a decision on.
oh, i think 2.6 runs a *LOT* slower on machiens with only very little amounts of RAM. from what i can remember, i've had no problems running Xfree86, KDE 2.1 and Xmms playing mp3s with 2.4 (or still 2.2 even) on my Pentium 233MMX with only 32MB RAM. the 2.6 kernel makes the machine swap before X is even up nowadays... :-/


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#4 2005-05-09 16:35:55

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: 2.4 vs. 2.6

Are there any other advantages of 2.4 over 2.6 in server use, apart from 2.4 being more tested/stable/reliable and 2.6 not being suited for ancient hardware?

Offline

#5 2005-05-09 17:57:50

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: 2.4 vs. 2.6

From what I've once heard of, 2.6 kernels are more resistant to heavy workload for server usage.


Generally speaking, 2.6 has only advantages on powerful(ie not old) machines.

What you may find more difficult is the hundreds of new options in the 2.6 kernel if you compile and customize it yourself.

Offline

#6 2005-05-09 21:25:23

DarkPath
Member
Registered: 2004-11-15
Posts: 50

Re: 2.4 vs. 2.6

I like the 2.6 series, mostly because of the fantastic speed/usability increases already mentioned... but also because the 2.6 kernels actually have a module to support my NIC. wink

Really though, the I/O schedulers are what make the 2.6 kernels shine, as far as I'm concerned. The upcoming support for inotify will also make things a bit easier as monitoring files should be a breeze. smile

Offline

#7 2005-05-09 22:31:36

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: 2.4 vs. 2.6

I can see running 2.4 on an already running server, but I'd prefer 2.6 for new installs.


oz

Offline

#8 2005-05-10 03:06:04

Stinky
Member
From: The Colony, TX
Registered: 2004-05-28
Posts: 187

Re: 2.4 vs. 2.6

I agree that 2.6 seems quite a bit faster than 2.4.  I actually run both.  2.6 in Arch on my main desktop.  2.4 in Slackware on my server/router/firewall.  The MAIN reason I keep 2.4 on it is because I'm really familiar with the config options and can roll a highly customized kernel with only the options I need.  I have't become that familiar with all the new 2.6 options, but am working on it.  I'll upgrade it eventually.

Offline

#9 2005-05-10 08:10:24

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: 2.4 vs. 2.6

2.6 is indeed faster than 2.4 for desktop usage, but from what I understand, 2.4 is perferred for "if it fails, kill the admin" situations because the 2.6 series changes too fast in all kinds of ways for production use.

I'm a huge fan of 2.6 though, and I've been using it since 2.5.9, no complaints, except a few issues with CD burning in the early versions, but those have been cleared up with upgrades to cdrecord.


·¬»· i am shadowhand, powered by webfaction

Offline

#10 2005-05-10 09:16:45

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: 2.4 vs. 2.6

I couldnt even run 2.4 on this computer, reiser4 doesnt go on it.

2.6 for me is a big step forward, with a new improved graphics driver, udev, wireless driver - ipw2100, and reiser4.
all of which dont run in 2.4.

skoal: if you think the difference between 2.4 and 2.6 was big in regards to your xmms not skipping etc, you should try the CK kernel. Con Kolivas' staircase scheduler is an awesome piece of work, and I see a notable increase in responsiveness and interactivity whille running it.

Offline

#11 2005-05-10 09:39:32

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: 2.4 vs. 2.6

So, there's actually a noticable difference between O(1) and staircase?

Lemme check it ;-)

Offline

#12 2005-05-10 10:04:58

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: 2.4 vs. 2.6

Hmm, maybe I'll try CK. How stable is it?

Offline

#13 2005-05-10 11:23:12

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: 2.4 vs. 2.6

Gullible Jones wrote:

Hmm, maybe I'll try CK. How stable is it?

From my rather limited experience, pretty stable, and offering some very nice goodies over vanilla. In fact, it's the only patched kernel that I find useful.


Microshaft delenda est

Offline

#14 2005-05-10 11:44:19

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: 2.4 vs. 2.6

Gullible Jones wrote:

Hmm, maybe I'll try CK. How stable is it?

It's a helluva lot more stable and bugfree than -mm....

it's aim is:

These are patches designed to improve system responsiveness with specific emphasis on the desktop, but suitable to any workload.

so it's generally, very stable. I am on the mailing list, and as of late, there's been no major problems or anything with it. hasnt been for a while too!

if you want CK with a bit more, try:
http://kem.p.lodz.pl/~peter/cko/
which has some extra patches like reiser4 and fbsplash. or just do what i do and reverse the fbsplash patch and apply bootsplash.

iphitus

Offline

Board footer

Powered by FluxBB