Top Banner
The development in Network Performance And it’s impact on the computing model of tomorrow
40

THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting [email protected] Reproducability not allowed without explicit.

Mar 27, 2015

Download

Documents

Abigail Evans
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

The development in Network PerformanceThe development in Network Performance

And it’s impact on the computing model of tomorrowAnd it’s impact on the computing model of tomorrow

Page 2: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.
Page 3: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

The GRiD

• Named after the power-grid• Sometimes referred to as the

information power grid• Like the power-grid GRID should be

powered by large installations– not individual generators

Page 5: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Performance Improvement since 1988

Net Latency

Net Bandwidth

Disk Latency

Disk Bandwidth

0

1

2

3

4

5

6

Imp

rov

em

en

t (o

rde

rs o

f m

ag

nit

ud

e)

Page 6: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Rules of the GameCopenhagen-Stockholm

• 1988– Latency 40 ms– Bandwidth 64 kb/s

• 2005– Latency 10 ms– Bandwidth 10Gb/s

• Networking is much better

Page 7: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Is There an Improvement?

Whether we have an improvement depend on our watch!

Page 8: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

CPU

Whether we have an improvement depend on our watch!

Is There an Improvement?

Page 9: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

CPU

OuterClock

InnerClock

Whether we have an improvement depend on our watch!

Is There an Improvement?

Page 10: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Rules of the GameCopenhagen-Stockholm

• Using the inner clock• 1988

– 1B: 0.8M CPU cycles– 1GB: 2T CPU cycles

• 2005– 1B: 39M CPU cycles– 1GB: 3G CPU cycles

• Latency is much worse• But bandwidth is much better

Page 11: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Rules of the GameHarddrive-Memory

• Using the inner clock• 1988

– 1B: 1M CPU cycles– 1GB: 1G CPU cycles

• 2005– 1B: 13M CPU cycles– 1GB: 38G CPU cycles

• Hard-drives are also much worse

Page 12: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Development as seen from the CPU

Net Latency

Net Bandwidth

Disk Latency

Disk Bandwidth

-2

-1.5

-1

-0.5

0

0.5

1

1.5

2

2.5

3

3.5

Imp

rov

em

en

t -

ord

ers

of

ma

gn

itu

de

Page 13: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Why is GRID?

• Network bandwidth is now here

Bandwidth Development

0.001

0.01

0.1

1

10

100

1000

10000

1974 1980 1988 1992 1995 1997 2000 2003

Year

Mb/

s LANWANDisk

Page 14: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.
Page 15: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Transparent Remote File Access

• Huge input files incur a number of problems:– Download time vs. total execution time– Job execution on the resource is delayed– Storage requirements on resources

• Often only small scattered fragments of input files are needed

• How about automatic on-demand download of needed data?

Page 16: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

int fd = open(“inputfile”, O_RDONLY);while ((i=read(fd, &buffer, 2000)) >0){ /* process buffer */}

Example

User applications need not be recompiled or rewritten!

Page 17: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Communication Protocol

• HTTP supports a “range” parameter in get request:

GET /inputfile HTTP/1.1HOST:

MiG_server.imada.sdu.dkRange: bytes=2000-3000

• No range support in put requests– In order to support writing to remote files,

a custom web server is developed

Page 18: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Overriding file-access

• Override a subset of file manipulating routines:– open, close, read, write, seek, dup, sync, etc.

• Preload this library using the LD_PRELOAD environment variable– Requires user apps to be dynamically

linked

• Forward local file access to the native file system using the dlfcn library

Page 19: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Efficient Access

• Simple solution: general purpose block size based on n/2-analysis

• Advanced solution: depends on the user application:– The nature of the application (sequential vs non-

sequential file access)– The block size used in the application

• Introduce prefetching (1 block read-ahead)• Adjust the block size dynamically based on

the prefetching and the time taken to transfer a block

Page 20: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Experiments

• 4 experiments:– Overhead: read a one byte file– I/O intensive application: Checksum a 1 GB file– I/O balanced application: Process a 1 GB file– Partial file traversal: Search a 360 MB B+ tree for

a random key

• 3 test setups:– Local execution– Copy model– Remote access model

Page 21: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Baseline Performance100Mb net

Experiment Local Copy Remote

1B file 0.002 0.152 0.008

Checksum 50.11 130.1 114.3

Balanced 632.83 721.22 600.72

B+ Tree 0.002 30.692 0.0186

Page 22: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Latency tests

LatencyOdense 0 msCopenhagen 4 msÅrhus 9 msAalborg 13 msTromsø 32 msCanterbury 54 msChania 88 ms

Page 23: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Checksum

Page 24: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Balanced

Page 25: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

B+ Tree

Page 26: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.
Page 27: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

True End of the PC?

• If we can eliminate the disk we eliminate >60% of the errors in the PC

• But perhaps we don’t need the PC– The average PC utilizes less that 5% of

its capacity (Source: Intel)

• Reality is that the PC is– Much too powerful most of the time– Not nearly powerful enough the rest of

the time

• So we eliminate the PC?

Page 28: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Bandwidth for Remote users

• A graphics intensive user– Screen size: 1600x1400– Frequency: 50Hz– Color depth: 32b– Compression 1:10

• Required bandwidth: 0.33 Gb/s• Translates into 30 users per 10Gb line

Page 29: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Bandwidth for Remote users

• A typical user– Screen size: 1280x1024– Frequency: 30Hz– Color depth: 24b– Compression 1:100

• Required bandwidth: 0.008 Gb/s• Translates into 1138 users per 10Gb

line

Page 30: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

World of Tomorrow?

GRID

User

Resource

Resource

GRIDDisk

Page 31: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

The Grid Terminal

Page 32: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Grid terminal

Page 33: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

But we have seen this before?

• Is this not just another thin client?• No!

– Thin clients work against dedicated servers

– Grid has no single point of failure– And Grid has competition

Page 34: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.
Page 35: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Distributed Shared Memory

Page 36: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

DSM Test – the problem…

Points Latency (us) Bandwidth (MB/s)

SDU-SDU 130 63.0

NBI-NBI 250 95.3

SDU-NBI 1755 76.3

SDU-DIKU 1767 64.7

NBI-DIKU 3422 58.1

Page 37: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

The Results

Page 38: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.
Page 39: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.

Conclusion and Predictions

• No reason to expect any change in the development of performance

• Networks will be increasingly slower• But bandwidth is limited only by

demand• Grid will allow users to ignore

computer maintenance and backups• Even individual home-users will join

Grid

Page 40: THIS TEXT WILL NOT BE SHOWN DURING PRESENTATION! Design by Jon Angelo Gjetting  ndgf@gjetting.com Reproducability not allowed without explicit.