IP-Only Server Muli Ben-Yehuda, Oleg Goldshmidt, Hillel Kolodner, Zorik Machulsky, Vadim Makhervaks, Julian Satran, Marc Segal, Leah Shalev, Ilan Shimony IBM Haifa Research Laboratory

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.1/30

Do Servers Look Different from PCs?

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.2/30

Should Servers Look Different? probably yes: disks can — and should — be remote: FC or iSCSI (including boot) removable media (CD-ROM, floppy, etc.) are used only for installation, and are not used at all with modern installation methods no users working directly on the console, remote administration SSH/X MS Windows Terminal Services VNC KVM console is still needed for some operations, notably “before” and “after” OS — BIOS configuration, crash (BSOD, panic) c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.3/30

How Different Can Servers Be?

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.4/30

So Let’s Remove The Legacy Stuff! universal I/O channel — IP/Ethernet iSCSI disk access (including boot) “remote” all legacy peripherals over network: KVM USB removable media etc.

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.5/30

Advantages of Removing Stuff less components on board improved MTBF real estate savings better air flow power savings management access from anywhere, all the time no more walking around with a laptop and a serial cable a remote user calls, says he cannot boot... simultaneous access to multiple machines multiplatform solution with no loss of functionality c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.6/30

Hasn’t This Been Done Already? lots of software solutions to access OS and applications, when the OS is operational SSH/X, MS WTS, VNC, SunRay, Citrix, USB/IP add-on HW solutions: KVM/IP (Cyclades, etc.) add-on HW/FW: SOL — IBM’s RSA, Intel’s AMT/vPro partial: IBM Power blades don’t have a graphics adapter specific to Linux/LinuxBIOS: remote access to pre-OS and post-OS environments LinuxBIOS, netconsole, netdump Super Dense Server (IBM) (also specific) small board with CPU, DRAM, NIC, flash LinuxBIOS, modified Linux, COE (text mode) c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.7/30

Hardware Emulation emulate legacy controllers in a single, simple, cheap piece of hardware ASIC or FPGA HW identifies itself as the legacy controllers captures all the relevant bus transactions and sends over network, the actual I/O is performed on the other end completely transparent to all software and firmware applications, OS, bootloader, BIOS run the usual software without modifications essential for pre-OS and post-OS environments the main CPU, NIC need not be operational c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.8/30

Design Guidelines run unmodified software/firmware stack remote access from power-on to power-off or crash while OS is operational other methods may be more efficient minimal state for disconnected operation boot over network, RTC initalized by remote device must operate disconnected (except storage) text and graphical (VGA) support open protocols, remote station not proprietary concurrent access to multiple servers

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.9/30

Approaches to I/O Emulation iPRP: PCI over IP capture PCI transactions, send as IP packets receive responses as IP packets, send to PCI bus server cannot work disconnected debugging tool, mainly to find all the places where BIOS and OS touch local devices RFB: Remote Framebuffer (protocol behind VNC) translate KVM PCI transactions to RFB, send to remote station the remote station is a normal VNC client network is necessary only for display and user input, other PCI transactions can be processed locally can operate disconnected c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.10/30

iPRP vs. RFB

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.11/30

Implementation Xilinx FPGA evaluation board with Ethernet plug-in 50 MHz 378 K of memory 8400 logic slices (≈ 106 gates) major components: expansion ROM PCI interface network interface transaction processing

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.12/30

Expansion ROM Something needs to tell the host (the BIOS) that it is a video card Implemented a BIOS expansion ROM on the FPGA evaluation board contains the VGA initialization routines invoked by the main system BIOS during boot based on the GPL VGA BIOS from the Bochs x86 emulator with insignificant modifications

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.13/30

PCI Interface I responsible for correct presentation and behavior on the PCI bus answers to the following addresses on the bus: I/O addresses 0x60, 0x64 — keyboard controller I/O ranges 0x3B0 ÷ 0x3BB, 0x3C0 ÷ 0x3DF — VGA controller memory range 0xA0000 ÷ 0xBFFFF — VGA memory

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.14/30

PCI Interface II VGA BIOS discovers the device as an add-on VGA adapter considers it the default (as opposed to the on-board one) configures the chipset so that all VGA I/O and memory transactions are routed to the device KB and mouse require NB and I/O bridge configuration by BIOS transactions are captured and placed into a FIFO

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.15/30

Network Interface low-level interface to the Ethernet adapter DMA engine in general, does not have to be separate overhead is small separate link is useful, in case the main link is down or saturated in our implementation, iSCSI used the main link, and KVM used the FPGA’s Ethernet interface

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.16/30

