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

Intel Is Working On A Linux Networking Stack For Small Systems

Intel

Published on 06 May 2014 02:18 PM EDT
Written by Michael Larabel in Intel
21 Comments

For supporting Linux networking on very small embedded systems like the Intel Quark, developers at Intel are working on a lightweight networking stack to fit on such systems.

Andi Kleen at Intel announced their work on a smaller networking stack to fit on systems like the Quark where there might only be a few megabytes of RAM and flash storage. Andi wrote, "There has been a lot of interest recently to run Linux on very small systems, like Quark systems. These may have only 2-4MB memory. They are also limited by flash space. One problem on these small system is the size of the network stack. Currently enabling IPv4 costs about 400k in text, which is prohibitive on a 2MB system, and very expensive with 4MB."

The Linux networking stack within the kernel is very heavy due to being very feature rich, so Andi has been working on making it optionally lighter by removing some features that shouldn't be needed by clients in such systems. Besides stubbing out code within the networking area, the Intel kernel is also depending upon their earlier work with Link-Time Optimizations for the Linux kernel to allow the GCC compiler to remove unused code automatically.

Andi stubbed out some networking code to still yield a powerful TCP/IP stack while being a lot lighter. "With these changes I can get a fully featured network stack down to about 170k with LTO. Without LTO there are also benefits, but somewhat less."

The networking options come down to having the full networking stack, generating only a client-only subset of features, and then having a minimal networking subset of features for embedded systems with a special user-land.

Kleen announced this work on the kernel mailing list and is currently seeking comments and review of the changes.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Even With Re-Clocking, Nouveau Remains Behind NVIDIA's Proprietary Linux Driver
  2. The Power Consumption & Efficiency Of Open-Source GPU Drivers
  3. AMD R600g/RadeonSI Performance On Linux 3.16 With Mesa 10.3-devel
  4. Intel Pentium G3258 On Linux
Latest Linux Articles
  1. Nouveau vs. Radeon vs. Intel Tests On Linux 3.16, Mesa 10.3-devel
  2. KVM Benchmarks On Ubuntu 14.10
  3. X.Org Server 1.16 Officially Released With Terrific Features
  4. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
Latest Linux News
  1. "The World's Most Highly-Assured OS" Kernel Open-Sourced
  2. NVIDIA Is Working Towards VDPAU H.265/HEVC Support
  3. Hawaii Bug-Fixes Start Hitting Mainline RadeonSI Gallium3D
  4. The FFmpeg vs. Libav War Continues In Debian Land
  5. Grand Theft Auto Running On Direct3D Natively On Linux Shows Gallium3D Potential
  6. GCC As A Just-In Time Compiler Is An Interesting Project
  7. Age Of Wonders III Is Still Being Ported To Linux
  8. Git 2.1 To Further Mainline Windows Support Patches
  9. Debian 8.0 Jessie Is Settling For Linux 3.16
  10. Meson: A Next-Gen Build System Showing Promise
Latest Forum Discussions
  1. Debian + radeonsi
  2. Open-source drivers on ATI R7 260X
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. List of Linux friendly Kickstarter projects
  5. Linus Torvalds On GCC 4.9: Pure & Utter Crap
  6. Porting Mesa to the Playstation 2
  7. ASRock AM1H-ITX: One Of The Best AM1 Mini-ITX Motherboards
  8. Table test