38
Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele cloud computing Pieter Simoens Openbare doctoraatsverdediging

Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Embed Size (px)

Citation preview

Page 1: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Department of Information Technology (INTEC)Internet Based Communication Networks and Services research group (IBCN)

Protocoloptimalisaties voor mobiele cloud computing

Pieter Simoens

Openbare doctoraatsverdediging

Page 2: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Evolutie van mobiele toestellen

2

1983: eerste mobiele telefoon van Motorola

6-digit LED display1u autonomie

33 cm x 4,45 cm x 8,9 cm800 gram

telefoniegeheugen voor 30

nummers

Page 3: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Van draadloze telefoon naar smartphone

6-digit LED display1u autonomie

33 cm x 4,45 x 8,9 cm800 gram

geheugen voor 30 nummers

9 cm display14u GSM/10u Wi-Fi

11,5 cm x 5,9 cm x 0,9 cm137 gram

512 MB RAM 16 GB permanent geheugen

telefoniegyroscoopkompas

GPS

Wi-Fi/UMTSBlueTooth

HD camera

1983

2010

telefonie

3

Page 4: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Uitbesteden van data en programma’s

centrale installatie enonderhoud

geen dataverlies

bij diefstal of crash

krachtige reken- en

opslagcapaciteit

4

server

smartphone

server

routerCloud computing

thin clientGrootste deel van de

rekentaken worden op de server en niet op het toestel

uitgevoerd

Page 5: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Cloud computing aan UGent

5

DICT, campus De Sterre

FEA, Jozef Plateaustraat

IBCN, campus Zuiderpoort

Page 6: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Cloud computing: ver van uw bed?

6

Page 7: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Positionering van het onderzoek

Protocoloptimalisatiesvoor mobiele

cloud computing

A

A

A

(25,37)

7

Citrix ICA VNC Microsoft RDP

Page 8: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Inhoud doctoraat

uitdagingen oplossingen

8

Page 9: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Uitdaging 1: draadloze bandbreedte

draadlozebandbreedte

beperktvariërend

duur

Economisch

Technologisch

9

Page 10: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Uitdaging 2: responstijd

• fysische propagatietijd• verwerkingstijden in routers, firewalls…• rekentijd in server• vertraging door opnieuw verzenden van

verloren data

10

router firewall

Page 11: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Uitdaging 3: energieverbruik

PACEMAKER

GSM

BATTERIJ

LAPTOP

iPOD

DIGITALE CAMERA

PLAYSTATIONPORTABLE

11

Ik ga op reis en ik neem mee…

een oplader voor al mijn elektronische toestellen!

Page 12: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Uitdaging 3: energieverbruik

SIM kaart

aansturingbeeldscher

m

geheugen(FLASH)

processor

draadlozecommunicatie

12

GPS energiebeheer

Elektronica van de iPhone 3Gs

minderberekeningen

Cloud computing heeft dubbele impact op energieverbruik

meer dataverkeer

Page 13: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Inhoud doctoraat

uitdagingen oplossingen

Intelligent verzenden van gebruikersinvoerDynamisch uitschakelen van hardwarecomponenten

13

Page 14: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

‘B’

Overdracht van gebruikersinvoer

14

‘A’

dataadres

10.10.7.1 ‘A’Verhouding

nuttige data/adresinformatie

< 10 %

Inefficiënt transport van gebruikersinvoer

6-8 bytes nuttige data84 bytes adresinformatie

10.10.7.1

‘B’

‘A’

Page 15: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

10.10.7.1

Groeperen van invoer

‘B’‘A’

10.10.7.1 ‘A’‘B’

bandbreedte responstijd

Hoe lang bufferen?

• variërende vertraging in het netwerk

• wachten op volgende invoer of niet?

Nood aan model met instelpunten

buffer

15

Page 16: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

RTT = 100 ms

Modellenwerk

buffertijd

responstijd

maximaleresponstijd

bandbreedte

Keuze instelpunt hangt af van het netwerk, de ingestelde voorkeur (policy) en de specifieke toepassing

16

RTT = 50 ms

RTT = 30 ms

Page 17: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Voortdurend aanpassen instelpunt

Algoritme werkt in een dynamische lus

netwerk

monitor analyse

beslissingbuffertijd

17

Page 18: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Resultaten

Maximale responstijd niet overschreden

Bandbreedtebesparing tot 78 %

buffertijd

bandbreedte[kbps]

buffertijd

responstijd[ms]

18

Resultaten voor VNC, automatisch gegenereerde gebruikersinvoer en ingestelde maximale responstijd van 150 ms

Page 19: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Inhoud doctoraat

uitdagingen oplossingen

Intelligent verzenden van gebruikersinvoerDynamisch uitschakelen van hardwarecomponenten

19

Page 20: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Elektronica van de iPhone 3Gsprocessor

draadlozecommunicatie

BaseBandprocessor

versterkers

transceiver

TX

4 toestanden

RX

ID

SL

verzenden van data (transmit)ontvangen van data (receive)

stand-by (idle)

slaapstand (sleep) tot 10x minder energieverbruik

Het gemiddelde energieverbruik hangt

rechtstreeks af van de tijd doorgebracht in elke

toestand.

20

Page 21: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Energiebesparing

Department of Information Technology – Broadband Communication Networks (IBCN) 21

