SlideShare ist ein Scribd-Unternehmen logo
1 von 46
Downloaden Sie, um offline zu lesen
ConfidentialPA110/23/20141
Status of Embedded
Linux
Status of
Embedded Linux
June 2017
Tim Bird
Architecture Group Chair
LF Core Embedded Linux Project
1
ConfidentialPA110/23/20142
Nature of this talk…
• Quick overview of lots of embedded topics
• A springboard for further research
• If you see something interesting, you have a link
or something to search for
2
ConfidentialPA110/23/20143
Outline
Kernel Versions
Technology Areas
CE Workgroup Projects
Other Stuff
Resources
3
ConfidentialPA110/23/20144
Outline
Kernel Versions
Technology Areas
CE Workgroup Projects
Other Stuff
Resources
4
ConfidentialPA110/23/20145
Kernel Versions
• Linux v4.7 – 24 July 2016 – 70 days
• Linux v4.8 – 2 Oct 2016 – 70 days
• Linux v4.9 – 11 Dec 2016 – 70 days
• Linux v4.10 – 19 Feb 2017 – 70 days
• Linux v4.11 – 30 Apr 2017 – 70 days
• Linux v4.12-rc5 -
• v4.12 expected on 9 July, 2017
5
ConfidentialPA110/23/20146
Linux 4.7
• Schedutil frequency governor
• Use the load calculated by the scheduler instead of
the average load over past little while
• See http://lwn.net/Articles/682391/
• VFS layer can iterate through directories in
parallel
• Ability to attach BPF programs to tracepoints
• Ftrace histogram triggers
• Can tell tracer to accumulate events into buckets
and give results, via the sysfs interface
• Android sync_file feature moved from staging
• Support for explicit buffer fencing
6
ConfidentialPA110/23/20147
Linux 4.8
• New kernel documentation system
• New pseudo-random number generator
• See https://lwn.net/Articles/686033/
• ARM64 support for kexec and kprobes
• New timer wheel implementation
• https://lwn.net/Articles/646950/
• Better performance:
• No more cascade operations
• Quick determination of next timout
• Automatically coalesces longer timeouts
• Long timeouts have reduced resolution
7
ConfidentialPA110/23/20148
Linux 4.9
• Virtually mapped kernel stacks
• http://lwn.net/Articles/692953/
• Allows to detect stack overruns
• Cleans up kernel code, faster process creation
• Only on x86, for now
• Greybus - https://lwn.net/Articles/715955/
• Timed samples for eBPF
• Modversions deprecated
• See https://lwn.net/Articles/707520/
8
ConfidentialPA110/23/20149
Linux 4.10
• Perf sched timehist
• Hybrid block polling
• Supports polling for block I/O, but with a short delay
(estimated) before the polling starts
• Improves performance by queuing blocks as soon as
device is ready (via polling)
• Uses less CPU than full polling
• Support for ARM SoCs:
• Huawei, Allwinner, Marvel, Renesas
• Posix timers are configurable
• Initramfs compression method is selectable
• New interface for system sleep state selection
• /sys/power/mem_sleep
• UBIFS support for encryption 9
ConfidentialPA110/23/201410
Linux 4.11
• New kernel refcount API
• TinyDRM subsystem added
• New statx() system call
• https://lwn.net/Articles/707602/
• 2038-safe time values
• Mask of fields to obtain (for efficiency)
• Sched.h refactoring
• Non-mainline code: watch out!
10
ConfidentialPA110/23/201411
Linux 4.12 (expected)
• BFQ and Kyber block I/O schedulers
• Minitty prep work
• Not full minitty implementation yet
• Proper support for USB type-C connectors
• AnalyzeBoot tool
• Reads dmesg (and possibly ftrace log) and
produces html graph of boot events
• Part of Intel pm-graph tools project
• https://github.com/01org/pm-graph
• See tools/power/pm-graph/analyze_boot.py
11
ConfidentialPA110/23/201412
Outline
Kernel Versions
Technology Areas
CE Workgroup Projects
Other Stuff
Resources
12
ConfidentialPA110/23/201413
Bootup Time
• No new work in kernel, that I’m aware of
• Analyze_boot tool – new in in 4.12
• Some good previous talks:
• ELCE 2014 - 12 Lessons Learnt in Boot Time
Reduction by Andrew Murray
• ELC 2015 - Fastboot Tools and Techniques by
John Mehaffey
• Android boot time ideas
• ELC 2017 – Improving the bootup speed of
AOSP – Bernhard Rosenkranzer
13
ConfidentialPA110/23/201414
Bootup ideas from Bernhard
• Two approaches:
• Improve cold boot
• Enhance suspend/resume
• Areas analyzed for cold boot:
• Package Manager scanning
• Java class preloading
• PM: force high CPU frequency during boot
• IO: read-ahead, kernel compression, squashfs
• Kernel modules – defer modules until later
• Library and compiler optimizations
ConfidentialPA110/23/201415
Device Tree
• Device Tree Overlays
• Allow plugin-boards to be configured at runtime
• Session at ELC 2016 by Pantellis
• Not mainlined yet? – expected in 4.11?
• Device Tree validation
• Schema for binding language, validator for bindings
and for device tree data
• This work stalled
• Updated Device Tree specification
• Being discussed
• Want to update material and make it more available
• See http://elinux.org/Device_tree_plumbers_2016_etherpad
• And ELC 2017 Device Tree BOF – Frank Rowand
15
ConfidentialPA110/23/201416
Graphics
• TinyDRM
• Provides graphic support for small simple
displays (eg displays over i2C or SPI)
• Hope to replace framebuffer drivers over time
• See
https://www.phoronix.com/scan.php?page=news
_item&px=TinyDRM-Patches-Posted
• GPU support:
• ARM mali drivers status update
• https://lwn.net/Articles/716600/
• Presentation
• ELC 2017 What Can Vulkan do for You? - by
Jason Ekstrand 16
ConfidentialPA110/23/201417
File Systems
• UBIFS support for encryption (in 4.11)
• IO scheduling for solid state storage
• LightNVM
• Software control of flash-translation layer
• https://lwn.net/Articles/641247
17
ConfidentialPA110/23/201418
Networking
• Bluetooth:
• Bluetooth 5.0
• Most features are on BLE codebase
• Only 1 for “BL classic”
• 800% data throughput increase
• 4 times the range
• Coexistence with wireless
• Better error correction to handle noisy environments
18
ConfidentialPA110/23/201419
Power Management
• New interface for system sleep state
selection (in 4.10)
• /sys/power/mem_sleep
• Operating-System-Directed Power-
Management Summit
• https://lwn.net/Articles/721573/
• Energy-aware scheduling
• A collection of scheduling talks that will make
your head spin
ConfidentialPA110/23/201420
Real Time
• SCHED_DEADLINE
• ELC 2017 - SCHED_DEADLINE: It’s Alive - by Juri
Lelli
• Energy Aware Scheduler support
• Bandwidth reclaiming
• Temporarily allow a task to exceed it’s bandwidth, if no other
process’ deadline suffers
• Support for Frequency scaling
• Group scheduling
• Presentations:
• ELC 2017 Effectively Measure and Reduce Kernel
Latencies for Real-time Constraints – By Jim Huang
• ELC 2017 Real-Time Linux on Embedded Multicore
Processors – by Andres Ehmanns
20
ConfidentialPA110/23/201421
Security
• Kernel hardening
• http://kernsec.org/wiki/index.php/Kernel_Self_Protection_
Project
• Rare_write infrastructure
• Keep some code and data read-only most of the time
• https://lwn.net/Articles/724319/
• GCC plugins for kernel security
• Kernexec
• Prevent kernel from executing user-space code
• Structleak (mainlined in 4.11)
• Zero out kernel structures passed to user space, under some
conditions
• See https://lwn.net/Articles/712161/
• Randstruct
• Randomize C structure layout
• See https://lwn.net/Articles/722293/
21
ConfidentialPA110/23/201422
Security Presentations
• ELC 2017 Securing Embedded Linux Systems
with TPM 2.0 – by Philip Tricca
ConfidentialPA110/23/201423
System Size
• Initramfs compression method is selectable
• Nicolas Pitre work
• Configurable POSIX timers – in v4.10
• https://lwn.net/Articles/701095/
• Mini TTY
• Smaller implementation of TTY subsystem, for
embedded
• Saves about 38K
• https://lwn.net/Articles/721074/
• People wanted refactoring of full-size TTY instead
of new small implementation, but Nicolas said that
wasn’t feasible 23
ConfidentialPA110/23/201424
System Size (cont.)
• Shrinking the scheduler
• Drops features and eliminates realtime and
deadline scheduler classes
• Saves about 20k
• https://lwn.net/Articles/725376/
• Lots of resistance to this
• Code complexity increase is not worth saving
20k (according to Ingo Molnar)
• Disagreement on whether Linux should support
computers with sub-1MB memory
ConfidentialPA110/23/201425
Size Presentations
• LinuxCon North America: Running Linux on
Tiny Peripherals – by Marcel Holtmann
• Got Linux to around 1MB for IOT sensor project
• ELC 2017 Embedded Linux Size Reduction
Techniques – By Michael Opdenacker
• Very good overview of existing reduction
techniques and status
• Formal Tinification project is stalled
• Toybox and musl (smaller libc) are worth looking at
ConfidentialPA110/23/201426
Testing
• Kselftest
• Fuego
• Kernelci.org
• LAVA V2
26
ConfidentialPA110/23/201427
Kselftest
• Unit test system inside kernel source tree
• Recent work:
• Lots more regression tests (preferred place for
syscall compatibility/regression tests (over LTP)
• Converting to TAP (Test Anything Protocol) for
test output
ConfidentialPA110/23/201428
Fuego
• New Test Framework for collaborating on tests
and test infrastructure for Linux
• V1.1 features (April 2017)
• Upgrade to latest Jenkins
• Test script refactoring
• Fuego container directory layout change
• About 40 new tests
• V1.2 plans (RC in July)
• Unified output format
• Convert all test results to JSON
• Support LAVA as a transport & board manager
• Test dependency system
• Board dynamic variables
ConfidentialPA110/23/201429
Kernelci.org
• Place to get free build/boot testing for your
board
• Builds 126 trees continuously, then reports any
errors
• http://kernelci.org
• Presentations:
• ELC and ELCE 2016 – by Kevin Hilman
• Linaro Connect:
• Kernelci and lava update - See
https://lwn.net/Articles/716600/
• The most successful public, distributed build
and test system for Linux, in the world!
29
ConfidentialPA110/23/201430
LAVA
• Linaro Automation and Validation
Architecture
• V2
• Job files now use Jinja2 templates
• Was previously hand-written JSON
• Jobs are run asynchronously, without polling,
• ZeroMQ is used for communications.
• ReactOBus is used to run jobs from messages.
• Requires more explicit board configuration
ConfidentialPA110/23/201431
Toolchains
• LLVM 4.0.0 is released
• Some code size improvements from
optimizations (GVNHoist)
• Experimental support for LLVM coroutines
• https://lwn.net/Articles/716979/
• Presentations:
• ELC 2017 - GCC/Clang Optimizations for
Embedded Linux – by Khem Raj
31
ConfidentialPA110/23/201432
Tracing
• More perf tools (both in 4.10):
• perf sched timehist
• Analysis of scheduling events
• perf c2c
• Cacheline contention analysis
• Presentations:
• ELC 2017 Dynamic Tracing Tools on
ARM/AArch64 Platform: Updates and Challenges
- by Hiroyuki Ishii
• Great overview
32
ConfidentialPA110/23/201433
Miscellaneous
• Year 2038 status:
• 3 areas of work:
• Converting all 32-bit timestamps to 64-bit in the kernel
• e.g. New statx() system call
• Many patches are in-progress (vfs layer, v4l, device-
mapper, input subsystem)
• C libraries
• Lots of work in glibc to make everything backwards
compatible
• Even programs built with 32-bit timestamps should
work
• Distribution builds
• See https://lwn.net/Articles/717076/
33
ConfidentialPA110/23/201434
Outline
Kernel Versions
Technology Areas
CE Workgroup Projects
Other Stuff
Resources
34
ConfidentialPA110/23/201435
Projects and initiatives
• Shared Embedded Distribution
• LTSI
• Fuego
• eLinux wiki
35
ConfidentialPA110/23/201436
Shared Embedded Distribution
• Goals
• Create an industry-supported distribution of
embedded Linux
• Main goal is very long term support (15 years)
• Status
• Toshiba has created Yocto layer meta-Debian
• Presented at ELCE, ELC, and LCJ
• Next steps
• Improve coordination with Debian community
36
ConfidentialPA110/23/201437
Long Term Support Initiative
• LTSI 4.9 is current LTSI kernel
• Work is in progress on next release
• GregKH said
• Expected delivery date: Sep 2017
• Converting to upstream-first policy
• Presentation:
• ELC 2017 Using Linux as Long Term Working
with the Community – by Tsugikazu Shibata
37
ConfidentialPA110/23/201438
Fuego - Linux Test Framework
• Working on lots of issues:
• Command line tool
• Test packaging
• LAVA integration
• Serial console transport
• Presentation:
• ELC 2017 BoF: Fuego Status and Roadmap –
by Tim Bird
38
ConfidentialPA110/23/201439
eLinux wiki
• http://elinux.org
• Web site dedicated to information for embedded
Linux developers
• The wikipedia of embedded linux!
• Hundreds of pages covering numerous topic
areas: bootup time, realtime, security, power
management, flash filesystem, toolchain,
editors
• Lots of pages in last few years about low-
cost development boards
• Please use and add to site
39
ConfidentialPA110/23/201440
Outline
Kernel Versions
Technology Areas
CE Workgroup Projects
Other Stuff
Resources
40
ConfidentialPA110/23/201441
Trade Associations
• Linaro still doing lots of great work
• Lava v2 and kernelci
• Now promoting Zephyr
• Linaro Connect consistently has useful material
• Linux Foundation
• Microsoft has joined the Linux Foundation as a
platinum member
• CE Workgroup officially changed its name to
“Core Embedded Linux Project”
ConfidentialPA110/23/201442
Conferences
• ELC 2017
• Lots of great sessions
• See: http://elinux.org/ELC_2017_Presentations
• Open Source Summit Japan
• May 31-June 2, Tokyo
• Embedded Linux Conference Europe
• October 23-25, Prague, Czech Republic
• Embedded Linux Conference
• March 12-14, Portland, Oregon, USA
• Japan Jamborees
• Continuing
ConfidentialPA110/23/201443
ELC 2017 thoughts
• Linus and Dirk fireside chat
• 4.10 release was calm
• 4.9 was a bit bigger due to LTS pre-announcement
• Linus thinks is healthier to not push things based on
a deadline, but 4.9 wasn’t too bad
• Even after all these years, we see changes to
core files
• Linus said that Linux is general-purpose, so may
not be appropriate for the lowest-footprint device
• I feel vindicated
ConfidentialPA110/23/201444
Outline
Kernel Versions
Technology Areas
CE Workgroup Projects
Other Stuff
Resources
44
ConfidentialPA110/23/201445
Resources
• LWN.net
• http://lwn.net/
• If you are not subscribed, please do so
• Kernel Newbies
• http://kernelnewbies.org/Linux_[34].?
• eLinux wiki - http://elinux.org/
• Especially http://elinux.org/Events for slides
• Celinux-dev mailing list
45
ConfidentialPA110/23/201446
Thanks!
46

Weitere ähnliche Inhalte

Was ist angesagt?

K8s storage-glusterfs-20180210
K8s storage-glusterfs-20180210K8s storage-glusterfs-20180210
K8s storage-glusterfs-20180210Che-Chia Chang
 
OpenStack High Availability
OpenStack High AvailabilityOpenStack High Availability
OpenStack High AvailabilityJakub Pavlik
 
Is there still room for innovation in container orchestration and scheduling
Is there still room for innovation in container orchestration and scheduling Is there still room for innovation in container orchestration and scheduling
Is there still room for innovation in container orchestration and scheduling LinuxCon ContainerCon CloudOpen China
 
Opensource approach to design and deployment of Microservices based VNF
Opensource approach to design and deployment of Microservices based VNFOpensource approach to design and deployment of Microservices based VNF
Opensource approach to design and deployment of Microservices based VNFMichelle Holley
 
Building stateful applications on Kubernetes with Rook
Building stateful applications on Kubernetes with RookBuilding stateful applications on Kubernetes with Rook
Building stateful applications on Kubernetes with RookRoberto Hashioka
 
OVN: Scaleable Virtual Networking for Open vSwitch
OVN: Scaleable Virtual Networking for Open vSwitchOVN: Scaleable Virtual Networking for Open vSwitch
OVN: Scaleable Virtual Networking for Open vSwitchmestery
 
Deploying OpenDaylight and OpenStack at Ease
Deploying OpenDaylight and OpenStack at EaseDeploying OpenDaylight and OpenStack at Ease
Deploying OpenDaylight and OpenStack at EaseMichelle Holley
 
Improving Network Application Performance using Load Aware Libeventdev
Improving Network Application Performance using Load Aware LibeventdevImproving Network Application Performance using Load Aware Libeventdev
Improving Network Application Performance using Load Aware LibeventdevMichelle Holley
 
IITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
IITCC15: The Bare-Metal Hypervisor as a Platform for InnovationIITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
IITCC15: The Bare-Metal Hypervisor as a Platform for InnovationThe Linux Foundation
 

Was ist angesagt? (20)

Rethinking the OS
Rethinking the OSRethinking the OS
Rethinking the OS
 
Meetup 23 - 02 - OVN - The future of networking in OpenStack
Meetup 23 - 02 - OVN - The future of networking in OpenStackMeetup 23 - 02 - OVN - The future of networking in OpenStack
Meetup 23 - 02 - OVN - The future of networking in OpenStack
 
K8s storage-glusterfs-20180210
K8s storage-glusterfs-20180210K8s storage-glusterfs-20180210
K8s storage-glusterfs-20180210
 
OpenStack High Availability
OpenStack High AvailabilityOpenStack High Availability
OpenStack High Availability
 
Is there still room for innovation in container orchestration and scheduling
Is there still room for innovation in container orchestration and scheduling Is there still room for innovation in container orchestration and scheduling
Is there still room for innovation in container orchestration and scheduling
 
Simplify Networking for Containers
Simplify Networking for ContainersSimplify Networking for Containers
Simplify Networking for Containers
 
OpenStack on AArch64
OpenStack on AArch64OpenStack on AArch64
OpenStack on AArch64
 
Linux Kernel Development
Linux Kernel DevelopmentLinux Kernel Development
Linux Kernel Development
 
Zephyr: Creating a Best-of-Breed, Secure RTOS for IoT
Zephyr: Creating a Best-of-Breed, Secure RTOS for IoTZephyr: Creating a Best-of-Breed, Secure RTOS for IoT
Zephyr: Creating a Best-of-Breed, Secure RTOS for IoT
 
OpenDaylight OpenStack Integration
OpenDaylight OpenStack IntegrationOpenDaylight OpenStack Integration
OpenDaylight OpenStack Integration
 
UEFI HTTP/HTTPS Boot
UEFI HTTP/HTTPS BootUEFI HTTP/HTTPS Boot
UEFI HTTP/HTTPS Boot
 
Opensource approach to design and deployment of Microservices based VNF
Opensource approach to design and deployment of Microservices based VNFOpensource approach to design and deployment of Microservices based VNF
Opensource approach to design and deployment of Microservices based VNF
 
VietOpenStack meetup 7th High Performance VM
VietOpenStack meetup 7th High Performance VMVietOpenStack meetup 7th High Performance VM
VietOpenStack meetup 7th High Performance VM
 
Policy-based Resource Placement
Policy-based Resource PlacementPolicy-based Resource Placement
Policy-based Resource Placement
 
Building stateful applications on Kubernetes with Rook
Building stateful applications on Kubernetes with RookBuilding stateful applications on Kubernetes with Rook
Building stateful applications on Kubernetes with Rook
 
OVN: Scaleable Virtual Networking for Open vSwitch
OVN: Scaleable Virtual Networking for Open vSwitchOVN: Scaleable Virtual Networking for Open vSwitch
OVN: Scaleable Virtual Networking for Open vSwitch
 
Introduction to OCI Image Technologies Serving Container
Introduction to OCI Image Technologies Serving ContainerIntroduction to OCI Image Technologies Serving Container
Introduction to OCI Image Technologies Serving Container
 
Deploying OpenDaylight and OpenStack at Ease
Deploying OpenDaylight and OpenStack at EaseDeploying OpenDaylight and OpenStack at Ease
Deploying OpenDaylight and OpenStack at Ease
 
Improving Network Application Performance using Load Aware Libeventdev
Improving Network Application Performance using Load Aware LibeventdevImproving Network Application Performance using Load Aware Libeventdev
Improving Network Application Performance using Load Aware Libeventdev
 
IITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
IITCC15: The Bare-Metal Hypervisor as a Platform for InnovationIITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
IITCC15: The Bare-Metal Hypervisor as a Platform for Innovation
 

Andere mochten auch

See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...LinuxCon ContainerCon CloudOpen China
 

Andere mochten auch (14)

Practical CNI
Practical CNIPractical CNI
Practical CNI
 
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
 
Libvirt API Certification
Libvirt API CertificationLibvirt API Certification
Libvirt API Certification
 
GPU Acceleration for Containers on Intel Processor Graphics
GPU Acceleration for Containers on Intel Processor GraphicsGPU Acceleration for Containers on Intel Processor Graphics
GPU Acceleration for Containers on Intel Processor Graphics
 
Obstacles & Solutions for Livepatch Support on ARM64 Architecture
Obstacles & Solutions for Livepatch Support on ARM64 ArchitectureObstacles & Solutions for Livepatch Support on ARM64 Architecture
Obstacles & Solutions for Livepatch Support on ARM64 Architecture
 
Hyperledger Technical Community in China.
Hyperledger Technical Community in China. Hyperledger Technical Community in China.
Hyperledger Technical Community in China.
 
Linuxcon secureefficientcontainerimagemanagementharbor
Linuxcon secureefficientcontainerimagemanagementharborLinuxcon secureefficientcontainerimagemanagementharbor
Linuxcon secureefficientcontainerimagemanagementharbor
 
LiteOS
LiteOS LiteOS
LiteOS
 
OCI Support in Mesos
OCI Support in MesosOCI Support in Mesos
OCI Support in Mesos
 
Building a Better Thermostat
Building a Better ThermostatBuilding a Better Thermostat
Building a Better Thermostat
 
Make Accelerator Pluggable for Container Engine
Make Accelerator Pluggable for Container EngineMake Accelerator Pluggable for Container Engine
Make Accelerator Pluggable for Container Engine
 
Open Source Software Business Models Redux
Open Source Software Business Models ReduxOpen Source Software Business Models Redux
Open Source Software Business Models Redux
 
From Resilient to Antifragile Chaos Engineering Primer
From Resilient to Antifragile Chaos Engineering PrimerFrom Resilient to Antifragile Chaos Engineering Primer
From Resilient to Antifragile Chaos Engineering Primer
 
Flowchain: A case study on building a Blockchain for the IoT
Flowchain: A case study on building a Blockchain for the IoTFlowchain: A case study on building a Blockchain for the IoT
Flowchain: A case study on building a Blockchain for the IoT
 

Ähnlich wie Status of Embedded Linux

Embedded-Linux-Community-Update-2022-02-JJ78.pdf
Embedded-Linux-Community-Update-2022-02-JJ78.pdfEmbedded-Linux-Community-Update-2022-02-JJ78.pdf
Embedded-Linux-Community-Update-2022-02-JJ78.pdfxiso
 
Ext osad initial-eval-march2015
Ext osad initial-eval-march2015Ext osad initial-eval-march2015
Ext osad initial-eval-march2015Daneyon Hansen
 
Get the Facts: Oracle's Unbreakable Enterprise Kernel
Get the Facts: Oracle's Unbreakable Enterprise KernelGet the Facts: Oracle's Unbreakable Enterprise Kernel
Get the Facts: Oracle's Unbreakable Enterprise KernelTerry Wang
 
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community) [발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community) 동현 김
 
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...GlobalLogic Ukraine
 
