Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 25, 2011, 06:43 AM   #1
Roman2K~
macrumors 6502
 
Join Date: Mar 2011
OS X Lion: Wi-Fi problems? Set the MTU manually

Context:

2011 11" MBA
OS X Lion v10.7.2

Problem:

The last few days, I've been pulling my hair out because throughput via my Wi-Fi connection had become unstable out of the blue. While the signal was strong and stable, download speeds (on my local network) were slow and fluctuating, like ~160 KB/s at the most for one second, then 0 B/s for 5 seconds and cycling. Other computers (two MacBook Pros) connected to the same Wi-Fi router had stable, normal-throughput connections.

It reminded me of an issue I had on Windows over 10 years ago, where I had to play with the MTU to restore throughput stability (100 Mbits/s Ethernet).

Solution:

Set the MTU manually:

1. Determine the maximum MTU following this guide.

2. It's a connection-specific setting. Configure it in System Preferences > Network > [a connection] > Advanced... > Hardware > Configure: {Manually,Automatically}

3. Disable and re-enable Wi-Fi.

Story:

I usually am not comfortable resetting things to "solve" problems, because usually, it's only a temporary patch and the real problem is left unsolved. So the abnormal behaviour will come back sooner or later.

This time, I had a hunch this was MTU-related. Until now, the MTU was configured automatically. The current automatically-determined value must be stored somewhere. Not knowing where, I thought I'd got a try to the famous PRAM- / NVRAM-reset.

After that, download speeds were back to normal.

Then I went a bit further and determined the maximum MTU manually. I found it was the regular 1500, but setting this manually increased the speed from a stable 850 KB/s (far away from a crappy 802.11g router) to 1.9 ~ 2.3 MB/s!

Conclusion:

Automatic MTU setting, at least paired with my crappy-ol' Wi-Fi router, is not optimal, and may lead to extremely poor speeds at some point. So, in case you're encountering instability, try setting it manually.
__________________
rMBP (late 2013): 15", i7 2.0 GHz, 16 GB, 256 GB | iMac (late 2013): 21.5", i5 2.7 GHz, 8 GB, 1 TB FD

Last edited by Roman2K~; Dec 25, 2011 at 06:48 AM.
Roman2K~ is offline   0 Reply With Quote
Old Dec 26, 2011, 12:34 PM   #2
wilsonhaven
macrumors member
 
Join Date: Oct 2009
Thumbs up

Useful exercise. I used the very simple suggestion for checking your effective MTU in the link provided.

My MTU was automatically set to 1500. I did a traceroute to my provider and used the address for the first external device that gave me a reply.

My actual capability fragments at 1480. I set it to 1472 and at least speedtest.net thinks I'm getting much closer to what I pay for.

Thanks!
wilsonhaven is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Cannot Manually Set Location in Weather App. joshwithachance iOS 6 2 Mar 25, 2013 11:27 PM
How do you manually set your location in Google mobile? TH55 iPhone 7 Oct 18, 2012 07:23 PM
I want to set up as new, manually backup my safari bookmarks? bobright iPhone 3 Sep 24, 2012 04:03 PM
Is there any way to set up manually Administration address book card? Ksh OS X 10.8 Mountain Lion 0 Jul 28, 2012 04:09 PM
iPod is set to manually sync. I want to get some voice memos off it but I cant? TwitchOSX iOS 5 and earlier 2 Jun 4, 2012 02:55 PM

Forum Jump

All times are GMT -5. The time now is 01:29 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC