Linux Kernel 2.6.24 Released 108
LinuxFan writes "Linus Torvalds has released the 2.6.24 Linux Kernel, noting that he and most of the other key Linux developers will be flying to a conference in Australia for the next week. As the whole team will be down under while the kernel is being tested by the masses, Linus added, "Let's hope it's a good one". What's new in the latest release includes an optimized CFQ scheduler, numerous new wireless drivers, tickless kernel support for the x86-64 and PPC architectures, and much more. Time to download and start compiling."
Wow. Lots of stuff. (Score:5, Interesting)
Yeah tick less is fine stuff (Score:5, Informative)
more power save links (Score:3, Informative)
Re: (Score:2, Funny)
Re: (Score:1)
Catching up to Windows on power (Score:3, Interesting)
B
Re: (Score:3, Insightful)
The you write the system so that it uses more memory than you have and so swaps to disk constantly so that it uses huge amounts of power when working and only saves any power when the whole system goes to sleep
Re: (Score:2)
For example, one of the few
Re: (Score:1, Insightful)
In all other respects, Linux is way ahead on power con
Re: (Score:2)
Re:Catching up to Windows on power (Score:5, Interesting)
It is sad reality the people keep mixing up technology and products.
Linux (as kernel and piece of technology) is far ahead of most OSs in power management and especially in power saving.
But. Take fresh Windows XP installation - it would give you decent up-time from single battery charge. Take Mac OS X - it would give you excellent up-time from single battery charge. Now take Linux's distro with X.Org/GNOME/KDE/etc - and it would eat any battery in under two hours.
It is possible to optimize Linux to be extremely power efficient, yet lion share of applications written for PCs simply fail on portables.
From recent example. I'm reading lots of PDF ebooks - under Mac OS. Trick is to scroll document to the end and then go back to place were you stopped: Mac OS would cache the file and hard drive will not wake up for the whole time you read thru the PDF. Linux? - Ubuntu/Kubuntu/SUSE/YellowDog were tried - hard drive is always spinning. Always. Non-stop. I stopped even trying to investigate what keeps it spinning - just went back to Mac OS. Because battery lasts under Linux for about 2 hours - while Mac OS on the aging iBook easily does 6 hours. But honestly, even if battery charge set aside, the noise produced by constantly spinning hard drive me slowly crazy.
Conclusion: excellent power management of kernel != end-user application are designed with power efficiency in mind.
P.S. Most common offenders are X.Org with its ~/.xsession-errors (as if end-users cared about all the cruft in there - developers simply do not look there at all) and syslogd which periodically (by default every 20 minutes) write marker into logs.
Re: (Score:2)
>and especially in power saving.
I doubt this is true. Do you know for a fact, for instance, that none of the other two major operating systems don't already have dynamic ticks? How many people on slashdot are familiar with the windows kernel? You don't have to work at microsoft to get these architectural details (windows architecture is detailed in a number of books, and university students often have access to wind
Re: (Score:3, Interesting)
Re: (Score:1)
The real worst offender would have to be Konqueror though, which calls sync() Every. Time. It. Uses. The. Cache.
For example, opening a html file in it containing just the line "<meta http-equiv="Refresh" content="0">" will keep your hard disk light perpetually lit.
Anti-Fragmentation? (Score:5, Insightful)
I commonly see on my desktop, after several days uptime, that quite a lot of memory is being used (and I know how to ignore cache/buffers, as well as swapcache - that isn't the issue). Logging out and logging back in returns memory to reasonable levels (and the system becomes more responsive, but then I guess if I bought more memory I could accomplish that as well). Now, I've generally read that the problem was indeed memory fragmentation, e.g. here [gnome.org], but this would be internal fragmentation inside an app, and thus not relevant to the kernel, I believe? If someone can explain this issue I'd be grateful.
Re: (Score:1)
Re:Anti-Fragmentation? (Score:4, Informative)
AAFBBFABCFCDBACDDBAF (not contiguous)
And now more like this:
AABBBAFFFCCCCDDFFFFF (free memory is in large contiguous chunks)
This is not something that userspace programs will notice directly, but it does affect performance of the machine. Keeping free space and other areas contiguous allows for better caching performance and faster access.
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
As far as malloc goes, I don't believe fragmentation really slows it down, it has algorithims for immediately identifying a block of sufficient size, and does not do a search. It ma
Re: (Score:1)
Just like the hard drive is orders-of-magnitude slower than RAM, RAM is orders-of-mag
Re: Anti-Fragmentation? (Score:3, Informative)
x86 CPUs (and probably amd64 as well) allow the kernel to choose between two page sizes: The usual 4 kB ones and a much larger size (I think it's 1 MB or so). The performance issue is that if the kernel can keep the physical RAM pages that back a large contiguous virtual mapping contiguous in physical RAM, it can use one of the jumbo pages instead of potentially hundreds of 4 kB pages. Doing
Merge Window? (Score:2, Interesting)
Now THERE's confidence for you. Great news.
Re: (Score:2, Insightful)
Re:Merge Window? (Score:5, Funny)
if(passenger_list.contains(entire_linux_kernel_team){
flyinto(mount_everest);
output_evil_voice("muhahahhaa");
}
On the other hand, there is nothing to worry about. This feature probably was shelved and is definitely going to be in the *next* version of the OS.
Re: (Score:1)
Re:Merge Window? (Score:4, Funny)
Re:Merge Window? (Score:4, Funny)
Re:Merge Window? (Score:4, Funny)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3)
Re: (Score:1)
Re: (Score:1)
Re: (Score:1, Funny)
& now back to our regularly scheduled programm (Score:1)
carbon bootprint (Score:1)
Still no orinoco monitor mode (Score:2, Interesting)
Re: (Score:2)
Good point. Would anybody more enlightened than I explain why the good orinoco drivers arent accepted in the kernel?
Evidently asking questions like this is flamebait... but why is this so WRT the kernel?
Re: (Score:2)
Re: (Score:2)
Look at their release dates and patch revisions... none current. Kernel guys like seeing constant and timely patches. Community members who slack off are considered bad and all..
But I guess the wireless guys dont like these addons... Good for them, bad for us.
Re: (Score:2)
What I would like to know, personally, is why the aircrack-ng patches for injection (http://patches.aircrack-ng.org/) are still out-of-tree.
As far as I know the new mac80211 wireless framework supports injection for any driver that uses it. You need to be running a beta version of aircrack-ng to take advantage of it though.
tickless kernel support? (Score:2)
Re:tickless kernel support? (Score:5, Informative)
Re: (Score:2)
Re: (Score:3, Interesting)
I think CONFIG_HRTIMERS is already an option (may not default to on though). If it isn't, go find the RT_PREEMPT patchset. That includes (or if HRTIMERS is in the kernel, included) HRTIMERS, it's also where the NO_HZ option came from.
Re: (Score:3, Funny)
Re: (Score:3, Insightful)
Re: (Score:1)
Yay! (Score:2)
(rt61 Wireless)
Bang up job (Score:1)
I am really grateful for this release (Score:5, Funny)
Re: (Score:1)
You just made my morning!
Let us also digress into a micro-kernel vs monolith-kernel discussion.
Re:I am really grateful for this release (Score:5, Interesting)
Re: (Score:2)
Re: (Score:2)
The timing really meant that a lot of people thought they would not be welcome adding to the hurd by the time they got fast net access while linux was still new and welcoming.
Re: (Score:3, Interesting)
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
Re: (Score:3, Funny)
No they aren't!
wireless drivers (Score:2)
Re: (Score:2, Informative)
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/net/wireless;h=45adf0a95539e8a0ca5fddbb720319a9b7b39978;hb=HEAD [kernel.org]
If you want a suggestion on what to buy, support for Intel chipsets is very good. I have a 4965 device supported by iwlwifi and it works like a charm.
Re: (Score:2)
If you want a suggestion on what to buy, support for Intel chipsets is very good.
Unfortunately, unless you're an electronics engineer, purchasing a chipset doesn't do you very much good unless it's already on a card, and card manufacturers don't advertise which chipset is on a specific card (in fact, chipsets in many of the cheap cards get changed with other ones from batch to batch - I guess the cardboard boxes are more expensive to change than the electronics on the card.)
I'd love to get a wireless card with an intel chipset, but try finding a card that says they use them.
Re: (Score:1)
Re: (Score:2)
tuxonice? (Score:1)
LK
Tickless kernel now supports high res timers (Score:1, Informative)
Next "stable" release? (Score:1, Flamebait)
Re: (Score:2)
Re: (Score:2)
I haven't tried it on 2.6.>20 and I don't plan to until someone does like was done with 2.6.16 and declares a stable version that will continue to receive bug fixes but not destabilizing new features.
I understand that there are some folks who find it immensely entertaini
Re: (Score:3, Informative)
Re: (Score:2)
Re: (Score:2)
Text-only Google cache of kernelnewbies.org site (Score:1)
eCryptfs persistent files (Score:4, Informative)
There is another patch to provide HMAC integrity enforcement [sourceforge.net], and the kernel GIT tree for eCryptfs has a branch indicating that filename encryption is being worked on.
Re: (Score:2)
(Unless you use vesafb or some similar video driver.)
Re: (Score:3, Informative)
http://www.linux-foundation.org/en/Linux_Weather_Forecast/hardware#The_TTM_memory_manager [linux-foundation.org]
http://www.x.org/wiki/ttm [x.org]
http://wiki.x.org/wiki/DRI2 [x.org]
Re: (Score:2)
There is a package called kernel-package that makes thing a little easier and produces a
http://myrddin.org/howto/debian-kernel-recompiling/ [myrddin.org]
http://www.debian.org/releases/stable/i386/ch08s06.html.en [debian.org]
or http://www.google.com/search?hl=en&safe=off&q=kernel+debian+way [google.com]
working great here... (Score:3, Informative)