GWAVACon 2013: Novell Open Enterprise Server - Roadmap and Future
GWAVACon 2013: Novell Open Enterprise Server - Roadmap and FutureGWAVACon 2013: Novell Open Enterprise Server - Roadmap and Future
GWAVACon 2013: Novell Open Enterprise Server - Roadmap and FutureGWAVA
 
Docker and the Linux Kernel
Docker and the Linux KernelDocker and the Linux Kernel
Docker and the Linux KernelDocker, Inc.
 
From Zero to Hero - Contribute to Linux Kernel in 15 Minutes
From Zero to Hero - Contribute to Linux Kernel in 15 MinutesFrom Zero to Hero - Contribute to Linux Kernel in 15 Minutes
From Zero to Hero - Contribute to Linux Kernel in 15 MinutesGlobalLogic Ukraine
 
Upgrading CentOS on the Facebook fleet
Upgrading CentOS on the Facebook fleetUpgrading CentOS on the Facebook fleet
Upgrading CentOS on the Facebook fleetDavide Cavalca
 
OSDC 2012 | Implementing Converged Networks in a Virtualized Environment by
OSDC 2012 | Implementing Converged Networks in a Virtualized Environment byOSDC 2012 | Implementing Converged Networks in a Virtualized Environment by
OSDC 2012 | Implementing Converged Networks in a Virtualized Environment byNETWAYS
 
