Open Source Practice of LG Electronics Hyo Jun Im Software Platform - - PowerPoint PPT Presentation

open source practice of lg electronics
SMART_READER_LITE
LIVE PREVIEW

Open Source Practice of LG Electronics Hyo Jun Im Software Platform - - PowerPoint PPT Presentation

Open Source Practice of LG Electronics Hyo Jun Im Software Platform Laboratory, LG Electronics Introduction to LG Electronics LG Electronics is a global leader and technology innovator in consumer electronics, mobile communications and home


slide-1
SLIDE 1

Open Source Practice of LG Electronics

Hyo Jun Im Software Platform Laboratory, LG Electronics

slide-2
SLIDE 2

Introduction to LG Electronics

LG Electronics is a global leader and technology innovator in consumer electronics, mobile communications and home appliances.

slide-3
SLIDE 3

Overview

This presentation covers both the open source compliance and open source engagement

  • Compliance

Engagement

slide-4
SLIDE 4

Open Source Compliance

How LG Electronics built the open source compliance process from scratch.

slide-5
SLIDE 5

Steps for Building Up Open Source Compliance Process

| Kick-starting open source compliance | Raising awareness | Setting up the process | Filling holes in the process | Efficient open source compliance

slide-6
SLIDE 6

Kick-starting Open Source Compliance

| Challenges

> Lack of knowledge on open source compliance > Lack of verification tools

| What we did

> Just rushed into writing the open source software notice in the user manual > Manual open source identification and verification

| What we got

> Basic knowledge of popular open source licenses > Need for automated verification tools > Knowledge on practical issues with open source compliance

slide-7
SLIDE 7

Raising Awareness

| Introduction to relevant lawsuit case | Online / Offline training | Escalation of the open source compliance issues to management | Help from outside experts

slide-8
SLIDE 8

Industry Lawsuit Case

  • 2006
  • 2007
  • 2008
  • 2010

Distributors can be held responsible, and lawsuits filed against them Similar to the case with Skype Forced to give TVs to charity organizations as well as pay a penalty Set the precedent that the sale of a product can be prohibited

slide-9
SLIDE 9

Online Training

slide-10
SLIDE 10

Setting up the Process

| Verification Tool | Getting the open source compliance process into the product development process | Engagement from the legal department | Corporate-wide standard rules and processes | Monitoring | Training of the people involved in open source compliance

slide-11
SLIDE 11

Internal Workshop

slide-12
SLIDE 12

Monthly Newsletters and Documents

slide-13
SLIDE 13

Internal Information Site

slide-14
SLIDE 14

Filling Holes in the Process

| 3rd party software | OEM / ODM products | Conflict with the business | Non-Linux products | Organizations left out of the process

  • Need one focal point in charge of open source compliance
slide-15
SLIDE 15

Efficient Open Source Compliance

| Distribution Site | Verification Automation | Accumulating knowledge and claims

slide-16
SLIDE 16

Open Source Distribution Site

http://opensource.lge.com

slide-17
SLIDE 17

Open Source Compliance Process in General

| Linux Foundation’s recommended compliance process

  • !"
slide-18
SLIDE 18

LGE’s Open Source Compliance Process

| Outline commonly used corporate process | Business units optimize the process to fit their specific needs

slide-19
SLIDE 19

Recent Issues

| Ambiguous licenses | Errors in the original open source software | Non-Linux products

  • Direct communication with customers and community is important
  • Just answer the phone! (quote by Professor Eben Moglen)
slide-20
SLIDE 20

Open Source Engagement

How LG Electronics is engaged in open source development.

slide-21
SLIDE 21

Steps for Open Source Engagement

| Encouraging engineers | Getting consensus from management | Dealing with fragmentation

slide-22
SLIDE 22

Encouraging Engineers

| Motivating engineers

> Engineers can learn a lot from kernel experts worldwide > Individuals (not companies) are appreciated from the community > Less burden on maintaining

| Rewarding contributors

> Acknowledge by the boss or organization > Open Source Newbie Award

slide-23
SLIDE 23

Getting Consensus from Management

| Highlight the short-term and practical benefits | Appealing corporate-wide benefits from open source engagement

> Capability building for essential open source software > Low maintenance cost > Catching up with the latest version of the open source > Reviews by gurus improve software quality

| Persuading management

> Talk with the specific numbers and cases > Getting help from outside experts

slide-24
SLIDE 24

Dealing with the Fragmentation

| Causes of fragmentation

> Different source of original open source > Fragmentation by individual developers > Fragmentation by different organizations

| Dealing with fragmentation

> No magic bullet > Active information sharing among developers > Maintaining list of patches rather than whole tree > Internal open source repository > Upstreaming

slide-25
SLIDE 25

Android Case

  • LTSI is the initiative to reduce fragmentation
slide-26
SLIDE 26

Open Source Repository

Open Open Open Open source source source source Open Open Open Open source source source source Open Open Open Open source source source source Open Open Open Open source source source source

  • | Internal open source repository

> Internal source tree for open source software > Patches made by each product team are merged into the repository > Staging area for candidate patches to be submitted to community

slide-27
SLIDE 27

Case Study: SCSI Subsystem

| Problem description

> Kernel panic on sudden detach of USB storage device in TV > Caused by the race condition in SCSI subsystem

| Working with the community

> Developed a simple patch and applied to the product > Submitted the patch to LKML > Bart Van Assche further developed the patch (with 9 patches) > Zhuang, Jin Can of Intel fixed a potential problem with the patch

| Getting benefits from community

> Later on, we found another kernel panic on sudden detach of USB device > By applying the community patch, we fixed the problem!!

slide-28
SLIDE 28

LG’s Kernel Contributions

| LG Electronics is actively contributing to Linux kernel since 2012

> Some full-time Linux contributors

| Contributions are focused on the core kernel

> mm: vrange, per-process reclaim, slub, zram improvements, … > perf: perf trace, event group view, ftrace integration, …

Kernel version 3.4 3.5 3.6 3.7 3.8 Contributions 28 (0.2%) 52 (0.4%) 47 (0.4%) 98 (0.8%) 46 (0.3%) Core kernel contributions* 27 (1.7%) 48 (3.0%) 41 (3.4%) 97 (5.3%) 42 (2.7%)

* core kernel: kernel mm tools fs * core kernel: kernel mm tools fs * core kernel: kernel mm tools fs * core kernel: kernel mm tools fs

slide-29
SLIDE 29

Issues with Linux Contribution

| Time difference | Language barrier | Time-to-market | Alignment with business | Explaining embedded-specific issues to the community

slide-30
SLIDE 30

Thank You!

| Thank you, kernel community

> for making such a great OS and enabling us to make innovative products > for reviewing patches and giving us valuable feedback > for steadily maintaining kernel with high quality

| Thank you, Linux Foundation

> for your effort to protect and grow Linux > for holding various events for kernel developers > for giving us insight on the value of open source

slide-31
SLIDE 31