aoe and hyperscsi on linux pda

21
AoE and HyperSCSI on AoE and HyperSCSI on Linux PDA Linux PDA Prepared by Prepared by They Yu Shu They Yu Shu

Upload: zeke

Post on 05-Feb-2016

71 views

Category:

Documents


0 download

DESCRIPTION

AoE and HyperSCSI on Linux PDA. Prepared by They Yu Shu. ATA and SCSI. AT Attachment (ATA) is a standard interface for connecting storage devices such as hard disks and CD-ROM drives inside personal computers . - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: AoE and HyperSCSI on Linux PDA

AoE and HyperSCSI on AoE and HyperSCSI on Linux PDALinux PDA

Prepared by Prepared by

They Yu ShuThey Yu Shu

Page 2: AoE and HyperSCSI on Linux PDA

ATA and SCSIATA and SCSI

AT Attachment (ATA) AT Attachment (ATA) is a standard is a standard interfaceinterface for connecting for connecting storagestorage devices such as devices such as hard diskshard disks and and CD-ROMCD-ROM drives inside drives inside personal computerspersonal computers. .

SCSISCSI ( (Small Computer System InterfaceSmall Computer System Interface) is a ) is a set of set of standardsstandards for physically connecting and for physically connecting and transferring data between computers and transferring data between computers and peripheral devicesperipheral devices. .

Sets of commands to communicate between Sets of commands to communicate between computer and hard drives/peripheral devices.computer and hard drives/peripheral devices.

Page 3: AoE and HyperSCSI on Linux PDA

NAS and SANNAS and SAN

NAS (Network Attached Storage)NAS (Network Attached Storage)File I/OFile I/ONFS, CIFSNFS, CIFS

TCP/IP TCP/IP

NFS Client NFS Server

Client File System

Server File System

Client OS Server OS

StorageUser

Page 4: AoE and HyperSCSI on Linux PDA

NAS and SANNAS and SAN

SAN (Storage Area Network)SAN (Storage Area Network)Block I/OBlock I/O iSCSI, HyperSCSI, AoE, FC protocolsiSCSI, HyperSCSI, AoE, FC protocolsLess overhead then File I/OLess overhead then File I/O

Network Network

Block I/O driver

Block I/OTarget driver

Client File System

Server OS

Client OS Storage

User

Page 5: AoE and HyperSCSI on Linux PDA

Data Sharing on Mobile DevicesData Sharing on Mobile Devices

File I/O : NFS, FTP, CIFS, HTTP….File I/O : NFS, FTP, CIFS, HTTP….(Traditional ways)(Traditional ways)

Block I/O: AoE, HyperSCSI, iSCSIBlock I/O: AoE, HyperSCSI, iSCSIBlock I/O have higher performance then Block I/O have higher performance then

File I/OFile I/O iSCSI can achieve 10 times faster then NFSiSCSI can achieve 10 times faster then NFSUsing network storage as local driveUsing network storage as local drive

This project is about AoE and HyperSCSI This project is about AoE and HyperSCSI on mobile devices.on mobile devices.

Page 6: AoE and HyperSCSI on Linux PDA

AoE(ATA over Ethernet) AoE(ATA over Ethernet) and HyperSCSIand HyperSCSI

ATA and SCSI commands are ATA and SCSI commands are encapsulated in Ethernet frame and encapsulated in Ethernet frame and transmit over Ethernet.transmit over Ethernet.

Unlike iSCSI, these 2 protocols does not Unlike iSCSI, these 2 protocols does not lay above TCP/IP layer, thus it have better lay above TCP/IP layer, thus it have better performance then iSCSI.performance then iSCSI.

It uses MAC addresses.It uses MAC addresses. It is not routable.It is not routable.

Page 7: AoE and HyperSCSI on Linux PDA

Physical

Data link

Network

Transport

iSCSI

Physical

Data link

AoE

Physical

Data link

HyperSCSI

Page 8: AoE and HyperSCSI on Linux PDA

Application ScenarioApplication ScenarioSCSI Server runningHyperSCSI Target Driver

Access Point

Wireless Network

Device runningHyperSCSI Initiator Driver

andAoE Initiator Driver

PDA using Virtual

Mounted Storage

SCSI / ATA Block IO

Home/OfficeNetwork

PC/Notebook running AoE Target Driver

Page 9: AoE and HyperSCSI on Linux PDA

ComponentsComponents

AoE/HyperSCSI kernel module (driver)AoE/HyperSCSI kernel module (driver)Download from Open Source project and Download from Open Source project and

cross compile to PDA version.cross compile to PDA version.Simple AoE/HyperSCSI GUI programSimple AoE/HyperSCSI GUI program

Developed using Qt/Embedded + Opie Developed using Qt/Embedded + Opie Libraries.Libraries.

C++C++

Page 10: AoE and HyperSCSI on Linux PDA

Main FunctionsMain Functions

Load/Reload/Unload kernel modules Load/Reload/Unload kernel modules List Detected DrivesList Detected DrivesMount Detected DrivesMount Detected DrivesOpen Mounted Disk using File ManagerOpen Mounted Disk using File ManagerDo appropriate configurationsDo appropriate configurations

Page 11: AoE and HyperSCSI on Linux PDA

AoE DemostrationAoE Demostration

Page 12: AoE and HyperSCSI on Linux PDA

MountingMounting

Page 13: AoE and HyperSCSI on Linux PDA

Browse and UseBrowse and Use

Page 14: AoE and HyperSCSI on Linux PDA

HyperSCSI DemostrationHyperSCSI Demostration

Page 15: AoE and HyperSCSI on Linux PDA

ConfigurationConfiguration

Page 16: AoE and HyperSCSI on Linux PDA
Page 17: AoE and HyperSCSI on Linux PDA

Loading ModuleLoading Module

Page 18: AoE and HyperSCSI on Linux PDA

MountingMounting

Page 19: AoE and HyperSCSI on Linux PDA

Browse and UseBrowse and Use

Page 20: AoE and HyperSCSI on Linux PDA

Questions?Questions?

Page 21: AoE and HyperSCSI on Linux PDA

EndEnd