1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

TCP Auto Corking Comes To The Linux 3.14 Kernel

Linux Kernel

Published on 25 January 2014 10:22 AM EST
Written by Michael Larabel in Linux Kernel
Comment On This Article

TCP auto corking and other new features is coming to the next Linux kernel release.

Eric Dumazet of Google, who was working on the TCP auto corking patch-set, describes the networking feature as:
With the introduction of TCP Small Queues, TSO auto sizing, and TCP pacing, we can implement Automatic Corking in the kernel, to help applications doing small write()/sendmsg() to TCP sockets.

Idea is to change tcp_push() to check if the current skb payload is under skb optimal size (a multiple of MSS bytes)

If under 'size_goal', and at least one packet is still in Qdisc or NIC TX queues, set the TCP Small Queue Throttled bit, so that the push will be delayed up to TX completion time.

This delay might allow the application to coalesce more bytes in the skb in following write()/sendmsg()/sendfile() system calls.
As then simply described in the pull request, "Basically, if we have a small send and a previous packet is already in the qdisc or device queue, defer until TX completion or we get more data."

Other networking changes for the Linux 3.14 kernel include a BPF debugger and asm tool, support for user-space to manage IPv6 temporary addresses, support for bonding to be configured fully using netlink, a new Heavy-Hitter Filter (HHF) qdisc, 10G support in the generic phylib, and various other networking changes.

Other Linux 3.14 networking changes can be found via the pull request by David Miller.

Latest Linux Hardware Reviews
  1. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  2. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  3. Overclocking The AMD AM1 Athlon & Sempron APUs
  4. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. Debian To Maintain 6.0 Squeeze As An LTS Release
  2. Wasteland 2 Is Finally Released For Linux Gamers
  3. FreeBSD Advances For ARM, Bhyve, Clang
  4. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  5. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  6. QEMU 2.0 Released With ARM, x86 Enhancements
  7. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  8. R600 Gallium3D Disables LLVM Back-End By Default
  9. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  10. Fedora Workstation Is Making Me Quite Excited
  11. Maynard: A Lightweight Wayland Desktop
  12. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
Latest Forum Discussions
  1. The GNOME Foundation Is Running Short On Money
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Radeon 8000M problematic on Linux?
  4. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  5. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  6. Suspected PHP Proxy Issue
  7. Change installation destination from home directory
  8. Bye bye BSD, Hello Linux: A Sys Admin's Story