Fakultat¨ Informatik Institut f ¨urTechnische Informatik, Professur f ¨urVLSI-Entwurfssysteme, Diagnostik und Architektur

PLUGCOMPUTER

Alte Idee, Neuer Ansatz

Thomas Gartner¨

Dresden, 14.7.2010 Ubersicht¨

Motivation

Alte Idee: NSLU2

Neuer Ansatz: PlugComputer

Quellen

TU Dresden, 14.7.2010 PlugComputer Folie 2 von 24 Motivation Problemstellung

Wie kann ich meine personlichen¨ Daten und Dateien moglichst¨ effizient, f ¨urmich und ausgewahlte¨ Personen, ¨uberallund immer verf ¨ugbarmachen? • Soziale Netzwerke • Hostingdienste wie z.B. Flickr, Google Suite, YouTube . . . • Server anmieten Probleme: • Daten ¨ubergabean Dritte • Dienste wegen ihrer Große¨ f ¨urAngreifer attraktiv

TU Dresden, 14.7.2010 PlugComputer Folie 3 von 24 Motivation Losungsansatz¨

Idee: Eigener Server im eigenen, sicheren Netz das inzwischen meistens ohnehin standig¨ mit dem Internet verbunden ist. Vorteile: • Beschrankter¨ physikalischer Zugang f ¨urDritte • Voll anpassbar Nachteile: • Konfigurationsaufwand • Energieverbrauch • Larm¨ • Verantwortung f ¨urdie eigenen Daten

TU Dresden, 14.7.2010 PlugComputer Folie 4 von 24 Motivation Losungsansatz¨

TU Dresden, 14.7.2010 PlugComputer Folie 5 von 24 Alte Idee: NSLU2 Allgemein

Mit dem Network Storage Link von konnen¨ Sie die Speicherkapazitat¨ Ihres Netzwerks schnell und einfach um viele Gigabyte erweitern. Dieses kleine Netzwerkgerat¨ verbindet USB2.0-Festplatten direkt mit Ihrem Ethernet- Netzwerk. [Lina]

TU Dresden, 14.7.2010 PlugComputer Folie 6 von 24 Alte Idee: NSLU2 Außen

• 130 mm x 21 mm x 91 mm • 1x 10/100-RJ-45-Ethernet-Port • 2x USB 2.0-Port • 1x Stromanschluss

TU Dresden, 14.7.2010 PlugComputer Folie 7 von 24 Alte Idee: NSLU2 Innen

IXP420 (ARMv5TE) • 133 MHz, spater¨ 266 MHz • 8 MB Flash • 32 MB SDRAM

TU Dresden, 14.7.2010 PlugComputer Folie 8 von 24 Alte Idee: NSLU2 Modifikationen

• NSLU2 Firmware basiert auf ! • Ersetzbar durch , OpenWrt, SlugOS . . . • Umbau zum Server f ¨urMedien, Webseiten, VoIP . . . • Hardware setzt Limits

TU Dresden, 14.7.2010 PlugComputer Folie 9 von 24 TU Dresden, 14.7.2010 PlugComputer Folie 10 von 24 Abbildung: RAM-Upgrade einer NSLU2

TU Dresden, 14.7.2010 PlugComputer Folie 11 von 24 Abbildung: 34-Pin-Header mit diversen Signalen

TU Dresden, 14.7.2010 PlugComputer Folie 12 von 24 300 series Marvell Plug Computing Development Kit

Unlike Web 2.0 hosted services that use central servers on the Internet to store copies of data, the plug computing approach distributes computing power to every home. A can take advantage of peer-to-peer connectivity over the Internet, as well as the latest network protocols—such as Universal Plug and Play (UPnP)—that only work between devices in the home. In some scenarios, a hybrid approach, which combines hosted services with an in-home computing resource, can reduce deployment costs and make services easier to use. Developers can create native applications for the Plug Computer on the open-source Linux platform. Marvell also has created RainDrop, an open-source API framework that makes it effortless to deploy third-party applications onto the Plug Computer securely and in a resource-defined manner. Finally, the Plug Computer supports a Java Virtual Machine and an OSGI stack, allowing for the rapidNeuer deployment Ansatz: of third-party PlugComputer OSGI services.