Transaction Processing a single firmware loop get transactions from the FIFO (put there by the PCI interface module) if possible, process locally else wrap the transaction in an iPRP or RFB packet and send to the network read responses from network forwarded to the PCI interface, sent to bus

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.17/30

iPRP Protocol I UDP-based includes a simple recovery mechanism UDP checksum for data correctness go-back-N for delivery correctness emulates PCI memory and I/O transactions, configuration space accesses main design guideline: simplicity and ease of implementation not a PCI implementation, cannot be used to talk to a PCI bridge makes FPGA transparent

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.18/30

iPRP Protocol II command: a PCI transaction, e.g., memory read, I/O write, ACK message: N commands in a UDP packet only the last command may be a read send triggers: read, timeout, maximal message size

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.19/30

iPRP Protocol: Debugging remote station based on the PCI device code from the open source Bochs emulator fed it the PCI transactions received as iPRP payload for host writes updated the VGA, keyboard, mouse state machines, displayed the Bochs screen to user for host reads send response back exceptional debugging tool: trivial to extract and log the actual server PCI transactions on the remote station the log can drive a standalone or emulation version of the RFB-based firmware for debugging or verification remarkably robust — ran for days on end (light load) c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.20/30

RFB Protocol I based firmware on Bochs code (same as used for iPRP remote) ported to C, eliminated the use of libraries and facilities FPGA does not have reduced memory footprint (< 250 K), improved efficiency (50 MHz, no caches) implemented a VNC server in firmware open protocol, remote station can be a regular VNC client Bochs includes an RFB implementation (needed many modifications) removed VGA modes not used by Linux or Windows, 128 K framebuffer c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.21/30

RFB Protocol II custom embedded TCP stack very low memory, minimal copying implements a complete TCP state machine single loop, no context switching, no memory management local processing, host reads answered immediately heuristics to decide when to update the remote station

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.22/30

Dirty Tricks and Black Magic coalesce sequential write transactions in larger packets RFB: handle read transaction locally iPRP: send reads over immediately, to avoid “bus parking”, host CPU stalling interrupt requests from network (e.g., keyboard) need to generate IRQ1, but cannot do it with an add-on card issue a write PCI transaction to the chipset’s OpenHCI USB register (legacy keyboard emulation), chipset raises IRQ1, host CPU accesses 0x60 I/O port captured by FPGA, that responds with the 0x60 content c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.23/30

Experimental Setup 2 identical IBM x235 servers with PCI-based FPGA evaluation boards with 100 Mb/s network interfaces remote station: TP R40, 1.4 GHz Pentium M, 512 M RAM servers booting Windows 2003 Server or RHEL 3.0 iSCSI targets on Intellistation MPro PCs (via main NIC) used local disks for KVM performance measurements compared wall time of server boot native, iPRP, RFB from power-on to Linux console prompt or “Welcome to Windows” compared user experience after boot c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.24/30

Boot Performance Evaluation NB: 50 MHz CPU, no caches, no tuning Linux: native: 238 sec iPRP: 343 sec RFB: 330 sec (38% slowdown) Windows: native: 186 sec iPRP: 299 sec RFB: 289 sec (55% slowdown) c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.25/30

Network Throughput

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.26/30

Summary we designed and implemented an “IP-Only Server” featuring: a single I/O channel — IP/Ethernet network iSCSI disk access (including boot) I/O emulation HW provides remote KVM access from power-on to power-off or crash, concurrently to multiple servers no modifications to software stack OS-independent, platform-independent remote station a VNC client, can be disconnected and reconnected at will, from anywhere some slowdown (FPGA a bottleneck), acceptable user experience c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.27/30

Prospects support more peripherals port to other architectures (e.g., Power) virtualization: give unmodified guests physical device access, while providing isolation and offering each guest its own view of I/O subsystem transparent virtualization layer: separate sets of device control registers for different partitions share a remote device between several servers numerous (network-related) security issues I’d like to have one at home (monitor in the living room, CPU, disks, fans in a closet) c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.28/30

MORE INFORMATION: USENIX’06 proceedings. IBM Research Technical Report Feel free to write to [email protected]

QUESTIONS? c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.29/30

BACKUP

c IBM Corporation 2006

ClubNet, Technion, Haifa, IL

November 15, 2006

– p.30/30

IP-Only Server

UDP checksum for data correctness go-back-N for delivery correctness .... I'd like to have one at home (monitor in the living room,. CPU, disks, fans in a closet).

1MB Sizes 2 Downloads 180 Views

Recommend Documents

