thin clients: thin clients: back to the future back to the future - - PowerPoint PPT Presentation

thin clients thin clients back to the future back to the
SMART_READER_LITE
LIVE PREVIEW

thin clients: thin clients: back to the future back to the future - - PowerPoint PPT Presentation

thin clients: thin clients: back to the future back to the future <Jason Nieh> nieh@cs.columbia.edu <Jason Nieh> nieh@cs.columbia.edu Computers in the future may weigh no more than 1.5 tons. a Popular Mechanics editorial


slide-1
SLIDE 1

thin clients: thin clients: back to the future back to the future

<Jason Nieh> nieh@cs.columbia.edu <Jason Nieh> nieh@cs.columbia.edu

slide-2
SLIDE 2
slide-3
SLIDE 3
slide-4
SLIDE 4

“Computers in the future may weigh no more than 1.5 tons.” a Popular Mechanics editorial 1949

slide-5
SLIDE 5

PCs in use worldwide (2004) PCs in use worldwide (2004)

224 69 53 46 36 29 26 23 22 19 19 14 13 11 11 206

5 0 5 0 100 100 150 150 200 200 250 250 U S U S Japan apan C h i n a n a G e r m any any U K U K F rance ance K ore a e a I ta l y C anada anada B ra z a z i l i l R u s s u s s i a A u s u st r t ra l i l i a I nd nd i a M e x e x i c o c o Ne th e h er l ands ands O th e h er C

  • u

n t r y P C P Cs i n u s e u s e ( m illi illi

  • n s
  • n s )
slide-6
SLIDE 6

"I think there is a world market for about five computers” remark attributed to Thomas J. Watson Chairman of the Board International Business Machines 1943

slide-7
SLIDE 7
slide-8
SLIDE 8

“There is no reason anyone would want a computer in their home.” Ken Olson founder and chairman Digital Equipment 1977

slide-9
SLIDE 9
slide-10
SLIDE 10

“I can assure you that data processing is a fad that won't last out the year.” a Prentice Hall business book editor 1957

slide-11
SLIDE 11

today today’ ’s computer s computer

slide-12
SLIDE 12

today today’ ’s computer problem s computer problem

slide-13
SLIDE 13

problem #1: manageability problem #1: manageability

slide-14
SLIDE 14

problem #2: operating cost problem #2: operating cost

move add change $1000 per

incident

slide-15
SLIDE 15

problem #3: availability problem #3: availability

slide-16
SLIDE 16

problem #4: work area problem #4: work area

slide-17
SLIDE 17

problem #5: security problem #5: security

slide-18
SLIDE 18

dis dis-integration of the computer

  • integration of the computer
slide-19
SLIDE 19

thin-client computing thin-client computing

network decouples computing and display

slide-20
SLIDE 20

user input

thin-client computing thin-client computing

display updates application processing and data here stateless client secure server room

slide-21
SLIDE 21

benefits benefits

 simplify IT management  minimize cost of desktop failures  transparent user mobility  continuous computing access  secure computing services  improve user/computer work areas  utilize resources efficiently

slide-22
SLIDE 22
slide-23
SLIDE 23

trends trends

slide-24
SLIDE 24
slide-25
SLIDE 25

computers are cheap people are expensive

slide-26
SLIDE 26

computers computers vs vs people people

 Dell Dimension

2400 PC desktop, 2.4 GHz CPU, $420

 Dell PowerEdge

420 server, 2.4 GHz CPU, $350

 move, add,

change: $1000 per incident

slide-27
SLIDE 27
slide-28
SLIDE 28
slide-29
SLIDE 29
slide-30
SLIDE 30
slide-31
SLIDE 31

“the network is the computer”

slide-32
SLIDE 32
slide-33
SLIDE 33

thin clients thin clients vs vs mainframes mainframes

 dumb plain text

terminals

 large,

expensive machine

 rich graphical

interfaces

 clusters of

inexpensive servers, blades

slide-34
SLIDE 34
slide-35
SLIDE 35

thin clients thin clients vs vs web web

 rewrite

applications for the web

 client browser

and helper applications

 preserve

software investments

 no client

applications

slide-36
SLIDE 36

key technologies key technologies

slide-37
SLIDE 37

remote display remote display

slide-38
SLIDE 38

display pipeline display pipeline

applications window system display device driver framebuffer

slide-39
SLIDE 39

client/server partitioning client/server partitioning

applications window system display device driver framebuffer client server