DIAGRAMS Allgemein

Plug Computer CPU Gigabit WiFI/ - Wi-Fi / Development Kit USB 2.0 SATA - SATA Speed Ethernet• “Always-On” ComputerBT in Form

Gigabit USB eines Steckernetzteils Ethernet Plug Computer 1.0 1.2GHz √• Offenes√ Referenzdesign Digital Media Storage • Basiert auf Marvell SoC Plug Computer 2.0 1.2GHz √ √ √ • Implementationen von Buffalo, USB Camera D-Link, LaCie, Seagate, Cloud Ethernet

Plug Computer 3.0 2.0GHz √ Engines√ Inc. und vielen√ mehr√ DAS box

Fig 2. Comparison Chart Fig 3. Installation Diagram

TU Dresden, 14.7.2010 PlugComputer Folie 13 von 24

DDR2 SDRAM NAND FLASH 512MB 512MB Wi-Fi / Bluetooth SATA SDIO 3rd Party OSGI Bundles Sheeva™ CPU Core SDIO SDIO SDIO RGMII Single Issue 3rd Party Apps OSGI 16KB-I, 16KB-D UART Fedora Up to 2GHz UART OEM App RainDrop API Java VM LAN GigE PHY FT JTAG USB 2.0 256KB L2 JTAG 2232D USB USB Customizable and

Debian HEADER HEADER Extensible Infrastructure LED GPIO Gentoo Marvell ARM Reset Processor Kernel ...... Switch TWSI

Marvell Sheeva™ CPUs Debug Board 5V In Marvell AC/DC Filter Module PM RTC

POST, u-Boot, Linux

Fig 5. Software Development Diagram Fig 4. Block Diagram

PACKAGE CONTENTS Plug Computer, USB cable, ethernet cable, CD containing software and documentation.

THE MARVELL ADVANTAGE: Marvell chipsets come with complete reference designs which include board layout designs, software, manufacturing diagnostic tools, documentation, and other items to assist customers with product evaluation and production. Marvell’s worldwide field application engineers collaborate closely with end customers to develop and deliver new leading-edge products for quick time-to-market. Marvell utilizes world-leading semiconductor foundry and packaging services to reliably deliver high-volume and low-cost total solutions. ABOUT MARVELL: Marvell is a leader in storage, communications, and consumer silicon solutions. Marvell’s diverse product portfolio includes switching, transceiver, communications controller, processor, wireless, power management, and storage solutions that power the entire communications infrastructure, including enterprise, metro, home, storage, and digital entertainment solutions. For more information, visit our Web site at www.marvell.com.

Marvell Semiconductor, Inc. Copyright © 2010. Marvell International Ltd. All rights reserved. Marvell, Moving Forward Faster, the Marvell logo, Alaska, AnyVoltage, DSP Switcher, Fastwriter, Feroceon, Libertas, 5488 Marvell Lane Link Street, PHYAdvantage, Prestera, TopDog, Virtual Cable Tester, Yukon, and ZJ are Santa Clara, CA 95054 registered trademarks of Marvell or its affiliates. Armada, CarrierSpan, LinkCrypt, Marvell Phone 408.222.2500 Smart, PowerSmart PFC, Powered by Marvell Green PFC, Qdeo, QuietVideo, Sheeva, www.marvell.com TwinD, and VCT are trademarks of Marvell or its affiliate. All other trademarks are the property of their respective owners. PlugComputer_DevKit-01 1/10 300 series Marvell Plug Computing Development Kit