Live Container Migration: OpenStack Summit Barcelona 2016
Live Container Migration: OpenStack Summit Barcelona 2016Live Container Migration: OpenStack Summit Barcelona 2016
Live Container Migration: OpenStack Summit Barcelona 2016Phil Estes
 
Kubernetes – An open platform for container orchestration
Kubernetes – An open platform for container orchestrationKubernetes – An open platform for container orchestration
Kubernetes – An open platform for container orchestrationinovex GmbH
 
Deep Dive Into the CERN Cloud Infrastructure - November, 2013
Deep Dive Into the CERN Cloud Infrastructure - November, 2013Deep Dive Into the CERN Cloud Infrastructure - November, 2013
Deep Dive Into the CERN Cloud Infrastructure - November, 2013Belmiro Moreira
 
Building community with CentOS Stream
Building community with CentOS StreamBuilding community with CentOS Stream
Building community with CentOS StreamDavide Cavalca
 
CEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOK
CEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOKCEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOK
CEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOKCeph Community
 
Cross Community CI project
Cross Community CI projectCross Community CI project
Cross Community CI projectVictor Morales
 
Recap of OpenStack Tokyo Summit
Recap of OpenStack Tokyo SummitRecap of OpenStack Tokyo Summit
Recap of OpenStack Tokyo Summitdjzook
 
