rio: a system solution to sharing i/o between mobile devices

Post on 13-Feb-2017

133 Views

Category:

Education

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

M1GP

RIO: A SYSTEM SOLUTION FOR SHARING I/O BETWEEN MOBILE DEVICESARDALAN AMIRI SANI , KEVIN BOOS, MIN HONG YUN, AND LIN ZHONGMOBISYS 2014

Asami – Kawahara lab: Martin Axelsson (R)

05/01/2023 1

Motivation and Background

05/01/2023 3M1GP

Motivation and BackgroundI/O sharing, Why? Why Rio?

Three novel reasons◦ Different possible physical locations and orientations◦ Mobile systems can serve different users◦ System locked I/O Devices

Current Solutions’ limitations◦ Only support custom applications Does not support sharing device itself⇒◦ Does not expose full functionality ◦ I/O class specific Difficult to implement sharing for more I/O devices⇒

05/01/2023 4M1GP

ImplementationSplitstack-model

05/01/2023 5M1GP

ImplementationI/O stack split between systems ⇒ Problems!

Problems1. Process and driver reside separately in two systems2. Latency3. Unexpected disconnects may cause problems to the OS

Solution1. Cross-system mapping2. Reduce number of roundtrips 3. Clean up residuals of I/O and switch to local I/O

05/01/2023 6M1GP

ImplementationCross-system memory mapping

05/01/2023 7M1GP

ImplementationLatency reduction

Unoptimized Rio Optimized Rio

05/01/2023 8M1GP

ImplementationSafe disconnections

① Client stub transmits heart beat signal to server stub

② Server immediately transmits back acknowledgement.

③ If no acknowledgement  ⇒ Both trigger disconnection

Server:

④ Clean up residuals from disconnect(eg. Close_map handler for each mmapped are)

Client:

⑤ Clean up residuals from disconnect

⑥ Switch to local I/O device if present.

If not, return error messages.

05/01/2023 9M1GP

EvaluationCamera

05/01/2023 10M1GP

Related work Paradice: Paravirtualization of I/O devices at the device files Other I/O sharing : Remote file systems, network USB devices, wireless displays, remote printers and IP cameras. Con : I/O class specific

05/01/2023 11M1GP

ConclusionFuture use cases:Multi-user gaming, Music sharing, Multi-view video conferencing, Multi-camera

photography, “One SIM card,many systems”, etc.

Left to solveSupporting more classes of I/O devicesSupporting iOSInterface for sharing

05/01/2023 12M1GP

Thank you!

05/01/2023 13M1GP

top related