KernelNewbies:

Linux 3.3 NOT released

Summary:

TableOfContents()

1. Prominent features in Linux 3.3

1.1. Android merge

Recommended LWN article: [https://lwn.net/Articles/472984/ Bringing Android closer to the mainline]

For a long time, code from the Android project has not been merged back to the Linux repositories due to disagreement between developers from both projects. Fortunately, after several years the differences are being ironed out. Various Android subsystems and features have already been merged, and more will follow in the future. This will make things easier for everybody, including the Android mod community, or Linux distros that want to support Android programs.

Code: [http://git.kernel.org/linus/355b0502f6efea0ff9492753888772c96972d2a3 (commit)], [http://git.kernel.org/linus/e59bbb8ea3fb5794c09e48490a74b673aee4adc2 (commit)], [http://git.kernel.org/linus/f4dc23861d9da89cfb5d2b0c5b3c96c115842a6c (commit)], [http://git.kernel.org/linus/11980c2ac4ccfad21a5f8ee9e12059f1e687bb40 (commit)]

1.2. Btrfs: restriping between different RAID levels, improved balancing, improved debugging tools

Improved balancing, raid restripping

In Btrfs, a "balance" operation consists in a complete rewrite of the filesystem data, pushing all the rewritten data and metadata through the allocators. This operation is needed in some cases. For example if a new drive is added, a balance operation will be needed to redistribute data to the new drive. This balance operation, however, rebalanced the entire filesystem, which could take many hours, and it didn't support a change of raid profile.

The balancing implementation has been completely reworked. Btrfs can now pause and resume a balance operation, and give status updates. It is also possible to restripe between different raid levels. It also lets filter the balance based on metadata/data profiles, and lets balance only mostly empty block groups. The userspace utils are available in the "parser" branch of the btrfs-progs.

Code: [http://git.kernel.org/linus/f43ffb60fd94e98be02780944e182ade6653b916 (commit 1] ,[http://git.kernel.org/linus/c9e9f97bdfb64d06e9520f8e4f37674ac21cc9bc 2], [http://git.kernel.org/linus/409d404b461afa9738619f249fd7f62a366b68c2 3], [http://git.kernel.org/linus/6fef8df1dcb9b586268caff66df1d71ce8610132 4], [http://git.kernel.org/linus/52ba692972532f8d652080214b6599ece3dd51b9 5], [http://git.kernel.org/linus/10ea00f55a07f8f9536d9112b95108a86f700bab 6], [http://git.kernel.org/linus/ed25e9b26f898d8d63ae4a836489f1923534143b 7], [http://git.kernel.org/linus/5ce5b3c0916ba3a2e34cf648b94044adc5ef9e76 8], [http://git.kernel.org/linus/9555c6c180600b40f6e86bd4dc53bf47e06ed663 9], [http://git.kernel.org/linus/94e60d5a5c4b98a32b1077dec88df09ada712376 10], [http://git.kernel.org/linus/70922617b0099f420deceb53d5dc7f4fb30d08d0 11], [http://git.kernel.org/linus/e4d8ec0f65b91bfb4984a4927632ded95f9825ad 12], [http://git.kernel.org/linus/596410151ed71819b9e8a8018c6c9992796b256d 13], [http://git.kernel.org/linus/0940ebf6b92ea10a6f30ae5ac3993a3b75745da6 14], [http://git.kernel.org/linus/cfa4c961cc69ffb7bda450972320a25cbd413e19 15], [http://git.kernel.org/linus/ea67176ae8c024f64d85ec33873e5eadf1af7247 16], [http://git.kernel.org/linus/19a39dce3b9bf0244d19a446718ad6f7605ff099 17], [http://git.kernel.org/linus/a7e99c691af553fc15ac46a51f130b7c59a65f76 18], [http://git.kernel.org/linus/837d5b6e46d1a4af5b6cc8f2fe83cb5de79a2961 19], [http://git.kernel.org/linus/de322263d3a6d4ffd4ed7c4d0c6536e9497aec9b 20)]

Improved debugging

Btrfs has a new debugging utility, "integrity check", aimed at developers. The tool consist in a extra integrity test that for every write request checks that the filesystem is not writting to the disk bogus references that could left the file system in an inconsistent state that would cause data loss. This tool will help Btrfs developers to find bugs more easily.

Code: [http://git.kernel.org/linus/5db0276014b80484689eb6c1bf7b94af1c7d5b1a (commit 1], [http://git.kernel.org/linus/c975dd469d748ce619c510050d4fb407c2398591 2], [http://git.kernel.org/linus/21adbd5cbb5344a3fca6bb7ddb2ab6cb03c44546 3)]

1.3. Open vSwitch

Recommended LWN article: [https://lwn.net/Articles/469775/ Routing Open vSwitch into the mainline]

Open vSwitch is a software implementation of a multilayer network switch. This project has existed for years and it's now being merged in the main tree. Linux already has a virtual switch (the Linux bridge), but Open vSwitch is designed for more complex scenearios, and specially to be used as a vswitch in virtualized server environments (read the document "[http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=WHY-OVS;h=ac9a3815a1a00ca3ad024bfb7d6652a040de8899;hb=HEAD Why Open vSwitch?]"

Open vSwitch supports standard management interfaces (e.g. sFlow, NetFlow, RSPAN, CLI), and is open to programmatic extension and control using OpenFlow and the OVSDB management protocol, and it is designed to be compatible with modern switching chipsets. See [http://openvswitch.org openvswitch.org] for more information and userspace utilities.

Code: [http://git.kernel.org/linus/ccb1352e76cff0524e7ccb2074826a092dd13016 (commit)]

1.4. Better bonding of network interfaces: teaming

There is a new "teaming" network device, which is intended to be a fast, scalable, clean, userspace-driven replacement for the bonding driver. It allows to create virtual interfaces that teams together multiple ethernet devices. This is typically used to increase the maximum bandwidth and provide redundancy. Currently round-robin and active-backup modes are implemented. The libteam userspace library with couple of demo apps is available at [ https://github.com/jpirko/libteam github.com/jpirko/libteam]

Code: [http://git.kernel.org/linus/3d249d4ca7d0ed6629a135ea1ea21c72286c0d80 (commit)]

1.5. Bufferbloat fighting: Byte queue limits

Recommended LWN article: [https://lwn.net/Articles/454390/ Network transmit queue limits]

"[http://en.wikipedia.org/wiki/Bufferbloat#cite_note-7 Bufferbloat]" is a term used to describe the latency and throughput problems caused by excessive buffering trough the several elements of a network connection. Some tools are being developed to help to alleviate these problems, and this feature is one of them.

Byte queue limits are a configurable limit of packet data that can be put in the transmission queue of a network device. As a result one can tune things such that high priority packets get serviced with a reasonable amount of latency whilst not subjecting the hardware queue to emptying when data is available to send. Configuration of the queue limits is in the tx-<n> sysfs directory for the queue under the byte_queue_limits directory.

Code: [http://git.kernel.org/linus/75957ba36c05b979701e9ec64b37819adc12f830 (commit 1], [http://git.kernel.org/linus/7346649826382b769cfadf4a2fe8a84d060c55e9 2], [http://git.kernel.org/linus/c5d67bd78c5dc540e3461c36fb3d389fbe0de4c3 3], [http://git.kernel.org/linus/927fbec13e40648d3c87cbb1daaac5b1fb9c8775 4], [http://git.kernel.org/linus/114cf5802165ee93e3ab461c9c505cd94a08b800 5)]

1.6. Per-cgroup TCP buffer limits

Recommended LWN article: [Per-cgroup TCP buffer limits https://lwn.net/Articles/470656/]

This patch introduces memory pressure controls for the tcp protocol.

[http://git.kernel.org/linus/180d8cd942ce336b2c869d324855c40c5db478ad (commit)] [http://git.kernel.org/linus/e1aab161e0135aafcd439be20b4f35e4b0922d95 (commit)] [http://git.kernel.org/linus/d1a4c0b37c296e600ffe08edb0db2dc1b8f550d7 (commit)] [http://git.kernel.org/linus/3dc43e3e4d0b52197d3205214fe8f162f9e0c334 (commit)] [http://git.kernel.org/linus/3aaabe2342c36bf48567b88fa78b819eee14bb5e (commit)] [http://git.kernel.org/linus/5a6dd343770d2ae2c25f7a4b1998c091e6252f42 (commit)] [http://git.kernel.org/linus/ffea59e50494198a0db4d6ad8f6721b8fd994f65 (commit)] [http://git.kernel.org/linus/0850f0f5c54261a6236f013e8bac154bcce424d6 (commit)]

1.7. Network priority control group

The Network priority cgroup provides an interface to allow an administrator to dynamically set the priority of network traffic generated by various applications. Nominally, an application would set the priority of its traffic via the SO_PRIORITY socket option. This however, is not always possible. This cgroup allows an administrator to assign a process to a group which defines the priority of egress traffic on a given interface. More details in [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/cgroups/net_prio.txt;hb=HEAD Documentation/cgroups/net_prio.txt]

Code: [http://git.kernel.org/linus/5bc1421e34ecfe0bd4b26dc3232b7d5e25179144 (commit 1], [http://git.kernel.org/linus/3ee32fee65ef6a4a8a4188e913be7dd90ba9e058 2)]

1.8. New architecture: TI C6X

Recommended LWN article: [https://lwn.net/Articles/457635/ Upcoming DSP architectures]

The family of architectures that run on Linux has got even bigger with the addition of support for the Texas Instruments C6X. This architecture supports members of the Texas Instruments family of C64x single and multicore DSPs. The multicore DSPs do not support cache coherancy, so are not suitable for SMP. Also, these are no-mmu processors. This core architecture is VLIW with an instruction set optimized for DSP applications. For details on the processors, see the [http://processors.wiki.ti.com/index.php/Main_Page TI web page]. Also, the project website: [http://linux-c6x.org/ linux-c6x.org]

Code: [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=arch/c6x;hb=HEAD (directory)]

2. File systems

btrfs: Avoid dirty tasks getting too much throttling when doing sequential writes smaller than a page [http://git.kernel.org/linus/32c7f202a4801252a0f3578807b75a961f792870 (commit)]

3. Memory Management

4. Networking

5. Device Mapper

6. Power management

7. Virtualization

8. Crypto

9. Security

10. Tracing/profiling

11. Various core changes

[http://git.kernel.org/linus/067bce1a06c1f84146f873a598cd7c3a28eee1d5 (commit 1], [http://git.kernel.org/linus/b3f7f573a20081910e34e99cbc91831f4f02f1ff 2], [http://git.kernel.org/linus/028ee4be34a09a6d48bdf30ab991ae933a7bc036 3)]


CategoryReleases

KernelNewbies: Linux_3.3 (last edited 2012-03-19 01:41:17 by diegocalleja)