On A Cruise Ship – Why Is the Internet So Slow?

On A Cruise Ship – Why Is the Internet So Slow?

InterWorking Labs

February 21, 2011

Revision: 11

Copyright: InterWorking Labs Inc, 2011

Online URL:
http://www.youtube.com/watch?v=v97Mgn8xJAA

Context and Setting:

A conversation between two people aboard a cruise ship somewhere out in the ocean. Tech is using his laptop to use the internet and is interrupted by Curious.

Tech's expostulates about the slow network on the sip, on the causes and cures, including a diversion into an laboratory setting in which Maxwell/Mini Maxwell are used to re-create the shipboard network situation so that the providers could try various curative approaches. Waiter keeps bringing various umbrella drinks.

Time Period:

Present day

Dramatis Personae:

  1. Tech – A technically well versed user of the internet. He (she) is seated in a cruise-ship lounge chair, wearing sunglasses, dressed in a loud Hawaiian shirt, shorts, sandals, and a straw hat. Tech is fully visible in the setting.

  2. Curious – An off-screen presence who speaks only from outside the video frame, like like one of those old TV off-screen narrators who speaks to the on-screen characters. Curious is only mildly technically well versed. Curious is our target audience.

  3. Waiter – Waiter mainly exists as an arm and hand that delivers umbrella drinks and equipment to Tech.

Sets:

  1. On-board a cruise-ship. This consists of a deck chair and a small table. The background is a tropical scene as could be seen from the deck of a ship while in a tropical port.

  2. In the InterWorking Labs laboratory. This consists of a lab table on which are props. The background is a laboratory scene with equipment and beakers and the like.

  3. Return to #1.

Props:

  1. Deck chair

  2. A laptop computer

  3. Laboratory table

  4. Ethernet cable leading off-screen

  5. Orange with toothpicks and small marshmallows – our satellite – suspended by a thread from above.

  6. A toy boat

  7. A big Maxwell

  8. A Mini Maxwell with cables.

Miscellaneous:

We will need screen shots (and videos) of Maxwell or Mini Maxwell setting and relaxing transmission delay constraints, perhaps screen shots of a web browser during low and high delay. These will be presented in a side-by-side split screen.

Scene 1

Scene opens with medium shot of TECH laying on a deck chair reading email on a laptop. He does not look happy.

He is at an angle so that we can see his face and the back of the laptop. He is dressed in tropical cruise clothing, with sunglasses. In the background (via the green screen) is tropical beach scene as one might see from a cruise ship. A small table is placed to his side. On it is an umbrella drink.

Off-screen Curious arrives and begins...

Curious:

Hello there.

Are you working on your vacation?

TECH:

(surprised, looks up into camera)

Oh ..

(Recognizing Curious)

Hi!

Glad to see you again.

I'm just checking-in with our house sitter.

Curious:

Enjoying the cruise?

Tech:

Very much...

but I'm getting frustrated; the network on this ship is painfully slow.

(Making a joke:)

It's slower than a cucumber doing calculus!

(Slightly amused grumbling :)

And for this I'm paying 40 cents a minute!

Curious:

Is something wrong with the network?

TECH:

The core of the problem is that it's difficult to string wires from shore out to a ship at sea.

So in the absence of wires we are connected to the heart of the internet by a radio link that's being bounced off a geosynchronous satellite.

Curious:

Really? Geosynch satellites are about 22 thousand miles up!

Tech:

26 thousand if we measure from the center of the earth.

From here, off the coast of Mexico, our network link goes 22 thousand miles up...

then another 22 thousand miles down...

and finally lands

you'll never guess where..

Curious:

Where?

Tech:

In New Jersey.

Curious:

Wow!

That's like going around the world .. twice.

Tech:

And our data has to come back the same roundabout way!

This causes problems you won't see on your home or office network.

Curious:

Because the office network uses regular land lines?

Tech:

Right!

Most internet protocols require several rounds of packet exchanges.

When you read email or look at a web page there can be hundreds, even thousands of packet exchanges.

Packets do not move instantly .. it takes time for them to be carried.

Generally the faster that packets move the more responsive the internet feels.

From your home or office packets travel on wires that follow the surface of the Earth.

Those packets reach their destinations fairly quickly.

But when a geosynch satellite is involved the distances become much greater.

Even at the speed of light it takes a really long time for packets to move up to the satellite and back down again.

A few minutes ago I measured the time it is taking for my packets to go from the ship to my email service and then back again...

It was more than half a second.

Curious:

Half a second doesn't sound so bad.

Tech:

Remember that most internet transactions take lots and lots of packet exchanges.

That means lots and lots of half-second delays.

Curious:

I guess it adds up.

Tech:

For instance, each time I fetch a web page it takes perhaps a dozen such exchanges just to figure out the address of the web server and to get the data moving.

That means I wait at least five seconds before I see anything happen.

To make it worse many websites lard-up their content with hidden trackers, images, and scripts.

So that what we see as a single web page may actually require fifty or more inner web-page fetches.

Curious:

All those delays could easily accumulate into minutes!

Tech:

Which leaves me sitting here impatiently waiting.

But it does leave me plenty of time to talk...

(look to Waiter, Waiter drops off another umbrella drink; Tech takes a sip)

... and drink.

Curious:

Can we do anything about these delays?