Unlike Web 2.0 hosted services that use central servers on the Internet to store copies of data, the plug computing approach distributes computing power to every home. A plug computer can take advantage of peer-to-peer connectivity over the Internet, as well as the latest network protocols—such as Universal Plug and Play (UPnP)—that only work between devices in the home. In some scenarios, a hybrid approach, which combines hosted services with an in-home computing resource, can reduce deployment costs and make services easier to use. Developers can create native applications for the Plug Computer on the open-source Linux platform. Marvell also has created RainDrop, an open-source API framework that makes it effortless to deploy third-party applications onto the Plug Computer securely and in a resource-defined manner. Finally, the Plug Computer supports a Java Virtual Machine and an OSGI stack, allowing for the rapid deployment of third-party OSGI services.

DIAGRAMS

Plug Computer CPU Gigabit WiFI/ - Wi-Fi / Bluetooth Development Kit USB 2.0 SATA - SATA Speed Ethernet BT

Gigabit USB Ethernet Plug Computer 1.0 1.2GHz ! ! Digital Media Storage

Plug Computer 2.0 1.2GHz ! ! ! USB Camera

Ethernet

Plug Computer 3.0 2.0GHz ! ! ! ! DAS box

Fig 2. Comparison Chart Neuer Ansatz: PlugComputerFig 3. Installation Diagram

DDR2 SDRAM NAND FLASH 512MB 512MB Wi-Fi / Bluetooth SATA SDIO 3rd Party OSGI Bundles Sheeva™ CPU Core SDIO SDIO SDIO RGMII Single Issue 3rd Party Apps OSGI 16KB-I, 16KB-D UART Fedora Up to 2GHz UART OEM App RainDrop API Java VM LAN GigE PHY FT Ubuntu JTAG USB 2.0 256KB L2 JTAG 2232D USB USB Customizable and

Debian HEADER HEADER Extensible Infrastructure LED GPIO Gentoo Marvell ARM Reset Processor Kernel ...... Switch TWSI

Marvell Sheeva™ CPUs Debug Board 5V In Marvell AC/DC Filter Module PM RTC

POST, u-Boot, Linux

TU Dresden, 14.7.2010 PlugComputer Folie 14 von 24 Fig 5. Software Development Diagram Fig 4. Block Diagram

PACKAGE CONTENTS Plug Computer, USB cable, ethernet cable, CD containing software and documentation.

THE MARVELL ADVANTAGE: Marvell chipsets come with complete reference designs which include board layout designs, software, manufacturing diagnostic tools, documentation, and other items to assist customers with product evaluation and production. Marvell’s worldwide field application engineers collaborate closely with end customers to develop and deliver new leading-edge products for quick time-to-market. Marvell utilizes world-leading semiconductor foundry and packaging services to reliably deliver high-volume and low-cost total solutions. ABOUT MARVELL: Marvell is a leader in storage, communications, and consumer silicon solutions. Marvell’s diverse product portfolio includes switching, transceiver, communications controller, processor, wireless, power management, and storage solutions that power the entire communications infrastructure, including enterprise, metro, home, storage, and digital entertainment solutions. For more information, visit our Web site at www.marvell.com.

Marvell Semiconductor, Inc. Copyright © 2010. Marvell International Ltd. All rights reserved. Marvell, Moving Forward Faster, the Marvell logo, Alaska, AnyVoltage, DSP Switcher, Fastwriter, Feroceon, Libertas, 5488 Marvell Lane Link Street, PHYAdvantage, Prestera, TopDog, Virtual Cable Tester, Yukon, and ZJ are Santa Clara, CA 95054 registered trademarks of Marvell or its affiliates. Armada, CarrierSpan, LinkCrypt, Marvell Phone 408.222.2500 Smart, PowerSmart PFC, Powered by Marvell Green PFC, Qdeo, QuietVideo, Sheeva, www.marvell.com TwinD, and VCT are trademarks of Marvell or its affiliate. All other trademarks are the property of their respective owners. PlugComputer_DevKit-01 1/10 Neuer Ansatz: PlugComputer Beispiel: SheevaPlug

• 110 mm x 70 mm x 49 mm • 1x Gigabit-Ethernet-Port • 1x USB 2.0-Port • 1x SD-Karte • 1x JTAG mini USB