RXID tijdTX TX ID RXID

Ga over naar slaapstand tijdens wachttijden

Uitdagingen

• variërende netwerkvertraging en rekentijden• uitschakelen antenne kan leiden tot dataverlies en

retransmissies 21

Page 22: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

applicatielaag

transmissielaag

Administratief overleg

applicatielaag

transmissielaag

• coderen gebruikersinvoer • decoderen beeldupdates

• versturen/ontvangen van bytes• aansturen communicatiehardware

A

01011100

11010110

22

Page 23: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Omzetten stand-by naar slaapstand

applicatielaag

transmissielaag

ITRA

Idle Time Reduction Algorithm

tijdTX

Analyse uitgewisselde dataVoorspel ontvangst van nieuwe serverdata

tijd

IDSL

Ga in ‘sleep’ toestandgedurende X ms

RX

IDzonder ITRA ITRA bespaart tot 35% energie

23

Page 24: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Inhoud doctoraat

uitdagingen oplossingen

Hybrid thin client protocolSemantisch thin client protocol

24

Page 25: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Grote diversiteit in beelden

• grote gebieden met dezelfde kleur

• beperkt aantal kleuren• kleine updates van het scherm

• beperkt aantal updates per

seconde

• geen homogene kleurgebieden

• gedetailleerde kleurpatronen

• ganse scherm tegelijk geüpdatet

• groot aantal updates per seconde

kantoortoepassingtekstverwerker, rekenblad, e-

mail

multimedia toepassingvideo, 3D spel

25

Page 26: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

One size does not fit all

26

Codeerformaat aanpassen aan karakteristieken van het beeld

Page 27: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Oplossing: hybrid protocol

toepassing

beeldanalyse

beslissing

27

video (H.264)thin client protocol

statisch

dynamisch

processorbelasting

bandbreedtebeeldkwaliteit

type beeld

coderingframebuffer

thin client protocol (VNC)

video

H.264

Page 28: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Beeldanalyse

Vergelijk aantal pixels van opeenvolgende beelden om hoeveelheid beweging te bepalen

28

Page 29: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Beslissingsalgoritme

beslissingsvariable

tijd

VNC

video

Hysteresis en geheugeneffect in algoritme• beslissingsvariable uitmiddelen over langere periode• thermostaatregeling met overgangszone

statische scene starten Word

29

Page 30: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Inhoud doctoraat

uitdagingen oplossingen

Hybrid thin client protocolSemantisch thin client protocol

30

Page 31: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Een bijkomend kanaal

31

RGB RGB RGB RGB RGB RGB RGBRGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGB RGBRGB RGB RGB RGB RGB RGB RGBRGB RGB RGB RGB RGB RGB RGBRGB RGB RGB RGB RGB RGB RGB

beschrijving lay-out en eigenschappen

(semantische informatie)

video

invoerveld

tekst

afbeelding

Uitdaging

detecteren individuele objecten

Nadelen klassiek protocol

geen individuele codering per

object

toestel “weet” niet wat het

weergeeft

Page 32: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Semantische informatie verzamelen

toepassing

grafische bibliotheek

netwerkcommunicatie

send(0101100)

32

putImage( , X, Y)tekeninstructies

te versturen bytes(gecodeerd beeld)

decoderingweergave beeld

“plaats deze bytes op positie (X, Y)”

Microsoft Word

coderencoderen semantische

informatiesend(0101) send(1100)

JPEG bytes

“Deze bytes stellen een JPEG afbeelding

voor, op positie (X,Y)”

Page 33: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Lokaal afhandelen van gebruikersinvoer

Zonder semantische informatie

“gebruiker heeft geklikt op positie

(4,5)”

Met semantische informatie“gebruiker heeft geklikt op object A”

type: menu itempositie: (1,1)grootte: 10x10bij muisklik: actie X

kortere responstijd

minder bandbreedte

33

Page 34: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

INVOER ACTIES

Intelligente component

grafische bibliotheek

netwerkcommunicatie

34

Microsoft Word

coderencoderen semantische

informatie

INVOER ACTIES

Page 35: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Resultaten

Reductie van datapieken

bezochte website

[MB]

Extra bandbreedte voor meta-dataweegt niet op tegen efficiëntere codering

60 – 80 % besparing

t.o.v. conventioneel

thin client protocolopen open opensluit sluit sluit

tijd [s]

ogenblikkelijke bandbreedte [kbps]

reductie met 70 %, ook t.o.v. semantische thin

client protocollen

35

Resultaten voor gEdit tekstverwerker en MPEG-4 BiFS compressie

Page 36: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Samenvatting

bandbreedte

responstijd

energieverbruik

intelligentbufferen

gebruikersinvoer

energiebesparing tijdens intervallen

zonder data

hybridprotocol

doorsturenextra informatie

Page 37: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

En verder?

37

“The mobile platforms are so powerful now that you can build

applications that do magical things that are connected with

the cloud.”Eric Schmidt, Google CEO

Thin client wordt smart client

Smartphone als toegangspunt voor immersieve toepassingen

Page 38: Department of Information Technology (INTEC) Internet Based Communication Networks and Services research group (IBCN) Protocoloptimalisaties voor mobiele

Vragen?

Department of Information Technology (INTEC)Internet Based Communication Networks and Services research group (IBCN)

38