dhcp server configuration in windows server 2008 r2 pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. dhcp server ...

SERVER MONITORING SYSTEM
Department of Computer Science and Information Technology ... SYSTEM” in partial fulfillment of the requirements for the degree of ... the period of last three and half years. .... CHAPTER 2: REQUIREMENT AND FEASIBILITY ANALYSIS .

server * g
server 60 has, for example, a database such as title informa tion of commercially .... A data base in Which the additional information for the music data mentioned ...

pdf server
... was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. pdf server. pdf server.

Server Action - Developpez.net
Page 3 ... flow will be call by the action system. Trigger On ... need only few things to configure and tiny will send the email very quickly and in easy way. Even.

server errors - Sascha Fahl
Certificate error reports may contain private information. For ex- ample, a certificate from an intranet might ... example, if the user's local system clock is set incorrectly, it may prevent a report about the condition from ...... droid, accounting

server errors - Sascha Fahl
HTTPS connection and replaces the certificate chain with one that the client cannot validate. Our pipeline classifies the following types of network errors: 4.3.1 Captive portal errors. Airport, hotel, and enterprise net- works often block access to

blade server vs rack server pdf
... of the apps below to open or edit this item. blade server vs rack server pdf. blade server vs rack server pdf. Open. Extract. Open with. Sign In. Main menu.

Microsoft odbc sql server driver neither dsn nor server keyword ...
server keyword supplied.Hp universal print driver for windows xp. Sony vaio pro 13 driver windows 7.Driver hp photosmart b109nwireless.Canon pixmaip1200 ...

Windows-Server-2008-Server-Core-Administrator-s-Pocket ...
Windows-Server-2008-Server-Core-Administrator-s-Pocket-Consultant.pdf. Windows-Server-2008-Server-Core-Administrator-s-Pocket-Consultant.pdf. Open.

Server Dell.pdf
Mar 10, 2017 - Page. 1. /. 6. Loading… .... NETWORK & RAID CONTROLLER CARD. 405-AADZ Kit - SAS ... UPGRADE - WARRANTY SERVICES. 682-24357 ...

Server Security.pdf
An interface between web servers and their. clients is termed ... Discuss buffer overrun in Windows Kernel. message ... Displaying Server Security.pdf. Page 1 of 5.

Server HP.pdf
... E5-2609v4 Base AP Svr 1. 6,427. 726536-B21 HPE 9.5mm SATA DVD-ROM Jb Gen9 Kit 1. 784603-B21 HPE ML150 Gen9 Slim ODD Enablement Kit 1. 779861-B21 HPE ML150 Gen9 PCI BAFFLE Kit 1. 672097-373 HPE USB BFR-PVC AP-INTL Keybrd/Mouse Kit 1. Page 3 of 13.

Server Lenovo.pdf
... SATA 3.5in G2SS 512e HDD 2. Hardbundled 1.5m, 10A/100-250V, C13 to IEC 320-C14 Rack Power Cable 1. *ServeRAID C110 for Software RAID 0, 1, 5, 10.

Sams - IIS Windows Server
analyzing and designing enterprise-wide solutions have been used by large corpora- ... I will carefully review your comments and share ..... Although this is not an exhaustive list, a manifest con- tains. • Assembly name. • Version. • Files in

Server Security.pdf
What is MAC spoofing ? 12. What are temporary internet files ? 13. Describe ... OSEI-044 3. Page 3 of 5. Main menu. Displaying Server Security.pdf. Page 1 of 5.

Alter Server note.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying.

The Proxy Server
Introduction. A Proxy Server is a medium in which users within the LAN can gain access to the Internet efficiently and much more securely. The proxy server acts ...

pdf terminal server
File: Pdf terminal server. Download now. Click here if your download doesn't start automatically. Page 1 of 1. pdf terminal server. pdf terminal server. Open.

Debian Server Final.pdf
Page 2 of 61. Al-Mansyurin Team © 2011 H a l | 2. Konfigurasi Debian Server. DAFTAR ISI. BAB I PENGENALAN. 1. Opening .

Debian Server Final.pdf
Page 2 of 15. Al-Mansyurin Team © 2011 H a l | 2. Konfigurasi Debian Server. DAFTAR ISI. BAB I PENGENALAN. 1. Opening .

HP Server rack.pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. HP Server rack.pdf. HP Server rack.pdf. Open. Extract. Open with.

Hydra Master Server -
Jan 21, 2016 - The Warewulf Master is deployed on same server and the HYDRA File Server on host, D1P-HYDRAFS01. This deployment assumes that the ...