TU Dresden, 14.7.2010 PlugComputer Folie 15 von 24 Neuer Ansatz: PlugComputer Beispiel: PogoPlug

• 1x Gigabit-Ethernet-Port • 4x USB 2.0-Port • Umfangreiche vorinstallierte Software • Zugangsservice ¨uber Hersteller-Website • Software-Modifikation vom Hersteller erlaubt und erw ¨unscht

TU Dresden, 14.7.2010 PlugComputer Folie 16 von 24 Neuer Ansatz: PlugComputer Und viele mehr . . .

TU Dresden, 14.7.2010 PlugComputer Folie 17 von 24 Neuer Ansatz: PlugComputer Probleme

Abbildung:W armeproblem¨ GuruPlug Server Plus TU Dresden, 14.7.2010 PlugComputer Folie 18 von 24 Neuer Ansatz: PlugComputer Leistung

• Wie leistungsfahig¨ ist so ein PlugComputer? • Wie hoch ist die Leistungsaufnahme? • Gibt es Verwendungsbeispiele?

TU Dresden, 14.7.2010 PlugComputer Folie 19 von 24 Neuer Ansatz: PlugComputer Leistung

Plattform Leistungsaufnahme Nbench2 Ergebnisse Preis Idle Max Mem Int Float NSLU2 3 W 10 W 0.786 1.089 0.083 < 75 e SheevaPlug 3 W 11 W 3.319 4.556 0.360 115 e Intel Atom 330 30 W 50 W 9.931 8.422 7.693 140 e PowerBook G4 18 W 41 W 13.524 11.717 12.039 1200 e

• Basiswert: AMD K6 266MHz • Intel Atom 330 = AsrockA330GC + 1GB RAM + Gehause,¨ ohne HDD

TU Dresden, 14.7.2010 PlugComputer Folie 20 von 24 Neuer Ansatz: PlugComputer Verwendungsbeispiel

• computingplugs.com lauft¨ auf einer SheevaPlug • Apache, MySQL, MediaWiki • MythTV Backend + Datenbank + Webfrontend • VNC Server f ¨urZugriff auf minimalen Window Manager • SSH Tunnel • NFS Server • Auslastung live auf [Unbb] • Weitere Ideen auf [Plu]

TU Dresden, 14.7.2010 PlugComputer Folie 21 von 24 QuellenI

ALESSIO: GuruPlug Server Plus Warmeproblem¨ . http://plugcomputer.org/plugforum/index.php?topic=1735.msg10695# msg10695.

CLOUDENGINES: PogoPlug. http://www.pogoplug.com.

DIVERSE: NSLU2-Linux. http://www.nslu2-linux.org.

IONIC: Ionic EMS Plugs. http://www.ionicsplug.com.

LINKSYS: Network Storage Link f ¨urUSB 2.0-Festplatten Datenblatt. Linksys.

TU Dresden, 14.7.2010 PlugComputer Folie 22 von 24 QuellenII

LINKSYS: Support f ¨urNSLU2. http://www.linksysbycisco.com/DE/de/support/NSLU2.

MARVELL: Plug Computer Referenz Design. http://www.marvell.com/platforms/plug_computer/.

MAYER,UWE: Nbench2 Results. http://www.tux.org/~mayer/linux/results2.html, Juni 2010. PLUGCOMPUTER.ORG: Anwendungs Ideen f ¨urPlugComputer. http: //www.plugcomputer.org/index.php/us/resources/innovation-plans.

UNBEKANNT: ComputingPlugs.com. http://www.computingplugs.com.

TU Dresden, 14.7.2010 PlugComputer Folie 23 von 24 Quellen III

UNBEKANNT: Live Statistik eines SheevaPlug Servers. http: //computingplugs.com/index.php/SheevaPlug_Real_time_Statistics.

UNBEKANNT: Ausf ¨uhrlicher Test Asrock A330GC mit Atom330. http://www.planet3dnow.de/vbulletin/showthread.php?p=3972879, Juni 2010.

TU Dresden, 14.7.2010 PlugComputer Folie 24 von 24