Linus Says Pre-2.6 is Coming
gomoX writes "As seen on C|Net , Linus has announced that the pre-2.6 series will be starting in early July. Despite not having been able to meet the release goal for 2.6 in June 2003, the next stable version is not as far away as you may think. You can take your guess based on the fact there was a 9 month period between first test version of 2.4 and the official release of 2.4.0 on January 2001."
In fact, 2.5 isn't that bad right now... certainly, it would be crazy to use it on a production system unless you really know what you're doing[1], but it's quite usable, and the scheduling has really improved.
;)
[1] in which case you probably wouldn't use it on said production system...
Even the regular Gentoo kernel has a lot of extra patches in it, including the O(1) Scheduler, and Low-latency scheduling; works great for me.
pb Reply or e-mail; don't vaguely moderate.
Being a LKML lurker, here are a few of the new features.
t y/patches/Module/
0 .3/0793.html
1 .3/1267.html
4 .1/0832.html
3 610918825614&w=2
3 553654329827&w=2
3 498293902006&w=2
In-kernel Module Loader and Unified parameter support: http://www.kernel.org/pub/linux/kernel/people/rus
Nanosecond Time Patch: http://www.ussg.iu.edu/hypermail/linux/kernel/021
Fbdev Rewrite: http://www.uwsg.iu.edu/hypermail/linux/kernel/011
Linux Trace Trollkit (LTT): http://www.uwsg.iu.edu/hypermail/linux/kernel/020
statfs64: http://marc.theaimsgroup.com/?l=linux-kernel&m=10
POSIX Timer API: http://marc.theaimsgroup.com/?l=linux-kernel&m=10
Shared Pagetable support: http://marc.theaimsgroup.com/?l=linux-kernel&m=10
Hotplug CPU Removal Support and Kernel Probes
Bethanie: Whore...
Fan Whore
I am using a rock solid 2.5.70 since its released and its performs just great! And having Morton and Torvalds at OSDL is a good thing (tm) :)
--
One by one the penguins steal my sanity...
KernelTrap is running a story on an interview Alan Cox gave at LinuxUser & Developer Expo 2003 in Birmingham, U.K. A summary of Alan's talk is also available.
not to be nitpicky or anything, but technically, shouldn't future versions of linux be referred to as GNU/SCO?
I know it's a typo, but that would make slashdot much more interesting, wouldn't it?
Overrated / Underrated : Moderation
more lines of code from SCO
-- Darl McBride
My question is this:
There was some hesitancy, upon the official release of kernel 2.4, based upon some bugs etc...
I'm wondering, does the kernel - generally speaking - get more and more stable. For example, will the first release of 2.6 be more stable than the first release of 2.4. I realise that there are new additions to the kernel, and with that new problems will probably emerge. However, comparatively speaking, does it make sense that the kernel's evolution will lean towards stability with each release in the cycle, or will it generally be unnoticable?
Just curious.
This wasn't just plain terrible, this was fancy terrible. This was terrible with raisins in it. - Dorothy Parker
I think for me most important the ALSA sound system is finally part of the linus kernel. Meaning you do not need to patch the kernel anymore to get recent sound support.
--
Karma 50, and all I got was this lousy T-Shirt.
Also, modules names have (I think) changed, so a change in the init scripts would probably be useful. It depends on your distro though - I'd say distros like Slackware and Debian will have guides or automated tools for migration. Commercial distributions will probably have to release a new version (RedHat 10 ? Gods).
Although maybe I'm wrong, I never managed to get a working 2.5.x kernel on my Debian box =)
The Windows kernel hasn't changed significantly since the NT4 -> Win2K change. The biggest improvement in the XP kernel was pre-faulting the pages of large processes. Meanwhile, in 2.6, the block I/O layer, VM layer, scheduler, and sound system are brand new. And the whole kernel was made preemptible! Shortly after 2.6, ReiserFS 4 (which looks very promising from initial benchmarks) will be released. In all, 2.4 -> 2.6 will be like NT4 -> XP!
PS> Before anyone bitches about rewrites being a bad thing, look at things this way. Such extensive changes are necessary for the continually growing range of systems Linux is expected to run on. 2.0 and 2.2 were greatfor single CPU servers, or SMP machines with only a few processors. 2.4 is very usable for heavy-duty machines with many more processors. 2.6 (along with the changes that help interactivity) will make an excellent kernel for desktop machines and workstations. In 2.8, the focus will be on optimizing the core algorithms to run on large-scale NUMA machines.
A deep unwavering belief is a sure sign you're missing something...
It'll be nice when it finally comes out, because I'll be able to point people doing audio work to Linux. Right now I have to say "well, Linux is better than Windows for this, but only if you apply the low-latency, pre-emptible kernel, and variable HZ (with HZ set to 1000) patches," which is a bit more involved than most people who are just doing audio work want to deal with. Once 2.6.x comes out I can just point them to the stock kernel.
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
Also, the old OSS modules are still in the kernel. I haven't tried them in 2.5, and they are marked with a big DEPRECATED, but they're still there.
Note, of course, as I've said elsewhere, you do need the new module-init-tools; I'd imagine that would be the most likey reason you'd have trouble getting a 2.5 kernel working, followed closely by an out of date/broken driver.
Here's a nice overview by Guillaume Boissiere:
x t
http://www.kernelnewbies.org/status/latest.html
And a document by Dave Jones:
http://www.codemonkey.org.uk/post-halloween-2.5.t
Well, the nanosecond patch is critical for make on fast computers, since it uses filesystem timestamps. If you're running gentoo on a brand new desktop it might be a good idea.
The fbdev patch reduces the size of the framebuffer, so if you like framebuffered consoles, it will reduce your kernel size.
If you have multiple processors, the Shared page table patch will help reduce page table sizes, and thereby improve performance, marginally. More RAM = more file cache / less disk paging; shared data -> higher cache coherency = faster kernel performance in memory mapping.
Additionally there seems to have been some mucking around with tweaking the adaptive scheduler so X gets more time when it needs it. The performance metrics have been kind of squishy, but the general consensus is that X and related 'interactive' processes are more responsive.
I Browse at +4 Flamebait
Open Source Sysadmin
There's a lot of complaining about code-freezes for the kernel not being code-freezes. People gripe about major changes being introduced in the last days of the development version.
I think the problem is the standard explanation of 'even kernels are production, odd kernels are development.' Whether he says so or not, it's clear that branching to an even version does not mean that it's a production kernel...branching to an even version begins the code freeze. Up until they call it 2.6, there's going to be large changes to the codebase. Once Linus calls it 2.6, everyone knows they can't put in major changes, but basic bug-fixes only. Therefore, it's never until a few months (or a year) after the even series starts that it's really a production kernel.
Software development managers would hate this...lots of kernel developers hate this...but love him or leave him, that's how Linus works.
I'm sure I'm not the only one who's wondering if Reiser 4 will go into the stock 2.6! So: does anyone know?
Tell us more grandpa! Tell us about the time you wrestled and maintained 8 AIX servers single-handedly from your homebuilt Linux box! Or about the time Linus got lost and asked you for directions and you went on a whirlwind big-city adventure!
"The government of the United States is not, in any sense, founded on the Christian religion."
t my mouse speed in gnome was sped up by about 10x over 2.4
great news! 900% speedup from Linux kernel 2.4 to 2.5.75
"What about that? Will we be finaly able to switch kernels without a reboot?"
I did that back in the 2.2 days with monte. Later with 2.4 kernels I did a few changes, added a feature I was missing, fixed a bug and such stuff. In case you want to see it. But it was never completely stable and lacked SMP support.
kexec might be a better alternative. AFAIK it is being maintained and might even have made it into the 2.5 kernel.
It was only a couple of years ago that knowledgeable people were calling this idea ridiculous, and giving good reasons, however progress has marched on, and we're actually coming within sight of it. The basic challenges are much the same as for hotplug cpus, hotplug memory, process migration in a cluster, and yes, kexec, all of which are being worked on or already working. So I'll go out on a limb and predict that hot-kernel swapping will be demonstrated during the 2.7 timeframe. It won't be perfect, but such things never are in the first cut.
The thing that makes hot kernel swapping practical is the stable api between userland and the kernel. Big changes there are few and far between, and they can be special-cased.
Have you got your LWN subscription yet?
I recommend "Ask slashdot (http://ask.slashdot.org)", which is sort of a newbie forum for stupid questions that can be solved with google. So, like, post all your issues, such as:
"How do I mod my xbox"
"Should I overclock my CPU"
"How do I make everything more faster"
and,
"This question is just begging to have all replies start with IANAL"
Join the club!
Tired of legitimate data sources? Try UNCYCLOPEDIA
I've been hearing though other channels that the IDE layer rewrite improves the IDE subsystem to the point where SCSI emulation won't be needed to drive an IDE CD burner. Can anyone confirm or deny this? If so, this will probably become my main reason to switch to 2.6 (although there are quite a few secondary ones too). Thanks linux team (and IDE rewrite folks)!
"Can't you see that everyone is buying station wagons?"
You are correct in assuming you don't need ide-scsi to emulate a SCSI host for burning cdroms in 2.6, but it has nothing at all to do with the IDE rewrite.
2.6 has support for queueing "generic scsi" commands through the block layer, using the same mechanism and transport as the regular read/write file system requests. So we can overload the sg (scsi generic) SG_IO and provide the same functionality for non-scsi attached devices (such as atapi burners). With a recent cdrecord, you can give the device with -dev=/dev/hdc for instance.
Additionally, cd burning is now zero copy. The user space data buffer is mapped directly into the kernel for the dma operations. DMA is supported on a 4-byte boundary, where 2.4 and previous has required sector alignment (512 bytes) for any atapi dma operations.