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. AT Attachment (ATA) is a standard interface for connecting storage devices such as hard disks and CD-ROM drives inside personal computers.interfacestoragehard disksCD-ROMpersonal computersinterfacestoragehard disksCD-ROMpersonal computers SCSI (Small Computer System Interface) is a set of standards for physically connecting and transferring data between computers and peripheral devices. SCSI (Small Computer System Interface) is a set of standards for physically connecting and transferring data between computers and peripheral devices.standards peripheral devicesstandards peripheral devices Sets of commands to communicate between computer and hard drives/peripheral devices. Sets of commands to communicate between computer and hard drives/peripheral devices.
NAS and SAN NAS (Network Attached Storage) NAS (Network Attached Storage) File I/O File I/O NFS, CIFS NFS, CIFS TCP/IP NFS ClientNFS Server Client File System Server File System Client OSServer OS StorageUser
NAS and SAN SAN (Storage Area Network) SAN (Storage Area Network) Block I/O Block I/O iSCSI, HyperSCSI, AoE, FC protocols iSCSI, HyperSCSI, AoE, FC protocols Less overhead then File I/O Less overhead then File I/O Network Block I/O driver Block I/O Target driver Client File System Server OS Client OSStorage User
Data Sharing on Mobile Devices File I/O : NFS, FTP, CIFS, HTTP….(Traditional ways) File I/O : NFS, FTP, CIFS, HTTP….(Traditional ways) Block I/O: AoE, HyperSCSI, iSCSI Block I/O: AoE, HyperSCSI, iSCSI Block I/O have higher performance then File I/O Block I/O have higher performance then File I/O iSCSI can achieve 10 times faster then NFS iSCSI can achieve 10 times faster then NFS Using network storage as local drive Using network storage as local drive This project is about AoE and HyperSCSI on mobile devices. This project is about AoE and HyperSCSI on mobile devices.
AoE(ATA over Ethernet) and HyperSCSI ATA and SCSI commands are encapsulated in Ethernet frame and transmit over Ethernet. ATA and SCSI commands are encapsulated in Ethernet frame and transmit over Ethernet. Unlike iSCSI, these 2 protocols does not lay above TCP/IP layer, thus it have better performance then iSCSI. Unlike iSCSI, these 2 protocols does not lay above TCP/IP layer, thus it have better performance then iSCSI. It uses MAC addresses. It uses MAC addresses. It is not routable. It is not routable.
Physical Data link Network Transport iSCSI Physical Data link AoE Physical Data link HyperSCSI
Application Scenario SCSI Server running HyperSCSI Target Driver Access Point Wireless Network Device running HyperSCSI Initiator Driver and AoE Initiator Driver PDA using Virtual Mounted Storage SCSI / ATA Block IO Home/Office Network PC/Notebook running AoE Target Driver
Components AoE/HyperSCSI kernel module (driver) AoE/HyperSCSI kernel module (driver) Download from Open Source project and cross compile to PDA version. Download from Open Source project and cross compile to PDA version. Simple AoE/HyperSCSI GUI program Simple AoE/HyperSCSI GUI program Developed using Qt/Embedded + Opie Libraries. Developed using Qt/Embedded + Opie Libraries. C++ C++
Main Functions Load/Reload/Unload kernel modules Load/Reload/Unload kernel modules List Detected Drives List Detected Drives Mount Detected Drives Mount Detected Drives Open Mounted Disk using File Manager Open Mounted Disk using File Manager Do appropriate configurations Do appropriate configurations
AoE Demostration
Mounting
Browse and Use
HyperSCSI Demostration
Configuration
Loading Module
Mounting
Browse and Use
Questions?
End