2009/09/10 Linux Kernel Podcast
Audio: http://media.libsyn.com/media/jcm/linux_kernel_podcast_20090910.mp3
For Thursday, September 10th, 2009, I’m Jon Masters with a summary of today’s LKML traffic.
In today’s issue: BFS, Checkpoint and restart, MMAP and Performance Counters.
BFS. Jens Axboe posted a link to his new “latt” tool that he has been using to perform some scheduling latency benchmarks and comparisons between BFS and the mainline scheduler, since it was of interest to a number of folks. He has since converted the link to a file explaining where to find the new git tree containing the source, which is not on the standard kernel.org website. On the subject of BFS, Ingo Molnar posted another round of scheduler comparison benchmarks entitled bfs-vs-tip-oltp-v2 in which he thanked Con Kolivas for providing incentive to examine scheduler latencies once again, but noted that Con’s alternative BFS “isn’t particularly strong in this graph” either.
Apologies to those who disliked my previous BFS commentary. No source of information is completely unbiased and I do feel it completely appropriate to discuss any potential performance issues without restraint, however I do not want to offend anyone too much in the process.
Checkpoint and restart. Sukadev Bhattiprolu posted an RFC patch series with an updated version of his new clone_with_pids system call. This is used in the latest incarnation of checkpoint and restart patches to re-created tasks within a given namespace using the same process IDs as were in use prior to taking a checkpoint. Obviously, such support is a precursor to tasks being restarted without explicitly supporting a change in process descriptor ID.
MMAP. Brian McGrew posted asking a question about creating large shared page mappings and the overhead incurred in doing so. He is replacing previous use of physical mapped memory (this is presumably involving an embedded device) with a form of software emulation in which many tasks will share the same direct physical pages via mmap. He finds that creating 4MB, 16MB, 64MB or even 256MB mappings is fine, but allocating 1GB introduces huge overhead. It is very likely (in my opinion) that he is on a 32-bit system and isn’t locking every page using an mlock, and a few other things. But perhaps this is some other issue that is worth looking into.
Performance counters. Masami Hiramatsu posted some updates to the kprobes based event tracer which will allow users to add trace events dynamically on ftrace and use those events with the new performance counters “perf” tools. This patch series continues the trend toward turning perf into a swiss army knife of Linux kernel interaction – and who knows where it might end. We had another such example also from Frederic Weisbecker, who posted an RFC patch series implementing hardware breakpoints on top of performance counters.
In today’s miscellaneous items: some tracing and ring buffer updates for 2.6.32 from Steven Rostedt, some trace filters updates from Tom Zanussi, an Android build fix from Kosaki Motohiro, some gconfig build updates disabling “typeahead find” search in treeview from Diego Eli Petteno, an update on GFS2 from Steven Whitehouse (in which he essentially says the tree will be as it is now unless last minute bugs are reported), some crypto updates for 2.6.32 from Herbert Xu (including a completed hash algorithm transition over to shash), some internal PCI hotplug interface cleanups from Alex Chiang, some cpuset and hotplug fixes from Oleg Nesterov, and some /dev/mem (and also /dev/kmem) cleanups from Fengguang Wu.
Finally today, Andreas Mohr posted some weird Xorg tty experiences from 2.6.31-rc6, which is likely so ancient at this point that it has long since been fixed in the recent tty layer work.
The latest kernel release is 2.6.31.
Andrew Morton released an mm-of-the-moment for 2009-09-09-22-56.
David Tees posted a question concerning an ext4 error he was seeing in his logs from ext4_mb_generate_buddy. He wondered if anyone had suggestions concerning how serious this actually is, and what to do other than his anticipated reboot and fsck cycle.
Zhenyu Wang sent a very detailed followup addressing why some folks might have experienced strange “blanking” problems on MacBook 2,1 systems running 2.6.31-rc7. This was due to an issue with the Intel 945GM chipset and the way that the MacBook integrated TV DAC routed signals. His description was quite elaborate, and he apologized for the delay in providing this helpful detail.
Greg Kroah-Hartman posted some stable review patches for the forthcoming 2.6.27.34 and 2.6.30.7 stable series kernels. The deadline for posting replies has already lapsed at this point, however. One wonders if the review window could be slightly larger anyway.
Stephen Rothwell posted a linux-next tree for September 10th. Since Wednesday, the acpi and security-testing trees lost issues, while the rr, block, and scsi-post-merge trees had some issues. The total sub-tree count remains steady at 140 trees in this compose.
Stephen reminds everyone (in a thread entitled “linux-next: merge window reminder”, and in today’s linux-next announcement) not to add code intended to hit 2.6.33 until 2.6.32-rc1 has been released, so that folks adding bits for post-rc1 have a chance.
That’s a summary of today’s Linux Kernel Mailing List traffic, for further information visit www.kernel.org. I’m Jon Masters.