Tech:

I wish we could crank packets up to Warp factor nine or something...

(Try to say the following seriously, not as a joke:)

Unfortunately Einstein told us that the speed of light isn't just a good idea, it's the law.

Curious:

So it's hopeless?

Tech:

A professor of mine used to say "If you can't get 'em on the merry go round you can get 'em on the swings."

In other words, rather than trying to go faster than the speed of light we can take another tack.

We can work the problem by reducing the number of packet exchanges that we do.

So let's figure out how to get the job done using the minimum number of trips over that satellite.

We can use a technique called "local caching".

Curious:

Oh, I've heard of that!

These are fancy words for saying that when somebody on the ship does a transaction the network on the ship tries to preserve the result for a while.

That way, if someone else on the ship does the same transaction we can use the saved result rather than going over the satellite again.

Did I get that right?

Tech:

Yes. Caching is often very effective.

There is a lot of repetition on the net...

for instance, just think how often different people look at the main Google search page.

There are two things that could be cached to provide a big win for users:

Domain Name look-ups and pieces of web pages.

Let's take a trip to my lab so I can show this to you in action...

This might be a bit rough, so hang on!

Begin cheesy wiggly cross-fade to next scene.

Scene 2

(Begin dream-sequence – Medium shot of Tech. Tech is dressed with a button down shirt, tie, dockers, lab coat, etc. The tropical cruise ship scene is replaced by a table. However, the umbrella drinks are still present on the table and Waiter occasionally delivers more. As before Curious is present, but off-screen.)

(On the table is the end of an ethernet cable leading off-screen, an orange, dangling by a thread from above, turned into a satellite with toothpicks and stuff, and a toy boat. )

Curious:

What happened to my shoes?!

Tech:

(Tech gives Curious a look of reluctant acquiescence to bug-filled technology)

Oops .. the cross fade still has a few bugs.

Don't worry, they'll eventually show up.

In the meantime let me show you around.

Our company, InterWorking Labs, builds a couple of products...

we call 'em "Maxwell" and "Mini Maxwell".

These are used by network developers and providers to create real-world network conditions in their lab.

A cruise-ship company could use Maxwell to try various caching approaches to see how much benefit they might obtain...

and how much happier their customers might be.

(points to the props on the table)

Here, let me show you...

(Picks up the ethernet cable)

Here is the internet.

(Points to the orange)

Here's the satellite link to the ship.

(Points to the ship)

And here is where we were, on the ship.

We could try to rent a ship and satellite for experimentation.

Curious:

That would be terribly expensive!

Tech:

And even if we could afford it, real ships and satellites aren't easy to adjust to create different network conditions.

Curious:

Are there better ways?

Tech:

Yes...

Waiter delivers a Maxwell box to Tech who puts it onto the table underneath the orange.

(Tech plugs the ethernet into the Maxwell box.)

This is a Maxwell box...

As you can see, the Maxwell takes the place of the satellite link.

Waiter hands over a laptop with a pre-attached ethernet cable.

(Tech plugs laptop into the other side of the Maxwell.)

and this mimics my laptop on-board the ship.

We can adjust the Maxwell so that it makes the emulated network here on this table seem just like the satellite network used by the ship.

Let me show you.

I'll add some simulated satellite delay while pinging our website.

(Cut to split screen – on one side is the ping session, on the other is a Maxwell screen video in which we show the delay slider being increased with the ping session reacting in accord.)

(Begin Tech voiceover)

Here's a normal non-satellite situation

So let's dial in a typical satellite up-down delay of about 250 milliseconds each way.

Notice how the ping times increase?

(End Tech voiceover)

(Resume medium shot of Tech with the Maxwell)

As I mentioned before a solution to our satellite delay problem is to reorganize things to eliminate some of the transactions we send over the satellite.

So let me add some equipment..

(Waiter hands over a switch, some cables, and a mini maxwell box.)

(Tech wire's 'em up – don't bother to actually configure the laptop software.)

OK, I've just added a local domain name resolver and a web cache onto the simulated ship and configured my laptop to use them.

Let's see the difference...

(Replace cut with with split screen of two web browsers.)

(Begin Tech voiceover)

Both of these web browsers are going through the same satellite delay of quarter of a second each way.

The left side uses a local, on-ship, web-cache.

The right side is un-cached, like on the ship.

You get the picture...

Curious:

(Joking)

or not.

(End Tech voiceover)

Tech:

With Maxwell we were able to reproduce the shipboard experience in our lab.

That let us experiment with solutions to the satellite delay problem.

And as you can see, we found a couple of easy and inexpensive solutions that really do help.

Now that we have some answers let's go back to the ship...

hang on!...

(Begin cheesy cross-fade into next Scene )

Scene 3

Resume shipboard scene using another cheesy wiggly cross-fade.

Curious:

Looks like we got back in one piece.

Tech:

I hope our little trip suggests that we need not suffer in paradise, at least not network-wise.

A land-line will always be faster than a satellite.

But as you have seen there are tools that could be used by equipment vendors and by the cruise ship companies to investigate solutions that would improve things.

Curious:

Where can I learn more about Maxwell and InterWorking Labs?

Tech:

(Overlay IWL URL onto bottom of the screen.)

That's easy!

Come visit our website at IWL dot com.

Page 16 of 16