Spectrum Scale Unified File and Object with WAN Caching
Spectrum Scale Unified File and Object with WAN CachingSpectrum Scale Unified File and Object with WAN Caching
Spectrum Scale Unified File and Object with WAN CachingSandeep Patil
 
Software Defined Analytics with File and Object Access Plus Geographically Di...
Software Defined Analytics with File and Object Access Plus Geographically Di...Software Defined Analytics with File and Object Access Plus Geographically Di...
Software Defined Analytics with File and Object Access Plus Geographically Di...Trishali Nayar
 

Ähnlich wie Status of Embedded Linux (20)

Embedded-Linux-Community-Update-2022-02-JJ78.pdf
Embedded-Linux-Community-Update-2022-02-JJ78.pdfEmbedded-Linux-Community-Update-2022-02-JJ78.pdf
Embedded-Linux-Community-Update-2022-02-JJ78.pdf
 
Ext osad initial-eval-march2015
Ext osad initial-eval-march2015Ext osad initial-eval-march2015
Ext osad initial-eval-march2015
 
Get the Facts: Oracle's Unbreakable Enterprise Kernel
Get the Facts: Oracle's Unbreakable Enterprise KernelGet the Facts: Oracle's Unbreakable Enterprise Kernel
Get the Facts: Oracle's Unbreakable Enterprise Kernel
 
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community) [발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
[발표자료] 오픈소스 Pacemaker 활용한 zabbix 이중화 방안(w/ Zabbix Korea Community)
 
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
Embedded Webinar #13: "From Zero to Hero: contribute to Linux Kernel in 15 mi...
 
GWAVACon 2013: Novell Open Enterprise Server - Roadmap and Future
GWAVACon 2013: Novell Open Enterprise Server - Roadmap and FutureGWAVACon 2013: Novell Open Enterprise Server - Roadmap and Future
GWAVACon 2013: Novell Open Enterprise Server - Roadmap and Future
 
Containers and HPC
Containers and HPCContainers and HPC
Containers and HPC
 
Docker and the Linux Kernel
Docker and the Linux KernelDocker and the Linux Kernel
Docker and the Linux Kernel
 
From Zero to Hero - Contribute to Linux Kernel in 15 Minutes
From Zero to Hero - Contribute to Linux Kernel in 15 MinutesFrom Zero to Hero - Contribute to Linux Kernel in 15 Minutes
From Zero to Hero - Contribute to Linux Kernel in 15 Minutes
 
Upgrading CentOS on the Facebook fleet
Upgrading CentOS on the Facebook fleetUpgrading CentOS on the Facebook fleet
Upgrading CentOS on the Facebook fleet
 
OSDC 2012 | Implementing Converged Networks in a Virtualized Environment by
OSDC 2012 | Implementing Converged Networks in a Virtualized Environment byOSDC 2012 | Implementing Converged Networks in a Virtualized Environment by
OSDC 2012 | Implementing Converged Networks in a Virtualized Environment by
 
Live Container Migration: OpenStack Summit Barcelona 2016
Live Container Migration: OpenStack Summit Barcelona 2016Live Container Migration: OpenStack Summit Barcelona 2016
Live Container Migration: OpenStack Summit Barcelona 2016
 
Kubernetes – An open platform for container orchestration
Kubernetes – An open platform for container orchestrationKubernetes – An open platform for container orchestration
Kubernetes – An open platform for container orchestration
 
Deep Dive Into the CERN Cloud Infrastructure - November, 2013
Deep Dive Into the CERN Cloud Infrastructure - November, 2013Deep Dive Into the CERN Cloud Infrastructure - November, 2013
Deep Dive Into the CERN Cloud Infrastructure - November, 2013
 
Building community with CentOS Stream
Building community with CentOS StreamBuilding community with CentOS Stream
Building community with CentOS Stream
 
CEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOK
CEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOKCEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOK
CEPH DAY BERLIN - DEPLOYING CEPH IN KUBERNETES WITH ROOK
 
Cross Community CI project
Cross Community CI projectCross Community CI project
Cross Community CI project
 
Recap of OpenStack Tokyo Summit
Recap of OpenStack Tokyo SummitRecap of OpenStack Tokyo Summit
Recap of OpenStack Tokyo Summit
 
Spectrum Scale Unified File and Object with WAN Caching
Spectrum Scale Unified File and Object with WAN CachingSpectrum Scale Unified File and Object with WAN Caching
Spectrum Scale Unified File and Object with WAN Caching
 
Software Defined Analytics with File and Object Access Plus Geographically Di...
Software Defined Analytics with File and Object Access Plus Geographically Di...Software Defined Analytics with File and Object Access Plus Geographically Di...
Software Defined Analytics with File and Object Access Plus Geographically Di...
 

Mehr von LinuxCon ContainerCon CloudOpen China (8)

SecurityPI - Hardening your IoT endpoints in Home.
SecurityPI - Hardening your IoT endpoints in Home. SecurityPI - Hardening your IoT endpoints in Home.
SecurityPI - Hardening your IoT endpoints in Home.
 
kdump: usage and_internals
kdump: usage and_internalskdump: usage and_internals
kdump: usage and_internals
 
How Open Source Communities do Standardization
How Open Source Communities do StandardizationHow Open Source Communities do Standardization
How Open Source Communities do Standardization
 
High Performance Linux Virtual Machine on Microsoft Azure: SR-IOV Networking ...
High Performance Linux Virtual Machine on Microsoft Azure: SR-IOV Networking ...High Performance Linux Virtual Machine on Microsoft Azure: SR-IOV Networking ...
High Performance Linux Virtual Machine on Microsoft Azure: SR-IOV Networking ...
 
Fully automated kubernetes deployment and management
Fully automated kubernetes deployment and managementFully automated kubernetes deployment and management
Fully automated kubernetes deployment and management
 
Container Security
Container SecurityContainer Security
Container Security
 
Quickly Debug VM Failures in OpenStack
Quickly Debug VM Failures in OpenStackQuickly Debug VM Failures in OpenStack
Quickly Debug VM Failures in OpenStack
 
Releasing a Distribution in the Age of DevOps.
Releasing a Distribution in the Age of DevOps. Releasing a Distribution in the Age of DevOps.
Releasing a Distribution in the Age of DevOps.
 

Kürzlich hochgeladen

A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Karmanjay Verma
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 

Kürzlich hochgeladen (20)

A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 

Status of Embedded Linux

  • 1. ConfidentialPA110/23/20141 Status of Embedded Linux Status of Embedded Linux June 2017 Tim Bird Architecture Group Chair LF Core Embedded Linux Project 1
  • 2. ConfidentialPA110/23/20142 Nature of this talk… • Quick overview of lots of embedded topics • A springboard for further research • If you see something interesting, you have a link or something to search for 2
  • 5. ConfidentialPA110/23/20145 Kernel Versions • Linux v4.7 – 24 July 2016 – 70 days • Linux v4.8 – 2 Oct 2016 – 70 days • Linux v4.9 – 11 Dec 2016 – 70 days • Linux v4.10 – 19 Feb 2017 – 70 days • Linux v4.11 – 30 Apr 2017 – 70 days • Linux v4.12-rc5 - • v4.12 expected on 9 July, 2017 5
  • 6. ConfidentialPA110/23/20146 Linux 4.7 • Schedutil frequency governor • Use the load calculated by the scheduler instead of the average load over past little while • See http://lwn.net/Articles/682391/ • VFS layer can iterate through directories in parallel • Ability to attach BPF programs to tracepoints • Ftrace histogram triggers • Can tell tracer to accumulate events into buckets and give results, via the sysfs interface • Android sync_file feature moved from staging • Support for explicit buffer fencing 6
  • 7. ConfidentialPA110/23/20147 Linux 4.8 • New kernel documentation system • New pseudo-random number generator • See https://lwn.net/Articles/686033/ • ARM64 support for kexec and kprobes • New timer wheel implementation • https://lwn.net/Articles/646950/ • Better performance: • No more cascade operations • Quick determination of next timout • Automatically coalesces longer timeouts • Long timeouts have reduced resolution 7
  • 8. ConfidentialPA110/23/20148 Linux 4.9 • Virtually mapped kernel stacks • http://lwn.net/Articles/692953/ • Allows to detect stack overruns • Cleans up kernel code, faster process creation • Only on x86, for now • Greybus - https://lwn.net/Articles/715955/ • Timed samples for eBPF • Modversions deprecated • See https://lwn.net/Articles/707520/ 8
  • 9. ConfidentialPA110/23/20149 Linux 4.10 • Perf sched timehist • Hybrid block polling • Supports polling for block I/O, but with a short delay (estimated) before the polling starts • Improves performance by queuing blocks as soon as device is ready (via polling) • Uses less CPU than full polling • Support for ARM SoCs: • Huawei, Allwinner, Marvel, Renesas • Posix timers are configurable • Initramfs compression method is selectable • New interface for system sleep state selection • /sys/power/mem_sleep • UBIFS support for encryption 9
  • 10. ConfidentialPA110/23/201410 Linux 4.11 • New kernel refcount API • TinyDRM subsystem added • New statx() system call • https://lwn.net/Articles/707602/ • 2038-safe time values • Mask of fields to obtain (for efficiency) • Sched.h refactoring • Non-mainline code: watch out! 10
  • 11. ConfidentialPA110/23/201411 Linux 4.12 (expected) • BFQ and Kyber block I/O schedulers • Minitty prep work • Not full minitty implementation yet • Proper support for USB type-C connectors • AnalyzeBoot tool • Reads dmesg (and possibly ftrace log) and produces html graph of boot events • Part of Intel pm-graph tools project • https://github.com/01org/pm-graph • See tools/power/pm-graph/analyze_boot.py 11
  • 12. ConfidentialPA110/23/201412 Outline Kernel Versions Technology Areas CE Workgroup Projects Other Stuff Resources 12
  • 13. ConfidentialPA110/23/201413 Bootup Time • No new work in kernel, that I’m aware of • Analyze_boot tool – new in in 4.12 • Some good previous talks: • ELCE 2014 - 12 Lessons Learnt in Boot Time Reduction by Andrew Murray • ELC 2015 - Fastboot Tools and Techniques by John Mehaffey • Android boot time ideas • ELC 2017 – Improving the bootup speed of AOSP – Bernhard Rosenkranzer 13
  • 14. ConfidentialPA110/23/201414 Bootup ideas from Bernhard • Two approaches: • Improve cold boot • Enhance suspend/resume • Areas analyzed for cold boot: • Package Manager scanning • Java class preloading • PM: force high CPU frequency during boot • IO: read-ahead, kernel compression, squashfs • Kernel modules – defer modules until later • Library and compiler optimizations
  • 15. ConfidentialPA110/23/201415 Device Tree • Device Tree Overlays • Allow plugin-boards to be configured at runtime • Session at ELC 2016 by Pantellis • Not mainlined yet? – expected in 4.11? • Device Tree validation • Schema for binding language, validator for bindings and for device tree data • This work stalled • Updated Device Tree specification • Being discussed • Want to update material and make it more available • See http://elinux.org/Device_tree_plumbers_2016_etherpad • And ELC 2017 Device Tree BOF – Frank Rowand 15
  • 16. ConfidentialPA110/23/201416 Graphics • TinyDRM • Provides graphic support for small simple displays (eg displays over i2C or SPI) • Hope to replace framebuffer drivers over time • See https://www.phoronix.com/scan.php?page=news _item&px=TinyDRM-Patches-Posted • GPU support: • ARM mali drivers status update • https://lwn.net/Articles/716600/ • Presentation • ELC 2017 What Can Vulkan do for You? - by Jason Ekstrand 16
  • 17. ConfidentialPA110/23/201417 File Systems • UBIFS support for encryption (in 4.11) • IO scheduling for solid state storage • LightNVM • Software control of flash-translation layer • https://lwn.net/Articles/641247 17
  • 18. ConfidentialPA110/23/201418 Networking • Bluetooth: • Bluetooth 5.0 • Most features are on BLE codebase • Only 1 for “BL classic” • 800% data throughput increase • 4 times the range • Coexistence with wireless • Better error correction to handle noisy environments 18
  • 19. ConfidentialPA110/23/201419 Power Management • New interface for system sleep state selection (in 4.10) • /sys/power/mem_sleep • Operating-System-Directed Power- Management Summit • https://lwn.net/Articles/721573/ • Energy-aware scheduling • A collection of scheduling talks that will make your head spin
  • 20. ConfidentialPA110/23/201420 Real Time • SCHED_DEADLINE • ELC 2017 - SCHED_DEADLINE: It’s Alive - by Juri Lelli • Energy Aware Scheduler support • Bandwidth reclaiming • Temporarily allow a task to exceed it’s bandwidth, if no other process’ deadline suffers • Support for Frequency scaling • Group scheduling • Presentations: • ELC 2017 Effectively Measure and Reduce Kernel Latencies for Real-time Constraints – By Jim Huang • ELC 2017 Real-Time Linux on Embedded Multicore Processors – by Andres Ehmanns 20
  • 21. ConfidentialPA110/23/201421 Security • Kernel hardening • http://kernsec.org/wiki/index.php/Kernel_Self_Protection_ Project • Rare_write infrastructure • Keep some code and data read-only most of the time • https://lwn.net/Articles/724319/ • GCC plugins for kernel security • Kernexec • Prevent kernel from executing user-space code • Structleak (mainlined in 4.11) • Zero out kernel structures passed to user space, under some conditions • See https://lwn.net/Articles/712161/ • Randstruct • Randomize C structure layout • See https://lwn.net/Articles/722293/ 21
  • 22. ConfidentialPA110/23/201422 Security Presentations • ELC 2017 Securing Embedded Linux Systems with TPM 2.0 – by Philip Tricca
  • 23. ConfidentialPA110/23/201423 System Size • Initramfs compression method is selectable • Nicolas Pitre work • Configurable POSIX timers – in v4.10 • https://lwn.net/Articles/701095/ • Mini TTY • Smaller implementation of TTY subsystem, for embedded • Saves about 38K • https://lwn.net/Articles/721074/ • People wanted refactoring of full-size TTY instead of new small implementation, but Nicolas said that wasn’t feasible 23
  • 24. ConfidentialPA110/23/201424 System Size (cont.) • Shrinking the scheduler • Drops features and eliminates realtime and deadline scheduler classes • Saves about 20k • https://lwn.net/Articles/725376/ • Lots of resistance to this • Code complexity increase is not worth saving 20k (according to Ingo Molnar) • Disagreement on whether Linux should support computers with sub-1MB memory
  • 25. ConfidentialPA110/23/201425 Size Presentations • LinuxCon North America: Running Linux on Tiny Peripherals – by Marcel Holtmann • Got Linux to around 1MB for IOT sensor project • ELC 2017 Embedded Linux Size Reduction Techniques – By Michael Opdenacker • Very good overview of existing reduction techniques and status • Formal Tinification project is stalled • Toybox and musl (smaller libc) are worth looking at
  • 27. ConfidentialPA110/23/201427 Kselftest • Unit test system inside kernel source tree • Recent work: • Lots more regression tests (preferred place for syscall compatibility/regression tests (over LTP) • Converting to TAP (Test Anything Protocol) for test output
  • 28. ConfidentialPA110/23/201428 Fuego • New Test Framework for collaborating on tests and test infrastructure for Linux • V1.1 features (April 2017) • Upgrade to latest Jenkins • Test script refactoring • Fuego container directory layout change • About 40 new tests • V1.2 plans (RC in July) • Unified output format • Convert all test results to JSON • Support LAVA as a transport & board manager • Test dependency system • Board dynamic variables
  • 29. ConfidentialPA110/23/201429 Kernelci.org • Place to get free build/boot testing for your board • Builds 126 trees continuously, then reports any errors • http://kernelci.org • Presentations: • ELC and ELCE 2016 – by Kevin Hilman • Linaro Connect: • Kernelci and lava update - See https://lwn.net/Articles/716600/ • The most successful public, distributed build and test system for Linux, in the world! 29
  • 30. ConfidentialPA110/23/201430 LAVA • Linaro Automation and Validation Architecture • V2 • Job files now use Jinja2 templates • Was previously hand-written JSON • Jobs are run asynchronously, without polling, • ZeroMQ is used for communications. • ReactOBus is used to run jobs from messages. • Requires more explicit board configuration
  • 31. ConfidentialPA110/23/201431 Toolchains • LLVM 4.0.0 is released • Some code size improvements from optimizations (GVNHoist) • Experimental support for LLVM coroutines • https://lwn.net/Articles/716979/ • Presentations: • ELC 2017 - GCC/Clang Optimizations for Embedded Linux – by Khem Raj 31
  • 32. ConfidentialPA110/23/201432 Tracing • More perf tools (both in 4.10): • perf sched timehist • Analysis of scheduling events • perf c2c • Cacheline contention analysis • Presentations: • ELC 2017 Dynamic Tracing Tools on ARM/AArch64 Platform: Updates and Challenges - by Hiroyuki Ishii • Great overview 32
  • 33. ConfidentialPA110/23/201433 Miscellaneous • Year 2038 status: • 3 areas of work: • Converting all 32-bit timestamps to 64-bit in the kernel • e.g. New statx() system call • Many patches are in-progress (vfs layer, v4l, device- mapper, input subsystem) • C libraries • Lots of work in glibc to make everything backwards compatible • Even programs built with 32-bit timestamps should work • Distribution builds • See https://lwn.net/Articles/717076/ 33
  • 34. ConfidentialPA110/23/201434 Outline Kernel Versions Technology Areas CE Workgroup Projects Other Stuff Resources 34
  • 35. ConfidentialPA110/23/201435 Projects and initiatives • Shared Embedded Distribution • LTSI • Fuego • eLinux wiki 35
  • 36. ConfidentialPA110/23/201436 Shared Embedded Distribution • Goals • Create an industry-supported distribution of embedded Linux • Main goal is very long term support (15 years) • Status • Toshiba has created Yocto layer meta-Debian • Presented at ELCE, ELC, and LCJ • Next steps • Improve coordination with Debian community 36
  • 37. ConfidentialPA110/23/201437 Long Term Support Initiative • LTSI 4.9 is current LTSI kernel • Work is in progress on next release • GregKH said • Expected delivery date: Sep 2017 • Converting to upstream-first policy • Presentation: • ELC 2017 Using Linux as Long Term Working with the Community – by Tsugikazu Shibata 37
  • 38. ConfidentialPA110/23/201438 Fuego - Linux Test Framework • Working on lots of issues: • Command line tool • Test packaging • LAVA integration • Serial console transport • Presentation: • ELC 2017 BoF: Fuego Status and Roadmap – by Tim Bird 38
  • 39. ConfidentialPA110/23/201439 eLinux wiki • http://elinux.org • Web site dedicated to information for embedded Linux developers • The wikipedia of embedded linux! • Hundreds of pages covering numerous topic areas: bootup time, realtime, security, power management, flash filesystem, toolchain, editors • Lots of pages in last few years about low- cost development boards • Please use and add to site 39
  • 40. ConfidentialPA110/23/201440 Outline Kernel Versions Technology Areas CE Workgroup Projects Other Stuff Resources 40
  • 41. ConfidentialPA110/23/201441 Trade Associations • Linaro still doing lots of great work • Lava v2 and kernelci • Now promoting Zephyr • Linaro Connect consistently has useful material • Linux Foundation • Microsoft has joined the Linux Foundation as a platinum member • CE Workgroup officially changed its name to “Core Embedded Linux Project”
  • 42. ConfidentialPA110/23/201442 Conferences • ELC 2017 • Lots of great sessions • See: http://elinux.org/ELC_2017_Presentations • Open Source Summit Japan • May 31-June 2, Tokyo • Embedded Linux Conference Europe • October 23-25, Prague, Czech Republic • Embedded Linux Conference • March 12-14, Portland, Oregon, USA • Japan Jamborees • Continuing
  • 43. ConfidentialPA110/23/201443 ELC 2017 thoughts • Linus and Dirk fireside chat • 4.10 release was calm • 4.9 was a bit bigger due to LTS pre-announcement • Linus thinks is healthier to not push things based on a deadline, but 4.9 wasn’t too bad • Even after all these years, we see changes to core files • Linus said that Linux is general-purpose, so may not be appropriate for the lowest-footprint device • I feel vindicated
  • 44. ConfidentialPA110/23/201444 Outline Kernel Versions Technology Areas CE Workgroup Projects Other Stuff Resources 44
  • 45. ConfidentialPA110/23/201445 Resources • LWN.net • http://lwn.net/ • If you are not subscribed, please do so • Kernel Newbies • http://kernelnewbies.org/Linux_[34].? • eLinux wiki - http://elinux.org/ • Especially http://elinux.org/Events for slides • Celinux-dev mailing list 45