Linux Kernel News - December 2013
Mainline Release (Linus's tree) News
The last 3.13 release candidate for 2013 came out on December 29th. This 3.13-rc6 is small with just 81 commits to infiniband, gpu, cpufreq, libata, and block drivers in addition to a few small filesystem fixes, and ARM SoC related changes. Please read the 3.13-rc6 release announcement.
Right before Christmas on December 22nd, 3.13-rc5 came out. Changes in this rc include drivers, architecture, filesystems, scheduler, and mm (numa) fixes. One important news in this release announcement is about the 3.14 merge window will start after Linus Torvalds gets back from attending the Linux Conference in Australia. Please find the full text for the 3.13-rc5 release announcement.
3.13-rc4 came out on December 15th and it includes networking and gpu driver changes in addition to usb, input, and media. Please find the 3.13-rc4 release announcement.
3.13-rc3 was released on December 6th. This release candidate includes changes to drivers, net, scsi, sound, crypto being the notable ones, and ARM DT. Please read the 3.13-rc3 release announcement.
Stable release News
As of this writing the latest stable releases are as follows:
|Stable 3.12||3.12.6||Not announced|
|Stable 3.11||3.11.10||EOL November 29 2013|
|Longterm 3.10||3.10.25||September 2015|
|Longterm 3.4||3.4.75||October 2014|
|Longterm 3.0||3.0.101||EOL October 22 2013|
|Extended stable 3.11.y.z||184.108.40.206||Extended Stable|
|Extended stable 3.8.y.z||220.127.116.11||Extended Stable|
|Extended stable 3.5.y.z||18.104.22.168||Extended Stable|
If you ever wondered how these stable releases are managed and how often a new release comes out, here is more detail: Active kernel releases
Linux RT stable releases_ are numerous. Please checkout linux-stable-rt.git for their latest versions.
Where can you find all git trees for Linux releases?
|Stable releases (all)||git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git|
|Linux RT releases||git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git|
|Extended stable releases||git://kernel.ubuntu.com/ubuntu/linux.git|
|Bleeding edge linux-next||git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git|
There are a few things already in the pipeline for the 3.14 merge window. bcache fixes and enhancements, and Arasan's SDHCI driver are the ones that caught my attention.
Energy-aware scheduling use-cases and scheduler issuesMorten Rasmussen (ARM) sent out detailed description of use-cases, issues, and system topologies as a follow-up to the request from the scheduler maintainers at the Energy-aware Scheduling workshop at the 2013 Kernel Summit. These use-cases provide background for the need to improve energy awareness in the scheduler. This thread also includes list of problems that prevent the current scheduler from delivering good energy/performance balance in common use-cases. This balance is very important in conserving battery power and at the same time be responsive when user actions demand peak performance. These use-cases are Android focused to start with, however as the discussion continues, use-cases covering other areas of interest would hopefully emerge.
A scheduler that is unaware of power topology, frequency scaling, and heterogeneous cores would make sub-optimal task migration decisions that could result in bad performance as well as poor energy savings. Scheduling audio tasks on 3-cpus could consume more energy without measurable performance gains. It is possible to meet the audio performance needs on a single cpu instead and leave the other 2-cpus idle, provided the cpus can be power-gated individually. On the other hand, playing video using single cpu would require the cpu to be run at higher frequency which will consume more power than spreading the video tasks on multiple cpus running at lower frequencies. For a scheduler to make these decisions, it needs to understand the energy topology as well as task behavior.
In some cases, scheduling tasks on a cpu that is active is better for energy savings compared to the cost of bringing an idle cpu to a fully active state. If scheduler is made aware of cpu idle states, then it can assess how deep an idle state a cpu is in and estimate the cost of bringing that cpu to active state. Scheduling low intensity work-loads on faster cpus on heterogeneous systems could lead to higher energy costs. Heterogeneous systems in this context are the systems with different kinds of cpus i.e, a mix of A15s and A7s for example. If scheduler has this information, then it can make intelligent scheduling decisions that could lead to good energy/performance balance.
In general, it is energy efficient to avoid higher cpu frequencies and only run them when a work-load could benefit from running them at higher frequency. However, this rule can not be applied universally on all work-loads and platforms. It sounds complex, doesn't it? In addition to the complexities involved in predicting whether it is energy efficient to schedule tasks in a work-load on a single cpu or spread them out on multiple, there is the platform to platform variation to be concerned about. A work-load centric scheduler would not scale well on all platforms as the energy required to run cpus at higher frequencies is highly platform dependent.
The original thread was posted to the linux-pm mailing list and has been reposted to LKML to facilitate discussion with the larger Linux kernel developer community. Please find the discussion at Energy-aware scheduling use-cases and scheduler issues.
Linux Allwinner ARM SoCs upstream support?
The linux-sunxi community has been making steady progress towards adding support for Allwinner ARM open-hardware SoCs. There is a good chance that the bulk of the support will be in included in 3.14 or 3.15. There is also a parallel effort in adding support for these boards in Fedora 21+ kernels.
Upstream support for low-cost open-hardware boards will enable more developers and enthusiasts to get involved. Refer to the arch/arm/mach-sunxi for the source code and arch/arm/boot/dts for the device trees for various sunxi boards. For more information on the mainlining effort, please read Sunxi Linux Mainlining Effort.
DMAengine driver work is in progress as well as SPI, SDIO, SATA, and AXP209 drivers. AXP209 is the PMU (Power Management Unit) used by A10, A13, and A20 SoCs. More on the Fedora effort can be found in the following announcement: Supporting Allwinner ARM SoCs in Fedora 21+ kernels ....
The Energy-aware scheduling work is long overdue. Current scheduler is unable to meet the demands of diverse work-loads and fails to balance energy savings and performance on mobile devices. The hope is that 2014 will see some concrete discussion and move towards incorporating and/or enhancing the current scheduler with energy-aware features. All of this needs to be done in a way that doesn't break performance on common work-loads.
Next up is the rest of the 3.13 integration cycles and the release of 3.13 itself in about 2 weeks. 3.14 development is wrapping with the merge window right around the corner. Wishing you all a Happy and productive 2014. Keep those patches coming.
Shuah Khan is a Senior Linux Kernel Developer at Samsung's Open Source Group.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- SUSE LLC's SUSE Manager
- Google's SwiftShader Released
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- My +1 Sword of Productivity
- Managing Linux Using Puppet
- Non-Linux FOSS: Caffeine!
- SuperTuxKart 0.9.2 Released
- Interview with Patrick Volkerding
- Parsing an RSS News Feed with a Bash Script
- Rogue Wave Software's Zend Server
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide