TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Apple Maps location scan spikes WiFi latency every 60 seconds

677 pointsby ivankabout 3 years ago

35 comments

tdaabout 3 years ago
I noticed this too when I used steam to stream a game to my laptop over good wifi. Every minute it would stutter for a second. I set up iperf3 tests and noticed the wifi lag increasing every minute between my macbook and my server and between my windows desktop pc and my server (when connected over wifi). Of course no lag when using cables, so I reasoned it was wifi related, and had noting to do with my setup (I used different clients, and different AP's). I then took my macbook (only portable computer I had) it too a nearby coffee shop with good wifi and I could still measure lag spikes every minute. So then I was really puzzled, was there some rogue device interfering with wifi all over the neighborhood? Finally I found a suggestion to turn off location services (or whatever it is called), and the spikes disappeared. And I learnt that even when it is not used (not sure it the lid was closed) a macbook can cause significant interference to the wifi for all other nearby devices.
评论 #31359356 未加载
评论 #31360505 未加载
评论 #31358595 未加载
评论 #31364357 未加载
herpderperatorabout 3 years ago
This is normal across all wifi clients; they can&#x27;t scan for networks and transfer data simultaneously so there will always be increased latency during that event. You can test this yourself by doing a low-interval ping and clicking the wifi icon to show you nearby networks - you&#x27;ll notice a brief latency spike.<p>I agree that it&#x27;s not a good default to have an app doing this, though.
评论 #31357712 未加载
评论 #31357561 未加载
评论 #31357380 未加载
评论 #31359914 未加载
评论 #31364379 未加载
评论 #31361400 未加载
can16358pabout 3 years ago
I&#x27;m on Wi-Fi on my MacBook (Pro 16&quot; 2021). I opened Maps.app (which gets my location correctly), started pinging my router, it&#x27;s been a few minutes...<p>No spike. It must be occuring at <i>some</i> corner case, not for everyone.
评论 #31388150 未加载
评论 #31375410 未加载
评论 #31378783 未加载
lscpikeabout 3 years ago
I discovered this exact problem over lock down 2020. My Teams calls would freeze every 60s.<p>There&#x27;s a better solution though! Delete all your saved wifi connections. All those hotels and coffee shops you have connected to in your apple lifetime are the trigger. Reduce them down to those you actually use and the problem goes away.<p>I&#x27;m amazed more people haven&#x27;t come across this, though from what I&#x27;ve seen people tend to just live with these problems as they don&#x27;t know where to start in figuring it out.
评论 #31364130 未加载
评论 #31375756 未加载
ncannabout 3 years ago
On Windows, there was an infamous Qt bug that also caused regular ping spike, so check it out if you have the issue and you also happen to be using a Qt program:<p><a href="https:&#x2F;&#x2F;bugreports.qt.io&#x2F;plugins&#x2F;servlet&#x2F;mobile#issue&#x2F;QTBUG-40332&#x2F;comment&#x2F;390766" rel="nofollow">https:&#x2F;&#x2F;bugreports.qt.io&#x2F;plugins&#x2F;servlet&#x2F;mobile#issue&#x2F;QTBUG-...</a>
Nextgridabout 3 years ago
I wonder why they keep rescanning the wifi environment even though the fact that it remains connected to the same BSSID and the RSSI doesn’t fluctuate too much should suggest that it’s very unlikely the device moved far enough to warrant another scan.
评论 #31359688 未加载
评论 #31358707 未加载
评论 #31360702 未加载
评论 #31359312 未加载
评论 #31361830 未加载
评论 #31361398 未加载
评论 #31358415 未加载
评论 #31357711 未加载
评论 #31404451 未加载
dpcxabout 3 years ago
I just tried this myself and can&#x27;t replicate on a 2019 i7 running Big Sur. I wonder if it&#x27;s related to the number of Wifi networks in range (mine is the only one)... Also, the Apple Maps thing didn&#x27;t seem to change anything for me, either.
评论 #31357984 未加载
评论 #31370798 未加载
tedunangstabout 3 years ago
I like that the first reply is to switch from zoom to google meet. Very helpful.
评论 #31360114 未加载
kylecordesabout 3 years ago
I noticed this when using a meeting&#x2F;streaming tool that detected these bits of latency and went in to a degraded mode, even with abundant bandwidth available.<p>I tried the various settings for avoiding it, discussed in many other comments here. The only thing that worked for me: get out a USB ethernet adapter and a long wire, don&#x27;t use WiFi when doing things where it matters.<p>... which is ridiculous; I don&#x27;t want or need location scans at all, I am sitting stationary in my home office.
goodoldneonabout 3 years ago
Location services in general seem to cause latency spikes for me. I just disabled the feature altogether
rootusrootusabout 3 years ago
I cannot replicate this on my M1 MBP running 12.3.1.
评论 #31359192 未加载
评论 #31358847 未加载
评论 #31358730 未加载
GekkePrutserabout 3 years ago
Ok that sucks. If they do a scan, at least use the radio that&#x27;s not in use so it doesn&#x27;t affect the one communicating (e.g. use 2.4 Ghz when you&#x27;re connected on 5).. That would be a good way to avoid this latency hit.<p>Also, I&#x27;m assuming Maps only does this when it&#x27;s open, but Apple&#x27;s annoying tendency to keep an app running when you close the last window (with the exception of system preferences and a few others) makes this very hard to diagnose. While I still used Macs a lot I would always close apps with Command-Q for that reason. This behaviour would exacerbate the problem as the user isn&#x27;t aware that the app is stil running.<p>Apple&#x27;s reasoning is I believe to &quot;not worry about open apps, the OS will handle it&quot;. But it doesn&#x27;t always, I often get prompts that my memory is full and I have to close something now or else... And that is with me being rigorous closing apps. My work buys only base level machines with standard ram, unfortunately.
评论 #31361021 未加载
评论 #31360928 未加载
评论 #31361825 未加载
defenabout 3 years ago
Is this the &quot;weird WiFi latency on Mac OS&quot; thread? I&#x27;ve got a WiFi network with a MacBook Pro (running 11.6 because I hate upgrading) and a System76 linux box (as well as lots of other devices). Both of the machines can ping a google dot com server (which is approximately 150 miles away, going by the hostname) consistently in the 8-12 ms range.<p>Pinging the System76 box from the laptop, the latency varies from 2-250(!) ms. Pinging the laptop from the System76 box varies from 2-125ms.<p>I don&#x27;t even know where to start debugging that but the latency is driving me crazy.
boesboesabout 3 years ago
So I&#x27;ve tried this and cannot reproduce anything like it. Yes, when I tell Macos to scan for network, there is a short latency spike, as can be expected. But _only_ when I open up the networks menu.<p>I have maps open, refresh my location etc. Nothing at all. So there must be some other factors at play. Given the authors wireless woes that I&#x27;ve never had trouble with, I feel like they might just be living in a bunch of farayday cages ;)
hamterabout 3 years ago
it&#x27;s location services, not apple maps.
daverstamabout 3 years ago
This has been an issue for at least over a year.<p>Turn off location services and disable the awdl0 interface is the only way (for me) to run lag free zoom calls over wifi with a mac.<p><a href="https:&#x2F;&#x2F;support.google.com&#x2F;stadia&#x2F;answer&#x2F;9595943?hl=en#zippy=%2Cmac-and-ios-troubleshooting" rel="nofollow">https:&#x2F;&#x2F;support.google.com&#x2F;stadia&#x2F;answer&#x2F;9595943?hl=en#zippy...</a>
评论 #31366882 未加载
jokoonabout 3 years ago
Other anecdote: I have a thinkpad L450, and randomly during the day, the wifi firmware just &quot;crashes&quot; and disable itself, and needs to be reset via the &quot;troubleshoot&quot; dialog in windows 10.<p>It&#x27;s quite annoying, and I can&#x27;t really think of why it happens.<p>I wonder if radio interference might be a cause.
pabs3about 3 years ago
Why do network scans spike latency? Seems like a WiFi firmware bug to me. I wonder if it happens with open source WiFi firmware like ath9k_htc.fw<p><a href="https:&#x2F;&#x2F;github.com&#x2F;qca&#x2F;open-ath9k-htc-firmware" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;qca&#x2F;open-ath9k-htc-firmware</a>
评论 #31361783 未加载
评论 #31361576 未加载
robbomacraeabout 3 years ago
As a means to keeping this feature on when out in public, but not have it cause latency spikes at home, is it possible to configure the router to block these requests from location services? Or do we need to setup each device to automatically disable location services when on the house wifi?
评论 #31359170 未加载
whazorabout 3 years ago
Best is to disable location services, which results into multiple disadvantages:<p>- maps don&#x27;t show your location, which you would have to live with..<p>- I recommend F.lux instead of night shift and dark mode: you can manually configure a location in F.lux and let it enable dark mode as well.<p>- also manually set time zone
phineyesabout 3 years ago
It&#x27;s not just Apple Maps either! Even with location services disabled, try opening AirDrop (even on another device you own) while running a ping and you&#x27;ll see your en0 device&#x27;s latency spike, while Apple tries to divide traffic between awdl0 and en0.
bemmuabout 3 years ago
I see system_profiler doing a scan when I gather the logs. Is that just the logger itself doing something, and if not is there a way to find what it invoking system_profiler?
brohoolioabout 3 years ago
I’ve seen this sporadically. A reboot clears it for me. I probably spent a good hour trying to figure out if it was my ISP or router. Improve your QA Apple
Angosturaabout 3 years ago
Silly question - but does this problem occur only when Maps is running? Or is there a background daemon doing this stuff?<p>I&#x27;ve never had this problem on my iMac
hotfixguruabout 3 years ago
This have happened since 12.3.1 at the office for me (not at home though). Hope this resolves it.
rob_cabout 3 years ago
Great hardware with some crazy choices on top... at least the old intels use 3x antennas
captainredbeardabout 3 years ago
Kids, this is why you should randomize when clients check in if your model allows it.
londons_exploreabout 3 years ago
It&#x27;s 2022. Apple should just have a separate WiFi radio for location scans.
a-dubabout 3 years ago
lol. i wonder if it&#x27;s quietly popping the nic out of the associated state, quickly scanning for aps and then jumping back where it left off without telling userland or the remote ap that anything happened...
评论 #31359440 未加载
alaricusabout 3 years ago
That can&#x27;t be good for the battery life.
评论 #31357102 未加载
nvr219about 3 years ago
I set up automation to prompt me to turn off WiFi when I leave the house.
tonymetabout 3 years ago
i became obsessed with mtr. your ping latency and variance is a better indicator of vc quality
gernbabout 3 years ago
Is this why Airplay no longer works? As of MacOS 12.3 when I AirPlay from M1 to AppleTV every ~2 minutes it drops to ~1fps for ~30 seconds.
评论 #31358687 未加载
daneel_wabout 3 years ago
A bit of a clickbait-y tweet. Exact same thing happens with any OS and Wi-Fi device when briefly scanning for surrounding access points. In the case of my setup (2017 MacBook Air running 10.15&#x2F;Catalina) the penalty seems forgettable - avg. ping jumps from 2 ms to 25 ms during 1.5 seconds, on 802.11n&#x2F;5GHz with about 20 other 2.4GHz&#x2F;5GHz access points in my vicinity. My Asus ZenBook running Linux Mint and equipped with Intel Centrino Wi-Fi suffers a lot more from the same procedure.
评论 #31357702 未加载
评论 #31358613 未加载
urdaabout 3 years ago
I cannot replicate this, I believe the twitter use got hooked on a red herring here. To be fair anything anti-apple is a quick way to get clicks.
评论 #31358117 未加载
评论 #31357522 未加载
评论 #31361692 未加载
评论 #31357466 未加载