Linux Kernel 2.6.21 Released 296
diegocgteleline.es writes "Linus Torvalds has released Linux 2.6.21 after months of development. This release improves the virtualization with VMI, a paravirtualization interface that will be used by Vmware. KVM does get initial paravirtualization support along with live migration and host suspend/resume support. 2.6.21 also gets a tickless idle loop mechanism called 'Dynticks', built in top of 'clockevents', another feature that unifies the timer handling and brings true high-resolution timers. Other features are: bigger kernel parameter-line, support for the PA SEMI PWRficient CPU and for the Cell-based 'celleb' Toshiba architecture, NFS IPv6 support, IPv4 IPv6 IPSEC tunneling, UFS2 write, kprobes for PPC32, kexec and oprofile for ARM, public key encryption for ecryptfs, Fcrypt and Camilla cipher algorithms, NAT port randomization, audit lockdown mode, some new drivers and many other small improvements."
Meh (Score:3, Informative)
The list of changes can be found... (Score:5, Informative)
Re:Does it still crash after 49.7 days?? (Score:5, Informative)
Re:Published? (Score:4, Informative)
(I also planned to add the number of months of development (almost 3, 80 days), but I forgot it)
Re:Bloat? (Score:3, Informative)
Actually, they use kernels with everything compiled as modules, and a separate initrd/initramfs to deal with loading the drivers required at boot time.
Re:KVM management? (Score:3, Informative)
Re:Meh (Score:4, Informative)
IIRC after 2.6.17 the SATA stuff changed quite a bit (it changed from the old SCSI based stuff, to libata), and requires turning the new options on.
RegardselFarto
Re:Tickless only for x86 now, still good news (Score:5, Informative)
Most kernels use a periodic system timer tick to do various housekeeping chores, like rescheduling tasks, sending packets, flushing files from the cache, etc. Usually this occurs at some periodic rate, i.e. every 1-10ms for Linux and every 10-15ms for Windows (according to this article [microsoft.com].
This is a bit wasteful of CPU resources, since the kernel might not need to do anything for quite a while, or it might want a high resolution timer with higher accuracy than normal system timer. For example, when the system is idle, the CPU still must wake up and process a timer interrupt for every timer tick, and if it's set to 1ms there are 1000 interrupts per second.
A tickless kernel instead only schedules the next tick for when it is needed, so if the system is idle and nothing needs to happen for 50ms, then the next tick will be scheduled 50ms later. On the other hand, if a timer needs to go off in 750 microseconds, the kernel can schedule the next interrupt to go off then, giving much higher accuracy.
Re:Bloat? (Score:3, Informative)
Re:PWRficient support? (Score:4, Informative)
Since each SoC is totally different, except maybe for the CPU core, porting Linux (or any OS) to it is a little more difficult than just compiling it and loading it. Check out the arch/ppc or arch/arm directories for examples of all the different chips supported. While the work certainly isn't comparable to, say, porting Linux to an entirely different CPU architecture, it does require several new files with custom code to support things like the way interrupts are assigned to the specific functions on the SoC.
Worse, sometimes new drivers need to be written for certain on-chip peripherals, because some bonehead empire-building managers at the chipmaker wanted to justify a higher budget for their department by, instead of just re-using an existing USB controller or Ethernet controller design and plopping that onto the chip, putting together a whole team and spending months creating a new controller because it might improve performance by a whopping 5%. My last company, which made a lot of ARM-based chips, was especially guilty of this.
Re:Tickless only for x86 now, still good news (Score:3, Informative)
Re:Mactel MBP C2D (Score:3, Informative)
The MacBook was $1300 and features DVD RW, firewire, USB, bluetooth, wifi, a video camera, audio (record and play), a 3d graphics card and a 150 minute battery (for the way I use it). The coolest features are the little things that Apple did right: the magnetic power cord, the simple, sturdy case, the pulsing standby indicator, etc. I install the GNU bits that I need, but most of it is already there. The biggy was MacFuse so I can sshfs back to the office. My most used apps are Mail.app, Skype, ssh, Eclipse, Firefox and OpenOffice. A also use Parallels and an old w2k license to run clients VPN software and remote desktop.
It is a great piece of hardware, but the software really hasn't come that far in the last 10 years. If you have used a NeXT, then you have used OSX.
Joe
Linux hibernate support (Score:3, Informative)
Re:Does it still crash after 49.7 days?? (Score:2, Informative)
Re:Changes that affect normal users? (Score:2, Informative)
A tickless kernel gives the scheduler much finer control, and down the line will probably improve performance.
http://lwn.net/Articles/223185 [lwn.net]
Re:Does it still crash after 49.7 days?? (Score:3, Informative)