slide-40
SLIDE 40

window server on client window server on client

applications window system display device driver framebuffer client server

slide-41
SLIDE 41

window server on client window server on client

 local non-app UI interactions  complex software running on client  software needs to be maintained  client resources need to scale

slide-42
SLIDE 42

window server on server window server on server

applications window system display device driver framebuffer client server

slide-43
SLIDE 43

window server on server window server on server

 no complex client software  no client software maintenance  client scales with display  “ultra-thin” client

slide-44
SLIDE 44

wire protocol wire protocol

 high-level graphics  low-level graphics  2D drawing primitives  raw pixels

slide-45
SLIDE 45

application application   protocol protocol

applications window system device driver framebuffer raw pixels high-level requests

slide-46
SLIDE 46

THINC THINC

applications window system device driver framebuffer raw pixels high-level requests

slide-47
SLIDE 47

virtual device driver

THINC THINC

applications window system

display updates input events

slide-48
SLIDE 48

THINC protocol THINC protocol

 copy  solid fill  pixmap fill  bitmap  RAW

slide-49
SLIDE 49

THINC optimizations THINC optimizations

 offscreen drawing  transparent video support  local cursor drawing support  server-push model  smallest update first scheduling  server-side screen scaling

slide-50
SLIDE 50

enables enables

 stateless clients  heterogeneous display devices  remote access  remote collaboration

slide-51
SLIDE 51

performance? performance?

slide-52
SLIDE 52
slide-53
SLIDE 53

yes yes no yes yes yes no yes yes yes audio Linux no 24 yes no X Linux no 24 yes yes VNC Linux yes 24 yes yes Sun Ray Linux yes 24 yes no THINC Linux yes 24 no no NX Linux yes 24 no no X ssh -C Windows yes 8 yes no GoToMyPC Windows yes 24 yes no RDP Windows yes 24 yes no ICA Linux N/A 24 N/A no local PC OS en- crypt ion color depth ultra thin custom window server name

slide-54
SLIDE 54

configurations configurations

 desktop LAN  desktop WAN  802.11g PDA

slide-55
SLIDE 55

desktop LAN web performance desktop LAN web performance

0 . 7 0 . 59 0 . 53 0 . 5 0 . 56 0 . 53 0 . 44 1 . 01 0 . 43 N/A 0 . 5 1 1 . 5 2 2 . 5 3 P C P C ICA CA R D P R D P GoT o M yP C X X s s s sh

  • C

N X N X VN C S u n S u n R ay TH IN C

p e p er w eb eb page page l a tency ency (s )

slide-56
SLIDE 56

desktop LAN web performance desktop LAN web performance

25 . 29 147 . 32 203 . 91 391 . 8 108 . 4 59 . 33 205 . 54 228 . 92 126 . 75 N / A 5 0 5 0 1 0 0 1 0 0 1 5 0 1 5 0 2 0 0 2 0 0 2 5 0 2 5 0 3 0 0 3 0 0 3 5 0 3 5 0 4 0 0 4 0 0 P C P C I CA RD P G o G oToM yP C P C X X s s s sh - C N X N X VN VNC S u n S u n R a R ay TH I N C

p e p e r w e b e b page page d a d a t a ( K B K B )

slide-57
SLIDE 57

desktop WAN web performance desktop WAN web performance

0 . 77 0 . 79 1 . 05 2 . 89 1 . 46 1 . 47 0 . 64 0 . 85 1 . 21 0 . 64 0 . 5 1 1 . 5 2 2 . 5 3 P C P C ICA CA R D P R D P GoT o M yP C X X s s s sh

  • C

N X N X VN C S u n S u n R ay TH IN C

p e p er w eb eb page page l a tency ency (s )

slide-58
SLIDE 58

802.11g PDA web performance 802.11g PDA web performance

0 . 84 0 . 48 3 . 15 0 . 46 0 . 46 0 . 5 1 1 . 5 2 2 . 5 3 P C P C ICA CA R D P R D P GoT o M yP C X X s s s sh

  • C

N X N X VN C S u n S u n R ay TH IN C

p e p er w eb eb page page l a tency ency (s )

slide-59
SLIDE 59

desktop LAN A/V performance desktop LAN A/V performance

100 % 28 % 15 % 100 % 76 % 12 % 14 % 13 % 100 % N/A 0 % 0 % 2 0 2 0 % 4 0 4 0 % 6 0 6 0 % 8 0 8 0 % 1 0 0 1 0 0 % P C P C ICA CA R D P R D P GoT o M yP C X X s s s sh

  • C

