There’s nothing more annoying than streaming your favorite show or film and the video keeps pausing, or your online game keeps stuttering, guaranteeing you’ll never win that victory royale. You can thank packet loss for that inconvenience.
What is packet loss and how do you fix it? Read on to understand the problem, learn how to check for packet loss, and resolve the issue using a variety of methods.
What is a packet?
Think of a single email as a convoy of buses taking the class of 2021 to Disney World. Each bus carries a portion of the overall student body — your email — along with information about where it’s going, where it’s from, and who is riding in the seats.
Networks essentially break your email — and all other data — down to these buses, or packets. In turn, the email you send to mom is not just one large file crammed through the internet pipes. Instead, it is a convoy of little data bits so everyone else can simultaneously send emails to mom too.
Once all buses reach the set destination, their payloads unload to recreate your message in Mom’s email client.
A single packet contains three main components:
- Source IP address
- Destination IP address
- Packet type
- Packet number
- Part of your overall data
- Error correction
- End of packet info
The typical packet size is around 1,500 bytes, though the actual size may be circumstantial.
What is packet loss?
This is when one of our metaphorical buses does not reach Disney World.
Keep in mind that the bus convoy does not take a straight shot from your PC to the destination using a single freeway. Instead, the convoy takes the best route through multiple small towns. For instance, your browser’s connection may travel through 20 “stops” before reaching Digital Trends’ closest host server. That number may be greater or less, depending on your geological location.
In the same way that real-world roadways might disrupt the buses’ travel, though, sometimes packets face similar roadblocks and diversions. In the digital world, these traffic jams and reroutes can block some buses from reaching Disney World entirely. To prevent total disruption, packets are retransmitted, but the result translates to lag when playing online games, choppy video streams, and broken audio. Even web browsing can feel slow.
Network congestion isn’t the only factor
Packet loss isn’t primarily tied to network congestion. Other factors can cause issues too, such as:
Faulty hardware: Damaged cables, outdated modems and routers, and corrupt network card drivers can have a huge effect on network performance. For large companies, problematic network switches and firewalls will cause issues too.
Overloaded devices: In this case, network hardware is working harder than usual to handle all the traffic. These devices will temporarily hold packets until they have time to process and send them along. By the time a packet reaches its destination, it’s arrived too late. In some cases, it’s discarded.
Faulty software: Software running on a network device could have flaws — either originally or as a side effect from a recent update — requiring a reboot, patch, or complete reinstall.
Incorrect configurations: Network devices on a single link set at two different duplex modes (aka duplex mismatch) will assume a “collision” and discard or delay packets.
Wireless is less reliable: Due to the nature of wireless, packets have a better chance of vanishing into the digital void due to radio frequency interference, signal strength, and distance.
Security threats: Hackers may have control of a network device and are using it to flood traffic, blocking the destination. Another hack can cause network devices to intentionally drop packets.
How do you see packet loss?
If you suspect you’re experiencing packet loss, you can confirm it by using the PowerShell (or Command Prompt) in Windows. Here’s how:
Step 1: Right-click on the Start button and select Windows PowerShell (Admin) on the Power Menu.
Step 2: Type ping followed by your router’s address (here’s how to find it). For instance, you may type:
In the results, you will see a percentage next to Lost. As shown below, you want that number to be zero, meaning all packets reach their destination.
However, that’s merely local. If you want to see the packet loss between your PC and a website, you’ll need to ping the web address.
For instance, type the following:
In our test, results (currently) reveal zero packet loss, which is excellent given there are around 11 hops between this writer and the site’s host server. We performed this test using a PC on a wired connection.
However, by using the ping command, you’re only sending and receiving four packets. If you want a longer test, type the following instead:
Ping [insert address] -t
This test will continue indefinitely until you type the Ctrl + C key combination.
If you’re curious to see how many hops reside between you and the destination, type the following:
tracert [insert address]
Typically the results show your current IP address along with the addresses of all the hops, but we removed them from the screenshot for security reasons.
On MacOS and Linux, you can use Terminal to run the Ping command. On MacOS, Terminal is either pinned to the dock, or you can typically find it in the Other folder on the Launcher.
If you have Linux installed on a Chromebook, Terminal likely resides in the Linux Apps folder on the Launcher.
However, like the Ping -t command in Windows, the test runs indefinitely, requiring you to type the Ctrl + C or Command + C key combination.
In this case, we noticed packet loss when pinging Digital Trends with a MacBook Air on a 5GHs wireless connection. A second test pinging the local router showed no loss on our end. However, a third test re-pinging Digital Trends showed packet loss reduced to zero.
That said, random drops will happen — you just don’t want a continuous loss.
How do you fix packet loss?
Many issues causing packet loss may not even be on your end of the connection, but that doesn’t mean there aren’t some things you can do to try to improve it.
Restart your PC
The software running on your PC — whether it’s a driver, service, or application — can temporarily experience conflicts.
For instance, tabs in Google Chrome may consume 75% of your system memory, causing other services to throttle or crash. Rebooting can solve software issues in some instances that may influence network traffic.
Check your connections
It might seem simple, but cables not quite plugged in properly can cause all sorts of problems, so it’s always worth checking. If you’re using a wired connection to your PC or laptop, unplug the cable and plug it back in again. Do the same with your router’s connection to the phone line to be doubly sure.
Sure, updates can be annoying given they can bring you to a temporary standstill. But they’re also necessary, especially if older firmware contains flaws that cause the underlying device to lose your packets.
Make sure your PC’s operating system and network drivers are current, along with any network-accessing software you use, like Google Chrome and Mozilla Firefox.
Are you using a router? Be sure the firmware is current.
Move to wired connections
Wireless is great for moving about the house while listening to Baby Shark on your phone, but the connection can fall prey to radio frequency interference, signal strength, and distance. If you don’t see any real connection problems, then continue as usual.
But if you experience noticeable lag on a desktop, laptop, set-top device, gaming console, or similar device, moving to a wired connection might make a big difference. Not only do you get faster throughput, but most Ethernet cables are also shielded, which can reduce interference.
Turn off possible interference
For wireless devices, radio frequency interference can be an issue. That means you should switch off other wireless devices that are not in use, like wireless headphones, speakers, and even Bluetooth connections on smartphones and tablets. You could also consider using your router’s settings to change your wireless channel to reduce competition with your neighbor’s Wi-Fi.
If your devices are wired, make sure the cables aren’t draped near anything that can cause electrical and magnetic interference, especially if the cables are unshielded. If you’re using a Powerline connection, the electrical layout of your home or office can cause issues in addition to the “noise” created by large appliances.
Revisit Quality of Service settings
If other users in your home are competing with your connection and your work needs to take priority, you can assign bandwidth by digging into your router and adjusting the Quality of Service settings to prioritize traffic. That means allocating more bandwidth to your devices over others.
How you get to those settings is different in each router. Once found, you can create “rules” that allot specific traffic, services, or devices with a bandwidth level, like “highest” or “maximum.” Typically, you must set your network’s overall upload and download bandwidth less than your subscription’s allowance so the QoS component has room to make adjustments.
Somewhere between you and the World Wide Web, some digital gremlin ate your packets. While the issue may not reside on your end of the ISP’s connection, restarting everything is a great way to troubleshoot without digging into the details. Unplug your modem and/or router and hold the power button for 30 seconds, then plug it back in again.
For all other connected devices, rebooting is a good idea too. The local network assigns your device an address that may change when the network reboots (unless it’s static). You can try disabling Wi-Fi or unplugging the Ethernet cable for a moment, but you may still experience connectivity issues until you reboot.
Replace or upgrade your hardware
Sometimes outdated or defective hardware can be the cause of packet loss too. Upgrading your router and or modem is a last resort, but if you’ve tried everything else, paying out for something new is your best bet. We have a great selection in our guide to the best routers you can buy in 2020.
If you suspect your desktop network connection is more to blame, you could also try adding a secondary networking card and connect to that instead. That’s not something you can do with laptops or tablets, however.
- A beginner’s guide to Tor: How to navigate the underground internet
- How to port forward
- Modem vs. router: What’s the difference?
- The best wireless router deals for May 2020
- How to increase your internet speed