Hello,

We noticed you're browsing in private or incognito mode.

To continue reading this article, please exit incognito mode or log in.

Not an Insider? Subscribe now for unlimited access to online articles.

Connectivity

Data Mining Solves the Mystery of Your Slow Wi-Fi Connection

Chinese researchers have worked out the reasons for why Wi-Fi can take so long to connect.

Wi-Fi is one of the 21st century’s great liberators. The ability to connect wirelessly to the Internet in a huge variety of locations is the enabling technology for all kinds of flexible working arrangements. Indeed, it has turned the coffee shop into one of society’s more productive work places.

But anyone who regularly uses Wi-Fi will be aware of an embarrassing problem: it sometimes takes an age to connect to Wi-Fi and sometimes connections are not possible at all. The awful truth about Wi-Fi is that all too often, it simply does not work.

And that raises an important question: why? What is it about these state-of-the-art wireless networks and the devices that connect to them that so often fails?

Today we get an answer thanks to the work of Changhua Pei at Tsinghua University in China and a few pals who have measured how long it took for 400 million different Wi-Fi sessions to connect. And they’ve used their data to work out what typically goes wrong and how it can be avoided.

Changhau and co gathered their data from an Android app called Wi-Fi Manager, which records the various stages involved in connecting to a Wi-Fi access point and how long they take.

Every Wi-Fi connection involves several steps. In the first step, the mobile device scans the airwaves for available Wi-Fi access points. Once an access point is selected, the two devices swap data packets. Then there is an authentication step, which often involves a password input. The final step is called DHCP (dynamic host configuration protocol), which provides the device with an IP address.

(Note that once a connection is established, the user may be taken to a gateway page that requires another password—the team does not include this step in its calculations.)

The question that Changhau and co address is, if successful, how long does this connection process typically take. And the answer will be depressingly familiar to Wi-Fi users. The researchers say that Wi-Fi connections fail an astonishing 45 percent of the time. And the time they take is hugely variable, with 15 percent of connections taking more than five seconds.  

So what is going wrong? Changhau and co use a data-mining algorithm to crunch through the data to find out what kind of factors are associated with failed connections and long connection times.

It turns out that several factors significantly influence connection time and success. Perhaps the most important is whether the Wi-Fi network is public or private—private networks are significantly faster and have higher rates of connection success.

The mobile device’s operating system is another factor. The team says identical devices running different operating systems can have very significant differences in connection times and point the finger particularly at a heavily customized version of Android called FlyMe. The chipsets in both the mobile device and the access point can also impact connection times, with slower chips taking much longer.

Having found the factors that slow down connections, the team has created an algorithm that avoids the most obvious compromises and so speeds up connection times.

For example, this algorithm assesses whether access points are public or private. It then ignores the public ones and chooses the private network with strongest signal.

This approach significantly improves connections, say Changhau and co. The algorithm reduces connection failures to a rate of just 3.6 percent and reduces connection times by a factor of 10.

That’s an impressive result that will surely be appreciated by workers in coffee shops all over the world.

Ref: arxiv.org/abs/1701.02528: Why It Takes so Long to Connect to a WiFi Access Point

Get stories like this before anyone else with First Look.

Subscribe today
Already a Premium subscriber? Log in.

Uh oh–you've read all of your free articles for this month.

Insider Premium
$179.95/yr US PRICE

More from Connectivity

What it means to be constantly connected with each other and vast sources of information.

Want more award-winning journalism? Subscribe to Insider Plus.
  • Insider Plus {! insider.prices.plus !}*

    {! insider.display.menuOptionsLabel !}

    Everything included in Insider Basic, plus the digital magazine, extensive archive, ad-free web experience, and discounts to partner offerings and MIT Technology Review events.

    See details+

    What's Included

    Unlimited 24/7 access to MIT Technology Review’s website

    The Download: our daily newsletter of what's important in technology and innovation

    Bimonthly print magazine (6 issues per year)

    Bimonthly digital/PDF edition

    Access to the magazine PDF archive—thousands of articles going back to 1899 at your fingertips

    Special interest publications

    Discount to MIT Technology Review events

    Special discounts to select partner offerings

    Ad-free web experience

/
You've read all of your free articles this month. This is your last free article this month. You've read of free articles this month. or  for unlimited online access.