N X N X VN C S u n S u n R ay TH IN C

aud aud i

  • /v
  • /v i

deo deo qua qua l i l i ty

slide-60
SLIDE 60

desktop WAN A/V performance desktop WAN A/V performance

100 % 20 % 2% 1% 65 % 27 % 12 % 8% 12 % 100 % 0 % 0 % 2 0 2 0 % 4 0 4 0 % 6 0 6 0 % 8 0 8 0 % 1 0 0 1 0 0 % P C P C ICA CA R D P R D P GoT o M yP C X X s s s sh

  • C

N X N X VN C S u n S u n R ay TH IN C

aud aud i

  • /v
  • /v i

deo deo qua qua l i l i ty

slide-61
SLIDE 61

802.11g PDA A/V performance 802.11g PDA A/V performance

7% 19 % 1% 14 % 100 % 0 % 0 % 2 0 2 0 % 4 0 4 0 % 6 0 6 0 % 8 0 8 0 % 1 0 0 1 0 0 % P C P C ICA CA R D P R D P GoT o M yP C X X s s s sh

  • C

N X N X VN C S u n S u n R ay TH IN C

aud aud i

  • /v
  • /v i

deo deo qua qua l i l i ty

slide-62
SLIDE 62

thinc thinc

 ultra-thin client

leverage and virtualize standard display driver interface fast, lightweight full-motion, full resolution audio/video performance

slide-63
SLIDE 63

transparent transparent checkpoint/migration checkpoint/migration

slide-64
SLIDE 64

checkpoint checkpoint

 capture the state of a running

process and save it so that it can be resumed at a later time

slide-65
SLIDE 65

migration migration

 move checkpointed process state to a

target machine and resume process

slide-66
SLIDE 66

transparent transparent

 no application changes  no need for new languages/run-time  no operating system kernel changes  no constraints on use of OS services

slide-67
SLIDE 67

enables enables

 software mobility  load balancing  power management  fault resilience  improved system availability

slide-68
SLIDE 68

approaches approaches

language Emerald library Condor kernel Mosix hardware Vmware, Xen system call zap

Hardware Libraries Applications Operating System

slide-69
SLIDE 69

zap zap

 virtualize OS to decouple

applications from underlying OS instance

 use high-level kernel functionality

for portable migration

 preserve application availability

across operating system upgrades

slide-70
SLIDE 70

problem problem

int iChildPID; if (iChildPID=fork()) { /* parent does some work */ waitpid(iChildPID); } else { /* child does some work */ exit(0); }

slide-71
SLIDE 71

issues issues

 resource consistency  resource conflicts  resource dependencies  transparency

slide-72
SLIDE 72

solution solution

private virtual namespace

 PrOcess Domain (POD)

slide-73
SLIDE 73

POD virtualization POD virtualization

 PID  IPC  file system  network  devices

slide-74
SLIDE 74

architecture architecture

 POD virtualization +  checkpoint/restart  kernel module  in Linux

slide-75
SLIDE 75

cost? cost?

slide-76
SLIDE 76

virtualization virtualization

0.5 1 1.5 2 2.5 3 3.5 4 getpid fork hackbench httpperf make mysql volano

Normalized latency

Xen Zap Linux SMP Zap SMP

slide-77
SLIDE 77

remote desktop remote desktop

slide-78
SLIDE 78

checkpoint/restart checkpoint/restart

19 0 . 851 0 . 942

2 4 6 8 1 0 1 0 1 2 1 2 1 4 1 4 1 6 1 6 1 8 1 8 2 0 2 0 no nor m a l s ta r t r tup up zap zap checkpo checkpo i n t zap zap re s e sta r t r t t i m e ( s )

slide-79
SLIDE 79

zap zap

 transparent checkpoint/migration

  • f legacy and network applications

 POD: consistent, conflict-free,

avoid dependencies fast and lightweight

slide-80
SLIDE 80

conclusions conclusions

technology scaling trends are driving thin-client computing key enabling technologies: remote display and checkpoint/migration THINC and Zap: display and

  • perating system virtualization

mechanisms for thin clients

slide-81
SLIDE 81

the future the future

 virtual computing utility

delivered to smart displays

slide-82
SLIDE 82

more info more info

network computing laboratory

http://www.ncl.cs.columbia.edu