Transcription

Ubuntu ARM knowledgeDecember 8th 2011David MandalaARM Team Manager

Contents The Start Today Unique issues around ARM server ARMv8 64 bit ARM Server Ubuntu Core Convergent Devices Links2 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

The Start First Started working on Ubuntu ARM in October 2008 Derived from Debian, but made significant compilation changes to improve speed: ARM EABI ARMv7 (ARMv5t, ARMv6 was available in early releases of the ARM port [jaunty, karmic]) Vector Floating Point (vfp) Thumb2 instruction set (where possible) for smaller binaries NEON (in Libraries only) SMP supportFirst release in April 2009 (9.04) supporting the Freescale iMX51 development 6 Ubuntu ARM releases to date, released every 6 months with the rest of Ubuntu3 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

Today Latest current release October 2011 (11.10) Supports consumer development platforms First technical preview release of Ubuntu Server on ARM Very large application base, ready to install More then 17,000 application source packages in Ubuntu More then 35,000 binary application packages ready to installUbuntu Precise Pangolin (being worked on as we speak) Added new ARM architecture ARM hard float (ARMhf) Ubuntu leading the way, first commercial OS compiled for ARMhf, we are workingwith ARM, and Linaro to set the standard Better use of hardware registers in ARMv7 hardware, which makes allapplications a little faster Faster rendering of fonts and other floating point intensive tasks Future proofing, all ARMv7 hardware guaranteed to have floating point4 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

Today Ubuntu Precise Pangolin Ubuntu is now multiarch clean, this is actually useful for several things On Ubuntu x86 as a developer you can install exactly the same packages in thesame directory space as will be found on your ARM hardware You developing software for the ARM platform, cross-compiling it from yourx86-64 desktop system. You install all of the build-dependencies as armhfpackages, builds your package, and test it directly on your desktop running itunder qemu via binfmt-misc. The multiarch directory scheme required in order to make library packages coinstallable will be a target for FHS/LSB standardization in the future This makes sure that path dependencies are exactly the same on thedevelopment system as well as the target system, no more errors due toincorrect pathsCanonical is leading the way in standardization efforts around ARMhfAllows installing both 32 bit and 64 bit Ubuntu OS on the same machine at thesame time (more about this later)5 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

Today Ubuntu Precise Pangolin ARM Server will have it's second release with 12.04 We are working with major ARM SoC vendors to validate ARM server workloadsand to sort out issues that come from the extremely high density of ARMserversValidate 32 bit server loads Web Database Hadoop Membase MapReduce Search Indexing LXC OpenStack6 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

Unique issues around ARM server ARM servers are very high density, on the order of 72 servers per rack unit (U) oreven higher, so systems management becomes even more important then ever.When you are looking at more then 3,300 servers in one 19” rack, density becomesa real issue.7 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

Unique issues around ARM server (continued) Some of these servers will require a minimum of 3 ip addresses per server so youuse a lot of IP addresses quickly. On the order of 10,152 or more in a singlestandard 47U 8' tall rack, this translates to: Six racks of servers will exhaust mostof a class B IP address space (65,536 ip addresses)! This presents some challenges to manage deployments, so we have validatedCanonical tools to help make it easier both from deployment to management: Juju Orchestra Multi system application management toolManage hardware OS deployment (bare metal and virtual machines)Landscape Systems monitoring and management8 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

ARMv8 64bit ARM Server ARMv8 64 bit ARM servers are coming Canonical is working actively with ARM limited so that Ubuntu will be the first OSrunning on ARMv8 hardwareCanonical is working to standardize ARMv8 UEFI booting Canonical has been actively involved with unifying the ARM kernel tree, wecontinue to support a single unified Linux kernel This likely will take some time, we have lots of experience booting u-boot andother methods of booting ARMv7 systems, they will still work if need be.We will support ACPI on ARM as well as flattened device tree (FDT)Of course the management tools that run on 32bit ARM today will run on 64bitARM tomorrow9 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

ARMv8 64bit ARM Ubuntu will allow management of your applications to get best use of RAM andpower characteristics of the ARM cpu. The big draw to ARM servers clearly is muchlower power consumption compared to other platforms Ubuntu is now multi-arch, you can easily run both the 32 bit and 64 bit ARMapplications on the same 64bit ARM machine at the same time. This allows you to make best use of system resources, balance RAM and powerusage to delivery needs Not all applications running on a 64 bit system need to actually be 64bit,many applications don't use more then 4 gigs of RAMSmaller 32bit binary save about ½ the memory space and load quickerAllows you to select the appropriate sized application for best RAM and powerusage. Clearly certain applications need to be 64bit (Databases, Javaapplications) but others can do everything needed in the smaller addressspace of the 32bit binaries10 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

Ubuntu Core Ubuntu Core is a minimal rootfs for use in the creation of custom images forspecific needs Good for developing products from, it's the smallest Ubuntu footprintstarting point Smallest instance of Ubuntu that when combined with a Ubuntu kernel anda boot method will result in apt-get working Available for ARM, and x86 both 32bit and 64bitDelivers a functional user-space environment, with full support forinstallation of additional software from the Ubuntu repositories, throughthe use of the apt-get commandUbuntu Core is not a super small run-in-memory embedded distribution; itis the smallest implementation of Ubuntu that enables one to install otherpackages11 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

Convergent Devices There are lots of separate devices out there todayCanonical has experience working with Android and Ubuntu running on thesame device at the same time. Boots as an Android phone Switches Ubuntu to the active display when dockedUbuntu Phone, TV, Notebook Announced at Ubuntu Developers Summit October 31st 2011Early stages, work is being done on Unity to accommodate from smallscreen to very large screenCan have a single mobile device that is the device that when dockeddrives devices with the correct screen layout See Mark Shuttlesworth's presentation at the October UDS.12 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011

Update and Links http://www.ubuntu.com/arm http://www.canonical.com/arm https://wiki.ubuntu.com/arm tu-core https://wiki.ubuntu.com/Core ablet-and-tv-discussion-opened/ http://www.youtube.com/watch?v 0bOwyGYTMv8&feature youtu.be&t 24m42s https://wiki.ubuntu.com/UbuntuTV/Designs https://wiki.ubuntu.com/UbuntuPhone/Designs 13 confidential

Thank youQuestions ?

5 Canonical Confidential Ubuntu Hardware Summit. December 8th 2011 Today Ubuntu Precise Pangolin Ubuntu is now multiarch clean, this is actually useful for several things On Ubuntu x86 as a developer you can install exactly the same packages in the same directory space as will be found on your ARM hardware You developing software for the ARM platform, cross-compiling it from your