Slashdot Mirror


Linux Kernel 2.6.32 Released

diegocg writes "Linus Torvalds has officially released the version 2.6.32 of the Linux kernel. New features include virtualization memory de-duplication, a rewrite of the writeback code faster and more scalable, many important Btrfs improvements and speedups, ATI R600/R700 3D and KMS support and other graphic improvements, a CFQ low latency mode, tracing improvements including a 'perf timechart' tool that tries to be a better bootchart, soft limits in the memory controller, support for the S+Core architecture, support for Intel Moorestown and its new firmware interface, run-time power management support, and many other improvements and new drivers. See the full changelog for more details."

7 of 195 comments (clear)

  1. Llacking in terminology. by c0l0 · · Score: 3, Informative

    I'm not perfectly happy with the term "virtualization memory de-duplication". Linux 2.6.32 introduces what is called "KSM", an acronym that is not to be confused with "KMS (Kernel Mode Setting)" and expands to "Kernel Samepage Merging" (though other possibilities with similar meaning have already emerged). It does not target virtualization or hypervisors in general (and QEMU/KVM in particular) alone. KSM can help save memory for all workloads where many processes share a great lot of data in memory, as with KSM, you can just mark a region of memory as (potentially) shared between processes, and have redundant parts of that region collapse into a single one. KSM automagically branches out a distinct, exclusively modified copy if one of the processes sharing those pages decides to modify a certain part of the data on its own. From what I've seen until now, all that's needed to have an app benefit from KSM is a call to madvise(2) with some special magic, and you're good to go.

    I really like how Linux is evolving in the 2.6 line. Now if LVM snapshot merging really makes it into 2.6.33, I'll be an even more happy gnu-penguin a few months down the road!

    --
    :%s/Open Source/Free Software/g

    YTARY!
  2. Big speedups for media workstations.. by delire · · Score: 4, Informative
    This 'Per-backing-device writeback' is pretty significant. I'm sure the feature film and database industries will love it especially:

    The new system has much better performance in several workloads: A benchmark with two processes doing streaming writes to a 32 GB file to 5 SATA drives pushed into a LVM stripe set, XFS was 40% faster, and Btrfs 26% faster. A sample ffsb workload that does random writes to files was found to be about 8% faster on a simple SATA drive during the benchmark phase. File layout is much smoother on the vmstat stats. A SSD based writeback test on XFS performs over 20% better as well, with the throughput being very stable around 1GB/sec, where pdflush only manages 750MB/sec and fluctuates wildly while doing so. Random buffered writes to many files behave a lot better as well, as does random mmap'ed writes. A streaming vs random writer benchmark went from a few MB/s to ~120 MB/s. In short, performance improves in many important workloads.

  3. Re:does KSM mean the death of Xen? by 1s44c · · Score: 4, Informative

    If KSM puts the KVM module on par with Xen in terms of performance then I think the writing is on the wall for Xen's demise.

    No. Not at all. KSM saves memory but hurts performance. It shares memory across virtual machines to save memory.

    Xen can't share memory across virtual machines, it's just not put together like that.

    Performance is about identical for KVM and XEN.

  4. KMS by shentino · · Score: 3, Informative

    Kernel Mode Switching is great except for the fact that all 3 major video card vendors decided to nix VGA console support.

  5. Re:ATI support by Anonymous Coward · · Score: 5, Informative

    The 2D specs were released in September 2007. The 3D specs were released in January 2009. Drivers do not write themselves immediately just because the specs are out, it still takes some time. But it's getting there, and they won't go away like the closed drivers will, the moment the manufacturer feels it's no longer profitable to maintain them.

  6. Re:does KSM mean the death of Xen? by Bert64 · · Score: 3, Informative

    Instead of storing multiple copies of the same data in memory, it stores a single read-only copy and points the others to it. If you try to write to it, it traps, creates a new read/write instance which is exclusive to you and then points you at it...

    Shared libraries work in much the same way. Shared libraries been implemented pretty securely for many years now.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  7. Re:People work on the "easy" problems by bcmm · · Score: 3, Informative

    You're missing the bit where Flash is closed-source and the people that want it to work properly can't make it happen, whereas the people who can make it work don't want it to happen.

    --
    # cat /dev/mem | strings | grep -i llama
    Damn, my RAM is full of llamas.