Mailing List Archive

Apple Catalina Appears to Introduce Massive Jitter
Hi all.

I've been on High Sierra for several years now due to a limitation with
an app that couldn't deal with Apple's latest rounds of system
permissions since Mojave. Eventually, I gave up on waiting for them to
fix it and upgraded my older Butterfly keyboard laptop to Catalina 4
weeks ago.

At the same time, I picked up the new Magic keyboard laptop 2 weeks ago
which came with Catalina.

Over the past week, I've been troubleshooting a massive jitter issue on
Catalina, just between itself and my home router. For control, I have a
Windows PC (tower-top) using a wireless adapter to connect to my home
network. That has no jitter at all.

I have noticed as much as 300ms+ jitter on Catalina.

I then asked a few friends around the world to run tests for me on their
own Catalina installations to their local router over wi-fi, and the
results are the same. Jitter so high that what should be a 1ms - 5ms
latency can (for a short period) jump to 200ms+, 300ms+, 400ms+.

On the off-chance that it is an issue with the new wireless chips on the
later MacBook models, one of my friends tested the same on a 2013
MacBook Pro running a beta version of Big Sur. Same story!

Another friend in South East Asia, testing on a 2018 13-inch MacBook Pro
running Catalina, also had the same issue.

A Google search suggests that this is some known issue since Mojave, to
do with Location Services, and some other apps, in a non-deterministic way:

https://apple.stackexchange.com/questions/263638/macbook-pro-experiencing-ping-spikes-to-local-router

For me, even after disabling all or some Location Services features, the
problem remains.

Is anyone else seeing this on their Catalina Mac's while on wi-fi? If
so, does anyone know what's going on here?

Ideally, this wouldn't matter if it was just a cosmetic issue - but I do
actually see physical impact to performance of network access to/from
the laptop, which has all the hallmarks of high jitter and/or packet loss.

An app like Zoom, which can display network performance data for a
session in real-time, does indicate nominal packet loss for audio and
video on this device, while other devices on the same WLAN are happy.

Thoughts?

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
Is it actually jitter or is it potentially the wireless network card going into sleep mode? I have seen that type of behavior on Apple products when the cards go into low power mode although I can’t say I have noticed that on my laptop.

> On Oct 29, 2020, at 8:11 AM, Mark Tinka <mark.tinka@seacom.com> wrote:
>
> ? Hi all.
>
> I've been on High Sierra for several years now due to a limitation with an app that couldn't deal with Apple's latest rounds of system permissions since Mojave. Eventually, I gave up on waiting for them to fix it and upgraded my older Butterfly keyboard laptop to Catalina 4 weeks ago.
>
> At the same time, I picked up the new Magic keyboard laptop 2 weeks ago which came with Catalina.
>
> Over the past week, I've been troubleshooting a massive jitter issue on Catalina, just between itself and my home router. For control, I have a Windows PC (tower-top) using a wireless adapter to connect to my home network. That has no jitter at all.
>
> I have noticed as much as 300ms+ jitter on Catalina.
>
> I then asked a few friends around the world to run tests for me on their own Catalina installations to their local router over wi-fi, and the results are the same. Jitter so high that what should be a 1ms - 5ms latency can (for a short period) jump to 200ms+, 300ms+, 400ms+.
>
> On the off-chance that it is an issue with the new wireless chips on the later MacBook models, one of my friends tested the same on a 2013 MacBook Pro running a beta version of Big Sur. Same story!
>
> Another friend in South East Asia, testing on a 2018 13-inch MacBook Pro running Catalina, also had the same issue.
>
> A Google search suggests that this is some known issue since Mojave, to do with Location Services, and some other apps, in a non-deterministic way:
>
> https://apple.stackexchange.com/questions/263638/macbook-pro-experiencing-ping-spikes-to-local-router
>
> For me, even after disabling all or some Location Services features, the problem remains.
>
> Is anyone else seeing this on their Catalina Mac's while on wi-fi? If so, does anyone know what's going on here?
>
> Ideally, this wouldn't matter if it was just a cosmetic issue - but I do actually see physical impact to performance of network access to/from the laptop, which has all the hallmarks of high jitter and/or packet loss.
>
> An app like Zoom, which can display network performance data for a session in real-time, does indicate nominal packet loss for audio and video on this device, while other devices on the same WLAN are happy.
>
> Thoughts?
>
> Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
Ah yes, an example of what I am seeing:


Marks-MacBook-Pro.local (172.16.0.239) 2020-10-29T14:28:27+0200
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
Packets               Pings
 Host Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 172.16.0.254 0.8%   126    3.9  34.7   2.5 232.1  54.9

Mark.

On 10/29/20 14:07, Mark Tinka wrote:
> Hi all.
>
> I've been on High Sierra for several years now due to a limitation
> with an app that couldn't deal with Apple's latest rounds of system
> permissions since Mojave. Eventually, I gave up on waiting for them to
> fix it and upgraded my older Butterfly keyboard laptop to Catalina 4
> weeks ago.
>
> At the same time, I picked up the new Magic keyboard laptop 2 weeks
> ago which came with Catalina.
>
> Over the past week, I've been troubleshooting a massive jitter issue
> on Catalina, just between itself and my home router. For control, I
> have a Windows PC (tower-top) using a wireless adapter to connect to
> my home network. That has no jitter at all.
>
> I have noticed as much as 300ms+ jitter on Catalina.
>
> I then asked a few friends around the world to run tests for me on
> their own Catalina installations to their local router over wi-fi, and
> the results are the same. Jitter so high that what should be a 1ms -
> 5ms latency can (for a short period) jump to 200ms+, 300ms+, 400ms+.
>
> On the off-chance that it is an issue with the new wireless chips on
> the later MacBook models, one of my friends tested the same on a 2013
> MacBook Pro running a beta version of Big Sur. Same story!
>
> Another friend in South East Asia, testing on a 2018 13-inch MacBook
> Pro running Catalina, also had the same issue.
>
> A Google search suggests that this is some known issue since Mojave,
> to do with Location Services, and some other apps, in a
> non-deterministic way:
>
> https://apple.stackexchange.com/questions/263638/macbook-pro-experiencing-ping-spikes-to-local-router
>
> For me, even after disabling all or some Location Services features,
> the problem remains.
>
> Is anyone else seeing this on their Catalina Mac's while on wi-fi? If
> so, does anyone know what's going on here?
>
> Ideally, this wouldn't matter if it was just a cosmetic issue - but I
> do actually see physical impact to performance of network access
> to/from the laptop, which has all the hallmarks of high jitter and/or
> packet loss.
>
> An app like Zoom, which can display network performance data for a
> session in real-time, does indicate nominal packet loss for audio and
> video on this device, while other devices on the same WLAN are happy.
>
> Thoughts?
>
> Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 14:27, Matt Hoppes wrote:

> Is it actually jitter or is it potentially the wireless network card
> going into sleep mode? I have seen that type of behavior on Apple
> products when the cards go into low power mode although I can’t say I
> have noticed that on my laptop.

Not, not sleep mode, because I am actively using the device to move data
to/from the Internet.

I was actually struggling to upload some files to Youtube last weekend,
and had to use another computer to do it as I couldn't figure out what
was going on. That it is how bad the jitter is.

It seems to be a much bigger problem for the upload direction than the
download, but it, inevitably creates a symmetrical performance problem.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
Have you ruled out local wireless issues, such as a literal side-by-side test?


Does the problem still exist when wired?




-----
Mike Hammett
Intelligent Computing Solutions

Midwest Internet Exchange

The Brothers WISP

----- Original Message -----

From: "Mark Tinka" <mark.tinka@seacom.com>
To: "Matt Hoppes" <mattlists@rivervalleyinternet.net>
Cc: "NANOG" <nanog@nanog.org>
Sent: Thursday, October 29, 2020 7:31:59 AM
Subject: Re: Apple Catalina Appears to Introduce Massive Jitter



On 10/29/20 14:27, Matt Hoppes wrote:

> Is it actually jitter or is it potentially the wireless network card
> going into sleep mode? I have seen that type of behavior on Apple
> products when the cards go into low power mode although I can’t say I
> have noticed that on my laptop.

Not, not sleep mode, because I am actively using the device to move data
to/from the Internet.

I was actually struggling to upload some files to Youtube last weekend,
and had to use another computer to do it as I couldn't figure out what
was going on. That it is how bad the jitter is.

It seems to be a much bigger problem for the upload direction than the
download, but it, inevitably creates a symmetrical performance problem.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On Thu, Oct 29, 2020 at 02:31:59PM +0200, Mark Tinka wrote:
>
>
> On 10/29/20 14:27, Matt Hoppes wrote:
>
> > Is it actually jitter or is it potentially the wireless network card
> > going into sleep mode? I have seen that type of behavior on Apple
> > products when the cards go into low power mode although I can’t say I
> > have noticed that on my laptop.
>
> Not, not sleep mode, because I am actively using the device to move data
> to/from the Internet.
>
> I was actually struggling to upload some files to Youtube last weekend, and
> had to use another computer to do it as I couldn't figure out what was going
> on. That it is how bad the jitter is.
>
> It seems to be a much bigger problem for the upload direction than the
> download, but it, inevitably creates a symmetrical performance problem.

I know there was a recent fix Apple did for devices talking to UBNT APs
for their handsets, perhaps there's a similar fix needed on your side?

I have all UBNT at home for wireless and periodically have some random
issues which I can't explain, but for the most part have things tuned to ensure
there's little to no interference.

Do you see the same when hardwired? I keep many of my devices hardwired
to avoid odd jitter issues. I also saw some older versions of the Pulse Secure
VPN add the behavior you describe, including the more uptime the slower it would
get.

- Jared

--
Jared Mauch | pgp key available via finger from jared@puck.nether.net
clue++; | http://puck.nether.net/~jared/ My statements are only mine.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 14:37, Mike Hammett wrote:

> Have you ruled out local wireless issues, such as a literal
> side-by-side test?

Yes - all other wi-fi devices don't exhibit this issue, including my
wireless-connected PC. Only this MacBook running Catalina.

The problem exists at all wi-fi AP's around the house, all of which are
easily 15m apart to cover the whole house.


> Does the problem still exist when wired?

No problem on wire. As you can see below, my worst record latency value
is 11.8ms only:

Marks-MacBook-Pro.local (172.16.0.239) 2020-10-29T14:48:12+0200
Keys:  Help   Display mode   Restart statistics   Order of fields quit
Packets               Pings
 Host Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 172.16.0.254 0.0%    50    1.0   2.6   0.7  11.8   2.1

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 14:40, Jared Mauch wrote:

> I know there was a recent fix Apple did for devices talking to UBNT APs
> for their handsets, perhaps there's a similar fix needed on your side?
>
> I have all UBNT at home for wireless and periodically have some random
> issues which I can't explain, but for the most part have things tuned to ensure
> there's little to no interference.

I am running TP-Link AP's. Two of them are Google OnHub, which was built
by TP-Link, and the 3rd one is the TP-Link Archer C6.

So they all support 802.11ac, which is where my device spends most of
its time (5GHz).

No interference from my neighbors (separated by thick walls), and I am
running separate channels for both frequencies per device.

Also, no other wireless device is suffering like this.


> Do you see the same when hardwired? I keep many of my devices hardwired
> to avoid odd jitter issues.

No issues on the wire at all. Quite perfect.

Like you, I hard-wire all fixed devices (TV's, a/v receivers, satellite
decoders, gaming consoles, energy meters, e.t.c.). The only devices on
wireless are mobile devices, tablets, laptops and the Windows PC which
is hooked up via wi-fi as well.


> I also saw some older versions of the Pulse Secure
> VPN add the behavior you describe, including the more uptime the slower it would
> get.

I use Viscosity as an SSL/VPN client. The issue is the same whether it
is enabled or offline.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
Might be worth disabling each AP to see if there's one out there having an issue playing nice with the MacBook. Also try different combinations of two APs working together. It's possible the MacBook is flip flopping because the power levels are fighting each other.

Does the Mac have this issue at your local coffee shop or another establishment with Wi-Fi? You can try to rule out the AirPort card in the Mac itself.

Sent from ProtonMail mobile

-------- Original Message --------
On Oct 29, 2020, 7:55 AM, Mark Tinka wrote:

> On 10/29/20 14:40, Jared Mauch wrote:
>
>> I know there was a recent fix Apple did for devices talking to UBNT APs
>> for their handsets, perhaps there's a similar fix needed on your side?
>>
>> I have all UBNT at home for wireless and periodically have some random
>> issues which I can't explain, but for the most part have things tuned to ensure
>> there's little to no interference.
>
> I am running TP-Link AP's. Two of them are Google OnHub, which was built
> by TP-Link, and the 3rd one is the TP-Link Archer C6.
>
> So they all support 802.11ac, which is where my device spends most of
> its time (5GHz).
>
> No interference from my neighbors (separated by thick walls), and I am
> running separate channels for both frequencies per device.
>
> Also, no other wireless device is suffering like this.
>
>> Do you see the same when hardwired? I keep many of my devices hardwired
>> to avoid odd jitter issues.
>
> No issues on the wire at all. Quite perfect.
>
> Like you, I hard-wire all fixed devices (TV's, a/v receivers, satellite
> decoders, gaming consoles, energy meters, e.t.c.). The only devices on
> wireless are mobile devices, tablets, laptops and the Windows PC which
> is hooked up via wi-fi as well.
>
>> I also saw some older versions of the Pulse Secure
>> VPN add the behavior you describe, including the more uptime the slower it would
>> get.
>
> I use Viscosity as an SSL/VPN client. The issue is the same whether it
> is enabled or offline.
>
> Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 15:04, Cory Sell wrote:

> Might be worth disabling each AP to see if there's one out there
> having an issue playing nice with the MacBook. Also try different
> combinations of two APs working together. It's possible the MacBook is
> flip flopping because the power levels are fighting each other.

Tested all that, as well as dropping Tx power levels on each of the AP's
to Low so that there isn't any power coming from any other AP (despite
being quite far, already).

And to confirm, when the laptop locks into an AP, it doesn't try to join
another one. When in range, power is very good (between -37dB and
-52dB). When I walk away, that AP becomes too far (as bad as -80dB), but
the next one close by is far better (same good values as before) and
laptop connects and sticks to that.

Again, only impacts Catalina. No other Apple device, or the Windows PC
that is on the same WLAN.


> Does the Mac have this issue at your local coffee shop or another
> establishment with Wi-Fi? You can try to rule out the AirPort card in
> the Mac itself.

Never tried, I generally work from home. If I'm out, it's faster to
tether to my 4G service rather than any public wi-fi.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
I believe I have seen the same thing with a Mid 2015 11,4 running catalina. Not diagnosing further because I could not find a reason for it fast enough and not sure if it really had an impact at the moment…. but could you try the following


sudo sysctl net.link.generic.system.hwcksum_tx=0
sudo sysctl net.link.generic.system.hwcksum_rx=0
sudo ifconfig en0 -rxcsum


in reverse … to restore the settings

sudo sysctl net.link.generic.system.hwcksum_tx=1
sudo sysctl net.link.generic.system.hwcksum_rx=1
sudo ifconfig en0 rxcsum


If you have some specific tests to run I would be willing to run them here on Big Sur with the same laptop but I have nothing now that runs Catalina


Wireshark used to in Catalina rack up cksum errors a lot while these were all at their defaults.



> On Oct 29, 2020, at 08:23, Mark Tinka <mark.tinka@seacom.com> wrote:
>
>
>
> On 10/29/20 15:04, Cory Sell wrote:
>
>> Might be worth disabling each AP to see if there's one out there having an issue playing nice with the MacBook. Also try different combinations of two APs working together. It's possible the MacBook is flip flopping because the power levels are fighting each other.
>
> Tested all that, as well as dropping Tx power levels on each of the AP's to Low so that there isn't any power coming from any other AP (despite being quite far, already).
>
> And to confirm, when the laptop locks into an AP, it doesn't try to join another one. When in range, power is very good (between -37dB and -52dB). When I walk away, that AP becomes too far (as bad as -80dB), but the next one close by is far better (same good values as before) and laptop connects and sticks to that.
>
> Again, only impacts Catalina. No other Apple device, or the Windows PC that is on the same WLAN.
>
>
>> Does the Mac have this issue at your local coffee shop or another establishment with Wi-Fi? You can try to rule out the AirPort card in the Mac itself.
>
> Never tried, I generally work from home. If I'm out, it's faster to tether to my 4G service rather than any public wi-fi.
>
> Mark.


--

J. Hellenthal

The fact that there's a highway to Hell but only a stairway to Heaven says a lot about anticipated traffic volume.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
Should also state here that net.inet.icmp.icmplim=0 and the command I have been testing from is: (ping -c 5000 -i 0.1 router)

--- router ping statistics ---
5000 packets transmitted, 5000 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.118/4.060/172.031/6.841 ms


> On Oct 29, 2020, at 09:08, J. Hellenthal <jhellenthal@dataix.net> wrote:
>
> I believe I have seen the same thing with a Mid 2015 11,4 running catalina. Not diagnosing further because I could not find a reason for it fast enough and not sure if it really had an impact at the moment…. but could you try the following
>
>
> sudo sysctl net.link.generic.system.hwcksum_tx=0
> sudo sysctl net.link.generic.system.hwcksum_rx=0
> sudo ifconfig en0 -rxcsum
>
>
> in reverse … to restore the settings
>
> sudo sysctl net.link.generic.system.hwcksum_tx=1
> sudo sysctl net.link.generic.system.hwcksum_rx=1
> sudo ifconfig en0 rxcsum
>
>
> If you have some specific tests to run I would be willing to run them here on Big Sur with the same laptop but I have nothing now that runs Catalina
>
>
> Wireshark used to in Catalina rack up cksum errors a lot while these were all at their defaults.
>
>
>
>> On Oct 29, 2020, at 08:23, Mark Tinka <mark.tinka@seacom.com> wrote:
>>
>>
>>
>> On 10/29/20 15:04, Cory Sell wrote:
>>
>>> Might be worth disabling each AP to see if there's one out there having an issue playing nice with the MacBook. Also try different combinations of two APs working together. It's possible the MacBook is flip flopping because the power levels are fighting each other.
>>
>> Tested all that, as well as dropping Tx power levels on each of the AP's to Low so that there isn't any power coming from any other AP (despite being quite far, already).
>>
>> And to confirm, when the laptop locks into an AP, it doesn't try to join another one. When in range, power is very good (between -37dB and -52dB). When I walk away, that AP becomes too far (as bad as -80dB), but the next one close by is far better (same good values as before) and laptop connects and sticks to that.
>>
>> Again, only impacts Catalina. No other Apple device, or the Windows PC that is on the same WLAN.
>>
>>
>>> Does the Mac have this issue at your local coffee shop or another establishment with Wi-Fi? You can try to rule out the AirPort card in the Mac itself.
>>
>> Never tried, I generally work from home. If I'm out, it's faster to tether to my 4G service rather than any public wi-fi.
>>
>> Mark.
>
>
> --
>
> J. Hellenthal
>
> The fact that there's a highway to Hell but only a stairway to Heaven says a lot about anticipated traffic volume.
>
>
>
>
>
>


--

J. Hellenthal

The fact that there's a highway to Hell but only a stairway to Heaven says a lot about anticipated traffic volume.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
* nanog@nanog.org (J. Hellenthal via NANOG) [Thu 29 Oct 2020, 15:10 CET]:
[disabling checksum offload]
>Wireshark used to in Catalina rack up cksum errors a lot while these were all at their defaults.

This is completely expected behaviour for outgoing packets.


-- Niels.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 16:08, J. Hellenthal wrote:

> I believe I have seen the same thing with a Mid 2015 11,4 running catalina. Not diagnosing further because I could not find a reason for it fast enough and not sure if it really had an impact at the moment…. but could you try the following
>
>
> sudo sysctl net.link.generic.system.hwcksum_tx=0
> sudo sysctl net.link.generic.system.hwcksum_rx=0
> sudo ifconfig en0 -rxcsum

Thanks, I'll have a sniff.

> If you have some specific tests to run I would be willing to run them here on Big Sur with the same laptop but I have nothing now that runs Catalina

One of my mates found the same issue on Big Sur (beta) on a 2013 MacBook
Pro.

Just a simple mtr test to your local home router's IP address should,
over wi-fi, should show you the jitter.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On the latest Catalina 10.15.7 from a MacBook Air (early 2014) via WiFi
to Google Wifi Mesh router (only a single unit network):

Over 2.4Ghz through 3 interior walls:
--- 192.168.86.1 ping statistics ---
100 packets transmitted, 100 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.440/15.078/213.538/30.541 ms

Over 5Ghz through 1 door:
--- 192.168.86.1 ping statistics ---
100 packets transmitted, 100 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.557/24.614/137.233/39.015 ms

This is a real world test with several iPhones, 2.4GHz WiFi only
cameras, and an iPad being used for zoom (remote school) while running
these tests. If you were not aware, on a Mac you can hold the Option key
while clicking on the WiFi icon to see more options as well as more
information about your current WiFi connection, including the realtime
Tx rate, channel, and when your Mac is searching for new networks (mine
does this every few seconds, it seems).

From an experience perspective, all applications seem to work fine for
us. Including uploading to YouTube (a regular event as my spouse is a
teacher) and Zoom/Teams/FaceTime/your teleconference app of choice (used
by all of us).

--B


On 10/29/2020 7:28 AM, Mark Tinka wrote:
> Ah yes, an example of what I am seeing:
>
>
> Marks-MacBook-Pro.local (172.16.0.239) 2020-10-29T14:28:27+0200
> Keys:  Help   Display mode   Restart statistics   Order of fields   quit
> Packets               Pings
>  Host Loss%   Snt   Last   Avg  Best  Wrst StDev
>  1. 172.16.0.254 0.8%   126    3.9  34.7   2.5 232.1  54.9
>
> Mark.
>
> On 10/29/20 14:07, Mark Tinka wrote:
>> Hi all.
>>
>> I've been on High Sierra for several years now due to a limitation
>> with an app that couldn't deal with Apple's latest rounds of system
>> permissions since Mojave. Eventually, I gave up on waiting for them
>> to fix it and upgraded my older Butterfly keyboard laptop to Catalina
>> 4 weeks ago.
>>
>> At the same time, I picked up the new Magic keyboard laptop 2 weeks
>> ago which came with Catalina.
>>
>> Over the past week, I've been troubleshooting a massive jitter issue
>> on Catalina, just between itself and my home router. For control, I
>> have a Windows PC (tower-top) using a wireless adapter to connect to
>> my home network. That has no jitter at all.
>>
>> I have noticed as much as 300ms+ jitter on Catalina.
>>
>> I then asked a few friends around the world to run tests for me on
>> their own Catalina installations to their local router over wi-fi,
>> and the results are the same. Jitter so high that what should be a
>> 1ms - 5ms latency can (for a short period) jump to 200ms+, 300ms+,
>> 400ms+.
>>
>> On the off-chance that it is an issue with the new wireless chips on
>> the later MacBook models, one of my friends tested the same on a 2013
>> MacBook Pro running a beta version of Big Sur. Same story!
>>
>> Another friend in South East Asia, testing on a 2018 13-inch MacBook
>> Pro running Catalina, also had the same issue.
>>
>> A Google search suggests that this is some known issue since Mojave,
>> to do with Location Services, and some other apps, in a
>> non-deterministic way:
>>
>> https://apple.stackexchange.com/questions/263638/macbook-pro-experiencing-ping-spikes-to-local-router
>>
>> For me, even after disabling all or some Location Services features,
>> the problem remains.
>>
>> Is anyone else seeing this on their Catalina Mac's while on wi-fi? If
>> so, does anyone know what's going on here?
>>
>> Ideally, this wouldn't matter if it was just a cosmetic issue - but I
>> do actually see physical impact to performance of network access
>> to/from the laptop, which has all the hallmarks of high jitter and/or
>> packet loss.
>>
>> An app like Zoom, which can display network performance data for a
>> session in real-time, does indicate nominal packet loss for audio and
>> video on this device, while other devices on the same WLAN are happy.
>>
>> Thoughts?
>>
>> Mark.
>
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 18:05, Blake Hudson wrote:

> On the latest Catalina 10.15.7 from a MacBook Air (early 2014) via
> WiFi to Google Wifi Mesh router (only a single unit network):
>
> Over 2.4Ghz through 3 interior walls:
> --- 192.168.86.1 ping statistics ---
> 100 packets transmitted, 100 packets received, 0.0% packet loss
> round-trip min/avg/max/stddev = 1.440/15.078/213.538/30.541 ms
>
> Over 5Ghz through 1 door:
> --- 192.168.86.1 ping statistics ---
> 100 packets transmitted, 100 packets received, 0.0% packet loss
> round-trip min/avg/max/stddev = 1.557/24.614/137.233/39.015 ms

This is what I'm talking about. Why would you have such massive jitter
on wi-fi to your local router?

You're hitting 213ms on 2.4GHz and 137ms on 5GHz. This doesn't seem odd
to you?

Never had this issue pre-Catalina (I understand it may have been
introduced in Mojave, but I came from High Sierra).


> This is a real world test with several iPhones, 2.4GHz WiFi only
> cameras, and an iPad being used for zoom (remote school) while running
> these tests.

Same for me. There are tons of devices on my WLAN, and only the one
running Catalina behaves this way.

No drama for the rest.


> If you were not aware, on a Mac you can hold the Option key while
> clicking on the WiFi icon to see more options as well as more
> information about your current WiFi connection, including the realtime
> Tx rate, channel, and when your Mac is searching for new networks
> (mine does this every few seconds, it seems).

Yes, I am aware about the on-board macOS wi-fi diagnostics, and the good
ol' trusted "airport -s". But those aren't enough.

I ended up spending money on NetSpot to see what's going on. Nothing
there either. All I can tell is that Catalina is the problem; how
exactly, is not yet very clear.


> From an experience perspective, all applications seem to work fine for
> us. Including uploading to YouTube (a regular event as my spouse is a
> teacher) and Zoom/Teams/FaceTime/your teleconference app of choice
> (used by all of us).

So even though apps like Zoom report mild packet loss while on wi-fi
(0.1% - 0.10%), it's not a train smash.

In general, everything works fine. But it doesn't feel 100%.

For the Youtube upload, I've found it to be temperamental, but I'm
making it work for the time being.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
Hey Mark,
Good shout with debug, same issue seen on MacBook Air with Catalina 10.15.6 beta, pings upto 150ms seen
iMac with Sierra zero jitter and usually sub 1m pings
Now need to find out why, I never noticed as wife using the MacBook Air :(
I cant yet update to big sur since need lots of sad space, need to cutdown on university docs me thinks

Col

> On 29 Oct 2020, at 12:07, Mark Tinka <mark.tinka@seacom.com> wrote:
>
> Hi all.
>
> I've been on High Sierra for several years now due to a limitation with an app that couldn't deal with Apple's latest rounds of system permissions since Mojave. Eventually, I gave up on waiting for them to fix it and upgraded my older Butterfly keyboard laptop to Catalina 4 weeks ago.
>
> At the same time, I picked up the new Magic keyboard laptop 2 weeks ago which came with Catalina.
>
> Over the past week, I've been troubleshooting a massive jitter issue on Catalina, just between itself and my home router. For control, I have a Windows PC (tower-top) using a wireless adapter to connect to my home network. That has no jitter at all.
>
> I have noticed as much as 300ms+ jitter on Catalina.
>
> I then asked a few friends around the world to run tests for me on their own Catalina installations to their local router over wi-fi, and the results are the same. Jitter so high that what should be a 1ms - 5ms latency can (for a short period) jump to 200ms+, 300ms+, 400ms+.
>
> On the off-chance that it is an issue with the new wireless chips on the later MacBook models, one of my friends tested the same on a 2013 MacBook Pro running a beta version of Big Sur. Same story!
>
> Another friend in South East Asia, testing on a 2018 13-inch MacBook Pro running Catalina, also had the same issue.
>
> A Google search suggests that this is some known issue since Mojave, to do with Location Services, and some other apps, in a non-deterministic way:
>
> https://apple.stackexchange.com/questions/263638/macbook-pro-experiencing-ping-spikes-to-local-router <https://apple.stackexchange.com/questions/263638/macbook-pro-experiencing-ping-spikes-to-local-router>
>
> For me, even after disabling all or some Location Services features, the problem remains.
>
> Is anyone else seeing this on their Catalina Mac's while on wi-fi? If so, does anyone know what's going on here?
>
> Ideally, this wouldn't matter if it was just a cosmetic issue - but I do actually see physical impact to performance of network access to/from the laptop, which has all the hallmarks of high jitter and/or packet loss.
>
> An app like Zoom, which can display network performance data for a session in real-time, does indicate nominal packet loss for audio and video on this device, while other devices on the same WLAN are happy.
>
> Thoughts?
>
> Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 19:12, colin johnston wrote:

> Hey Mark,
> Good shout with debug, same issue seen on MacBook Air with Catalina
> 10.15.6 beta, pings upto 150ms seen
> iMac with Sierra zero jitter and usually sub 1m pings
> Now need to find out why, I never noticed as wife using the MacBook Air :(
> I cant yet update to big sur since need lots of sad space, need to
> cutdown on university docs me thinks

Thanks, Col.

So confirmed that Big Sur has the same problem, both on newer and older
Mac's.

Issue seems to have surfaced somewhere around Mojave.

Most folk from various fora suggested Location Services were to blame. I
turned all of mine off, no joy.

A friend of mine in Malaysia noticed an improvement when he disabled
Handoff between the Mac and all his other iCloud-enabled devices. But
that didn't work for me.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
This does seem to be solved with the checksum disable below, or at least pings down to sub 10ms on Mac book air with Catalina beta 10.15.6, why aim performs far better I don’t know. I tried to introduce load after cksum disable and it did not see ping spikes as before

How do we now explain to Apple to fix ?

Col


> On 29 Oct 2020, at 14:08, J. Hellenthal via NANOG <nanog@nanog.org> wrote:
>
> I believe I have seen the same thing with a Mid 2015 11,4 running catalina. Not diagnosing further because I could not find a reason for it fast enough and not sure if it really had an impact at the moment…. but could you try the following
>
>
> sudo sysctl net.link.generic.system.hwcksum_tx=0
> sudo sysctl net.link.generic.system.hwcksum_rx=0
> sudo ifconfig en0 -rxcsum
>
>
> in reverse … to restore the settings
>
> sudo sysctl net.link.generic.system.hwcksum_tx=1
> sudo sysctl net.link.generic.system.hwcksum_rx=1
> sudo ifconfig en0 rxcsum
>
>
> If you have some specific tests to run I would be willing to run them here on Big Sur with the same laptop but I have nothing now that runs Catalina
>
>
> Wireshark used to in Catalina rack up cksum errors a lot while these were all at their defaults.
>
>
>
>> On Oct 29, 2020, at 08:23, Mark Tinka <mark.tinka@seacom.com> wrote:
>>
>>
>>
>> On 10/29/20 15:04, Cory Sell wrote:
>>
>>> Might be worth disabling each AP to see if there's one out there having an issue playing nice with the MacBook. Also try different combinations of two APs working together. It's possible the MacBook is flip flopping because the power levels are fighting each other.
>>
>> Tested all that, as well as dropping Tx power levels on each of the AP's to Low so that there isn't any power coming from any other AP (despite being quite far, already).
>>
>> And to confirm, when the laptop locks into an AP, it doesn't try to join another one. When in range, power is very good (between -37dB and -52dB). When I walk away, that AP becomes too far (as bad as -80dB), but the next one close by is far better (same good values as before) and laptop connects and sticks to that.
>>
>> Again, only impacts Catalina. No other Apple device, or the Windows PC that is on the same WLAN.
>>
>>
>>> Does the Mac have this issue at your local coffee shop or another establishment with Wi-Fi? You can try to rule out the AirPort card in the Mac itself.
>>
>> Never tried, I generally work from home. If I'm out, it's faster to tether to my 4G service rather than any public wi-fi.
>>
>> Mark.
>
>
> --
>
> J. Hellenthal
>
> The fact that there's a highway to Hell but only a stairway to Heaven says a lot about anticipated traffic volume.
>
>
>
>
>
>
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
> Most folk from various fora suggested Location Services were to
> blame. I turned all of mine off, no joy.

you only *think* you turned off location services. as they are a vital
component of providing a good user experience ...

:(
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 19:27, Randy Bush wrote:

> you only *think* you turned off location services. as they are a vital
> component of providing a good user experience ...
>
> :(

That was an honest, lingering thought.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
Be careful using Apple wireless diagnostic package, uses a lot of /var/tmp space on a small Macbook air 128ssd

Col


> On 29 Oct 2020, at 17:24, colin johnston <colinj@gt86car.org.uk> wrote:
>
> This does seem to be solved with the checksum disable below, or at least pings down to sub 10ms on Mac book air with Catalina beta 10.15.6, why aim performs far better I don’t know. I tried to introduce load after cksum disable and it did not see ping spikes as before
>
> How do we now explain to Apple to fix ?
>
> Col
>
>
>> On 29 Oct 2020, at 14:08, J. Hellenthal via NANOG <nanog@nanog.org> wrote:
>>
>> I believe I have seen the same thing with a Mid 2015 11,4 running catalina. Not diagnosing further because I could not find a reason for it fast enough and not sure if it really had an impact at the moment…. but could you try the following
>>
>>
>> sudo sysctl net.link.generic.system.hwcksum_tx=0
>> sudo sysctl net.link.generic.system.hwcksum_rx=0
>> sudo ifconfig en0 -rxcsum
>>
>>
>> in reverse … to restore the settings
>>
>> sudo sysctl net.link.generic.system.hwcksum_tx=1
>> sudo sysctl net.link.generic.system.hwcksum_rx=1
>> sudo ifconfig en0 rxcsum
>>
>>
>> If you have some specific tests to run I would be willing to run them here on Big Sur with the same laptop but I have nothing now that runs Catalina
>>
>>
>> Wireshark used to in Catalina rack up cksum errors a lot while these were all at their defaults.
>>
>>
>>
>>> On Oct 29, 2020, at 08:23, Mark Tinka <mark.tinka@seacom.com> wrote:
>>>
>>>
>>>
>>> On 10/29/20 15:04, Cory Sell wrote:
>>>
>>>> Might be worth disabling each AP to see if there's one out there having an issue playing nice with the MacBook. Also try different combinations of two APs working together. It's possible the MacBook is flip flopping because the power levels are fighting each other.
>>>
>>> Tested all that, as well as dropping Tx power levels on each of the AP's to Low so that there isn't any power coming from any other AP (despite being quite far, already).
>>>
>>> And to confirm, when the laptop locks into an AP, it doesn't try to join another one. When in range, power is very good (between -37dB and -52dB). When I walk away, that AP becomes too far (as bad as -80dB), but the next one close by is far better (same good values as before) and laptop connects and sticks to that.
>>>
>>> Again, only impacts Catalina. No other Apple device, or the Windows PC that is on the same WLAN.
>>>
>>>
>>>> Does the Mac have this issue at your local coffee shop or another establishment with Wi-Fi? You can try to rule out the AirPort card in the Mac itself.
>>>
>>> Never tried, I generally work from home. If I'm out, it's faster to tether to my 4G service rather than any public wi-fi.
>>>
>>> Mark.
>>
>>
>> --
>>
>> J. Hellenthal
>>
>> The fact that there's a highway to Hell but only a stairway to Heaven says a lot about anticipated traffic volume.
>>
>>
>>
>>
>>
>>
>
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 19:24, colin johnston wrote:
> This does seem to be solved with the checksum disable below, or at least pings down to sub 10ms on Mac book air with Catalina beta 10.15.6, why aim performs far better I don’t know. I tried to introduce load after cksum disable and it did not see ping spikes as before

Didn't work for me, sadly. I still had times ending up in the 235ms
range after making the changes.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 19:38, colin johnston wrote:

> Be careful using Apple wireless diagnostic package, uses a lot of /var/tmp space on a small Macbook air 128ssd

Mine cost me 300MB.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
I was curious, so poked at this... my results from a macbook pro 2019
running Catalina 10.15.3

sudo /usr/local/sbin/mtr -r 10.200.200.200

Start: 2020-10-29T14:09:08-0400
HOST: bos-mp36c Loss% Snt Last Avg Best Wrst StDev
1.|-- 10.200.200.200 0.0% 10 11.9 63.7 9.0 340.2 104.1

sudo sysctl net.link.generic.system.hwcksum_tx=0
net.link.generic.system.hwcksum_tx: 1 -> 0
sudo sysctl net.link.generic.system.hwcksum_rx=0
net.link.generic.system.hwcksum_rx: 1 -> 0
sudo ifconfig en0 -rxcsum

sudo /usr/local/sbin/mtr -r 10.200.200.200

Start: 2020-10-29T14:09:43-0400
HOST: bos-mp36c Loss% Snt Last Avg Best Wrst StDev
1.|-- 10.200.200.200 0.0% 10 19.8 13.6 9.8 20.9 4.5

So, seems to make things better. =-)



On Thu, Oct 29, 2020 at 11:50 AM Mark Tinka <mark.tinka@seacom.com> wrote:

>
>
> On 10/29/20 16:08, J. Hellenthal wrote:
>
> > I believe I have seen the same thing with a Mid 2015 11,4 running
> catalina. Not diagnosing further because I could not find a reason for it
> fast enough and not sure if it really had an impact at the moment…. but
> could you try the following
> >
> >
> > sudo sysctl net.link.generic.system.hwcksum_tx=0
> > sudo sysctl net.link.generic.system.hwcksum_rx=0
> > sudo ifconfig en0 -rxcsum
>
> Thanks, I'll have a sniff.
>
> > If you have some specific tests to run I would be willing to run them
> here on Big Sur with the same laptop but I have nothing now that runs
> Catalina
>
> One of my mates found the same issue on Big Sur (beta) on a 2013 MacBook
> Pro.
>
> Just a simple mtr test to your local home router's IP address should,
> over wi-fi, should show you the jitter.
>
> Mark.
>
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On Thu, Oct 29, 2020 at 5:43 AM Jared Mauch <jared@puck.nether.net> wrote:

> I have all UBNT at home for wireless and periodically have some
> random
> issues which I can't explain, but for the most part have things tuned to
> ensure
> there's little to no interference.
>

All UBNT at home? Ouch.

They're on my banned list after one of their POE devices caught on fire
after being in service for 11 months.
Then they went round and round for a week saying they weren't going to pay
for a shipping label. I wasn't going to pay for one because I didn't want
their gear back.

Finally someone with a bit of common sense sent a shipping label so they
could figure out why it caught on fire.
They ended up sending a replacement back that was obviously used. Instead
of letting it go to waste, I installed it.
It died two weeks later. When I contacted them, they said the original
purchase was over a year ago so they wouldn't RMA it.

Then a second device (plugged into an entirely different switch in a
different building) started smoking and emitting an electrical smell. I
pulled all of them and tossed them in the dumpster.

They are an absolutely atrocious company to deal with. I'm betting some
day real soon they'll be sued into oblivion when their crap burns down
someone's home or office building.

Friends don't let friends buy UniFi.

-A
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
I'd need more data than your anecdotal experience with a POE device to
throw out my Unifi gear and ban the company. But I'm dealing with 2
devices: a Security Gateway and a single Access Point (plus the Controller
software running on my Mac).

There are some quirky things about Unifi that can be annoying, but it is
mostly around common stuff like running a DNS Caching server on the
Security Gateway or force-pushing a DDNS update.

It's been way better than the ad-hoc varied brand of network I was running
before, and I get to see and manage a lot more as well, quite reliably.

We all know that hardware failures happen, and you definitely had a bad
experience, and that sucks.

I'll take all of your Unifi gear, PM me for an address. :-)

Beckman

On Thu, 29 Oct 2020, Aaron C. de Bruyn via NANOG wrote:

> On Thu, Oct 29, 2020 at 5:43 AM Jared Mauch <jared@puck.nether.net> wrote:
>
>> I have all UBNT at home for wireless and periodically have some
>> random
>> issues which I can't explain, but for the most part have things tuned to
>> ensure
>> there's little to no interference.
>>
>
> All UBNT at home? Ouch.
>
> They're on my banned list after one of their POE devices caught on fire
> after being in service for 11 months.
> Then they went round and round for a week saying they weren't going to pay
> for a shipping label. I wasn't going to pay for one because I didn't want
> their gear back.
>
> Finally someone with a bit of common sense sent a shipping label so they
> could figure out why it caught on fire.
> They ended up sending a replacement back that was obviously used. Instead
> of letting it go to waste, I installed it.
> It died two weeks later. When I contacted them, they said the original
> purchase was over a year ago so they wouldn't RMA it.
>
> Then a second device (plugged into an entirely different switch in a
> different building) started smoking and emitting an electrical smell. I
> pulled all of them and tossed them in the dumpster.
>
> They are an absolutely atrocious company to deal with. I'm betting some
> day real soon they'll be sued into oblivion when their crap burns down
> someone's home or office building.
>
> Friends don't let friends buy UniFi.
>
> -A
>

---------------------------------------------------------------------------
Peter Beckman Internet Guy
beckman@angryox.com http://www.angryox.com/
---------------------------------------------------------------------------
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
I also have all Ubiquiti stuff at home, and I’ve deployed it in large installations of up to 100 APs. Beyond that it seems to hit some communication bottleneck in its spectrum allocation protocols, so I usually go to Aruba or Ruckus for networks larger than that.

Ubiquiti is pretty reliable, but you have to stay away from the latest release, just like anything. Its SDN implementation is quite impressive for what it does, especially for the fact that you get it for free (i’m talking to you, Cisco DNA :-). The only major downside is that it’s all Ubiquiti all the time: they don’t interoperate with anything else.

-mel via cell

> On Oct 29, 2020, at 12:24 PM, Peter Beckman <beckman@angryox.com> wrote:
>
> ?I'd need more data than your anecdotal experience with a POE device to
> throw out my Unifi gear and ban the company. But I'm dealing with 2
> devices: a Security Gateway and a single Access Point (plus the Controller
> software running on my Mac).
>
> There are some quirky things about Unifi that can be annoying, but it is
> mostly around common stuff like running a DNS Caching server on the
> Security Gateway or force-pushing a DDNS update.
>
> It's been way better than the ad-hoc varied brand of network I was running
> before, and I get to see and manage a lot more as well, quite reliably.
>
> We all know that hardware failures happen, and you definitely had a bad
> experience, and that sucks.
>
> I'll take all of your Unifi gear, PM me for an address. :-)
>
> Beckman
>
>> On Thu, 29 Oct 2020, Aaron C. de Bruyn via NANOG wrote:
>>
>>> On Thu, Oct 29, 2020 at 5:43 AM Jared Mauch <jared@puck.nether.net> wrote:
>>>
>>> I have all UBNT at home for wireless and periodically have some
>>> random
>>> issues which I can't explain, but for the most part have things tuned to
>>> ensure
>>> there's little to no interference.
>>>
>>
>> All UBNT at home? Ouch.
>>
>> They're on my banned list after one of their POE devices caught on fire
>> after being in service for 11 months.
>> Then they went round and round for a week saying they weren't going to pay
>> for a shipping label. I wasn't going to pay for one because I didn't want
>> their gear back.
>>
>> Finally someone with a bit of common sense sent a shipping label so they
>> could figure out why it caught on fire.
>> They ended up sending a replacement back that was obviously used. Instead
>> of letting it go to waste, I installed it.
>> It died two weeks later. When I contacted them, they said the original
>> purchase was over a year ago so they wouldn't RMA it.
>>
>> Then a second device (plugged into an entirely different switch in a
>> different building) started smoking and emitting an electrical smell. I
>> pulled all of them and tossed them in the dumpster.
>>
>> They are an absolutely atrocious company to deal with. I'm betting some
>> day real soon they'll be sued into oblivion when their crap burns down
>> someone's home or office building.
>>
>> Friends don't let friends buy UniFi.
>>
>> -A
>>
>
> ---------------------------------------------------------------------------
> Peter Beckman Internet Guy
> beckman@angryox.com http://www.angryox.com/
> ---------------------------------------------------------------------------
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On Thu, Oct 29, 2020 at 12:22 PM Peter Beckman <beckman@angryox.com> wrote:

> I'll take all of your Unifi gear, PM me for an address. :-)
>

I'd send it your way in a heartbeat, but you wouldn't get much use out of
it.
I have an old CloudKey that mysteriously doesn't seem to be getting updates
anymore.
I have an old CloudKey Gen2 Plus that hasn't received updates in about a
year but the HDD died 8 months in.
I have a UDM Pro that's useless because the WAN port seems to have a
manufacturing defect.
I have a 4 old UVC-G3 cameras that died at about 13 months (not eligible
for warranty repair)
I have 3 UVC-G3-Flex cameras that have bad SD cards that I fortunately
bought from a vendor instead of UniFi directly and they just said "here are
replacements, don't bother shipping that crap back--toss them".
I have a US-24-250 and a US-48-500 switch that have dead power supplies.
One was DOA, the other died about 3 months in. UniFi won't fix it, and I'm
not going to pay for shipping labels to fix their mistakes. (I paid for a
working switch, and I got a dead switch--why should I pay more to get what
I ordered?)
I have a dead VIEWPORT and two that 'stutter' badly when displaying 4
cameras and they reboot several times per hour.
I have a partially melted UA-HUB.

Fortunately I switched to a vendor in the last 6 months that charges about
5% less than the list price and they actually replace stuff at no cost.
Dealing with Ubiquity directly is a nightmare.

There are some quirky things about Unifi that can be annoying, but it is
> mostly around common stuff like running a DNS Caching server on the
> Security Gateway or force-pushing a DDNS update.
>

Quirky things: the lack of customer service, the lack of communication
with customers, the buggy software, releasing hardware to production that
is completely unusable for 6 months (UDM Pro), etc...

Anyways, not to get too down on them, their wireless gear and switches are
pretty wonderful. I've never had a WAP die on me, and only a small handful
of switches...but the cost is hard to beat.
There has been talk in the forums about various Apple gear having problems,
and I think a recent update (possibly still in beta) appears to have fixed
it. I don't own any Apple gear, so I can't confirm.

-A
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/2020 1:42 PM, Aaron C. de Bruyn via NANOG wrote:
> I have an old CloudKey that mysteriously doesn't seem to be getting
> updates anymore.

https://community.ui.com/releases/UniFi-Cloud-Key-Firmware-1-1-13/733dfc55-b61b-483b-afc1-77d7f2c1e032

4 months ago, if you want to stick strictly to stable... More recent if
you run a beta release.


> I have an old CloudKey Gen2 Plus that hasn't received updates in about a
> year but the HDD died 8 months in.

Updates are from same link as above, and there's new builds based on
their new OS that integrates a bunch of separate controllers if you
don't mind beta...

Not sure about hard disk dying.


> I have a UDM Pro that's useless because the WAN port seems to have a
> manufacturing defect.


Its actually a software bug - I had it too on releases around 1.8.0.
It's actually fixed in 1.8.2-5 and later.


The other stuff, i can't really comment on. But, I figured I'd correct
several statements of what I had knowledge on. :-)

One thing I will note - I've had only one device out of hundreds go bad
in the last 10 years of using their products. Usually, when you have
lots of failing hardware 'for some reason', its a good idea to look into
the reason 'why?'. Could be bad grounds, could be dirty power...

--
Brielle Bruns
The Summit Open Source Development Group
http://www.sosdg.org / http://www.ahbl.org
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On Thu, Oct 29, 2020 at 12:54 PM Brielle <bruns@2mbit.com> wrote:

> On 10/29/2020 1:42 PM, Aaron C. de Bruyn via NANOG wrote:
> > I have an old CloudKey that mysteriously doesn't seem to be getting
> > updates anymore.
>
>
> https://community.ui.com/releases/UniFi-Cloud-Key-Firmware-1-1-13/733dfc55-b61b-483b-afc1-77d7f2c1e032
>
> 4 months ago, if you want to stick strictly to stable... More recent if
> you run a beta release.


Not to drag this out any further, but that was well after I stopped using
it because it hadn't had updates for nearly a year.

Same with the other issues mentioned. They spent a good 8-12 months not
communicating with customers, not addressing issues, and not releasing
firmware while they developed their new UniFi OS.

-A
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
Sorry--accidental premature send.

On Thu, Oct 29, 2020 at 12:54 PM Brielle <bruns@2mbit.com> wrote:

> Updates are from same link as above, and there's new builds based on
> their new OS that integrates a bunch of separate controllers if you
> don't mind beta...
>

With most companies I wouldn't mind.
But with UniFi, Alpha is Beta, and Beta is launched into production.


> > I have a UDM Pro that's useless because the WAN port seems to have a
> > manufacturing defect.
>
> Its actually a software bug - I had it too on releases around 1.8.0.
> It's actually fixed in 1.8.2-5 and later.
>

That's what I saw originally too. It kept it sitting on the shelf for
months.
It's fixed in their beta software, but not on one of my appliances.


> One thing I will note - I've had only one device out of hundreds go bad
> in the last 10 years of using their products. Usually, when you have
> lots of failing hardware 'for some reason', its a good idea to look into
> the reason 'why?'. Could be bad grounds, could be dirty power...


Their switches and WAPs are pretty solid for me. I have about 150 of each
deployed with only 2 or 3 failures.

I've had electricians check power in locations where things died and they
find no issues. Plus the sites use double-conversion UPS units, so I
highly doubt it's power issues.

-A
Re: Apple Catalina Appears to Introduce Massive Jitter [ In reply to ]
On 10/29/20 20:14, David Curado wrote:

> I was curious, so poked at this... my results from a macbook pro 2019
> running Catalina 10.15.3
>
> sudo /usr/local/sbin/mtr -r 10.200.200.200
>
> Start: 2020-10-29T14:09:08-0400
> HOST: bos-mp36c                   Loss%   Snt Last   Avg  Best  Wrst StDev
>   1.|-- 10.200.200.200             0.0%    10 11.9  63.7   9.0 340.2 104.1
>
> sudo sysctl net.link.generic.system.hwcksum_tx=0
> net.link.generic.system.hwcksum_tx: 1 -> 0
> sudo sysctl net.link.generic.system.hwcksum_rx=0
> net.link.generic.system.hwcksum_rx: 1 -> 0
> sudo ifconfig en0 -rxcsum
>
> sudo /usr/local/sbin/mtr -r 10.200.200.200
>
> Start: 2020-10-29T14:09:43-0400
> HOST: bos-mp36c                   Loss%   Snt Last   Avg  Best  Wrst StDev
>   1.|-- 10.200.200.200             0.0%    10 19.8  13.6   9.8  20.9   4.5
>
> So, seems to make things better. =-)

I tried it again this morning, on the off-chance that the stars didn't
align yesterday. Same deal:

sh-3.2# sysctl net.link.generic.system.hwcksum_tx=0
net.link.generic.system.hwcksum_tx: 1 -> 0
sh-3.2# sysctl net.link.generic.system.hwcksum_rx=0
net.link.generic.system.hwcksum_rx: 1 -> 0
sh-3.2# ifconfig en0 -rxcsum

Marks-MacBook-Pro.local (172.16.0.239) 2020-10-30T08:39:44+0200
Keys:  Help   Display mode   Restart statistics   Order of fields quit
Packets               Pings
 Host Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 172.16.0.254 0.0%    28    1.9  28.7   1.9 218.9  56.1

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
Hi all.

So I may have fixed this for my end, and hopefully others may be able to
use the same fix.

After a tip from Karl Auerbach and this link:

    https://developer.apple.com/forums/thread/97805

... I was able to fix the problem by disabling Bluetooth.

However, disabling Bluetooth was not enough. I also had to disable all
Location Services.

After that, I re-enabled Location Services and only allowed for two
features:

    - NetSpot
    - Find My Mac

With just those two location services, as well as Bluetooth disabled, I
have no more high jitter.

App performance like Zoom and Youtube uploads are now crisp, with 0.0%
packet loss.

So looks like that Bluetooth is a huge problem. Confirmed by opening the
"Console" app, and adding "scan" in the filter bar, top right.

A peak latency of 13.5ms after 300 packets:

Marks-MacBook-Pro.local (172.16.0.239) 2020-10-30T21:06:05+0200
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
Packets               Pings
 Host Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 172.16.0.254 0.0%   300    3.1   4.8   2.2  13.5   1.9

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
Hi Mark,

I'm running a MacBook Pro (Retina, 15-inch, Mid 2015) with Mojave 10.14.6 (latest).
I've always had location services off (including all system services within).

I haven't seen any jitter issues on my end.

Along with, no matter if I have bluetooth turned on with my wireless mouse and keyboard connected or not, I see no consistent change in jitter.

Even further, enabling location services (including all system services within) and bluetooth enabled, I'm not seeing any change in jitter.

I know you said earlier this issue seems to have started somewhere _around_ Mojave so just my two cents.

-Aaron

Oct 30, 2020, 12:08 by mark.tinka@seacom.com:

> Hi all.
>
> So I may have fixed this for my end, and hopefully others may be able to use the same fix.
>
> After a tip from Karl Auerbach and this link:
>
>     > https://developer.apple.com/forums/thread/97805
>
> ... I was able to fix the problem by disabling Bluetooth.
>
> However, disabling Bluetooth was not enough. I also had to disable all Location Services.
>
> After that, I re-enabled Location Services and only allowed for two features:
>
>     - NetSpot
>     - Find My Mac
>
> With just those two location services, as well as Bluetooth disabled, I have no more high jitter.
>
> App performance like Zoom and Youtube uploads are now crisp, with 0.0% packet loss.
>
> So looks like that Bluetooth is a huge problem. Confirmed by opening the "Console" app, and adding "scan" in the filter bar, top right.
>
> A peak latency of 13.5ms after 300 packets:
>
> Marks-MacBook-Pro.local(172.16.0.239)                                                                                                                                                                                       2020-10-30T21:06:05+0200
> Keys:  Help   Display mode   Restart statistics   Order of fields   quit
>                                                                                                                                                                                                              Packets               Pings
>  Host                                                                                                                                                                                                      Loss%   Snt   Last   Avg  Best  Wrst StDev
>  1.172.16.0.254                                                                                                                                                                                            0.0%   300    3.1   4.8   2.2  13.5   1.9
>
> Mark.
>
>
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
I would hesitate to blame BT. I have a macbook pro from ~1 year ago, on
Catalina, and I use BT extensively ... mouse, keyboard, and headset. I
do have location services trimmed down to just find my mac.

I ran: ping -c 1000 -i 0.1 <router address>

1000 packets transmitted, 998 packets received, 0.2% packet loss
round-trip min/avg/max/stddev = 1.255/2.378/9.095/0.634 ms

One thing that may contribute to blaming BT however is if you are using
wifi on 2.4G only, and/or preferring it, as BT operates in the same
frequency range neighborhood. My macbook is connected using 5G.

Happy to compare other settings if there is interest.

Doug


On 10/30/20 12:08 PM, Mark Tinka wrote:
> Hi all.
>
> So I may have fixed this for my end, and hopefully others may be able to
> use the same fix.
>
> After a tip from Karl Auerbach and this link:
>
> https://developer.apple.com/forums/thread/97805
>
> ... I was able to fix the problem by disabling Bluetooth.
>
> However, disabling Bluetooth was not enough. I also had to disable all
> Location Services.
>
> After that, I re-enabled Location Services and only allowed for two
> features:
>
>     - NetSpot
>     - Find My Mac
>
> With just those two location services, as well as Bluetooth disabled, I
> have no more high jitter.
>
> App performance like Zoom and Youtube uploads are now crisp, with 0.0%
> packet loss.
>
> So looks like that Bluetooth is a huge problem. Confirmed by opening the
> "Console" app, and adding "scan" in the filter bar, top right.
>
> A peak latency of 13.5ms after 300 packets:
>
> Marks-MacBook-Pro.local (172.16.0.239) 2020-10-30T21:06:05+0200
> Keys:  Help   Display mode   Restart statistics   Order of fields   quit
> Packets               Pings
>  Host Loss%   Snt   Last   Avg  Best  Wrst StDev
>  1. 172.16.0.254 0.0%   300    3.1   4.8   2.2  13.5   1.9
>
> Mark.
>
>
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
Heya ! Doug!

Yeah I wouldn’t put this on BT either. On the other hand it seems that whether the scheduler is newreno or cubic that this situation persists pasts my previous suggestions. Seems tho that when you put strain on an upload that the jitter gets considerably worse... 90m out of a 100m link it starts to get to 1000+ms

--
J. Hellenthal

The fact that there's a highway to Hell but only a stairway to Heaven says a lot about anticipated traffic volume.

> On Oct 30, 2020, at 16:59, Doug Barton <dougb@dougbarton.us> wrote:
> ?I would hesitate to blame BT. I have a macbook pro from ~1 year ago, on Catalina, and I use BT extensively ... mouse, keyboard, and headset. I do have location services trimmed down to just find my mac.
>
> I ran: ping -c 1000 -i 0.1 <router address>
>
> 1000 packets transmitted, 998 packets received, 0.2% packet loss
> round-trip min/avg/max/stddev = 1.255/2.378/9.095/0.634 ms
>
> One thing that may contribute to blaming BT however is if you are using wifi on 2.4G only, and/or preferring it, as BT operates in the same frequency range neighborhood. My macbook is connected using 5G.
>
> Happy to compare other settings if there is interest.
>
> Doug
>
>
>> On 10/30/20 12:08 PM, Mark Tinka wrote:
>> Hi all.
>> So I may have fixed this for my end, and hopefully others may be able to use the same fix.
>> After a tip from Karl Auerbach and this link:
>> https://developer.apple.com/forums/thread/97805
>> ... I was able to fix the problem by disabling Bluetooth.
>> However, disabling Bluetooth was not enough. I also had to disable all Location Services.
>> After that, I re-enabled Location Services and only allowed for two features:
>> - NetSpot
>> - Find My Mac
>> With just those two location services, as well as Bluetooth disabled, I have no more high jitter.
>> App performance like Zoom and Youtube uploads are now crisp, with 0.0% packet loss.
>> So looks like that Bluetooth is a huge problem. Confirmed by opening the "Console" app, and adding "scan" in the filter bar, top right.
>> A peak latency of 13.5ms after 300 packets:
>> Marks-MacBook-Pro.local (172.16.0.239) 2020-10-30T21:06:05+0200
>> Keys: Help Display mode Restart statistics Order of fields quit
>> Packets Pings
>> Host Loss% Snt Last Avg Best Wrst StDev
>> 1. 172.16.0.254 0.0% 300 3.1 4.8 2.2 13.5 1.9
>> Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
On 10/30/20 23:57, Doug Barton wrote:

> I would hesitate to blame BT. I have a macbook pro from ~1 year ago,
> on Catalina, and I use BT extensively ... mouse, keyboard, and
> headset. I do have location services trimmed down to just find my mac.
>
> I ran: ping -c 1000 -i 0.1 <router address>
>
> 1000 packets transmitted, 998 packets received, 0.2% packet loss
> round-trip min/avg/max/stddev = 1.255/2.378/9.095/0.634 ms
>
> One thing that may contribute to blaming BT however is if you are
> using wifi on 2.4G only, and/or preferring it, as BT operates in the
> same frequency range neighborhood. My macbook is connected using 5G.
>
> Happy to compare other settings if there is interest.

What I do know is that there has been more than one fix for most people
that have had this issue. For some, it has been a dodgy app, and for
others, it has just been disabling some Location Services.

In my case, what worked was disabling Bluetooth, in combination with as
many Location Services as I could afford to not use.

I am able to reliably reproduce this issue, so in my case, I can
certainly blame Bluetooth. Pity, since I do use some Handoff services
with my other Apple devices, but I won't give up wi-fi stability for that.

And yes, this happens both on 2.4GHz and 5GHz. As you may know, macOS
will default to 5GHz provided RSSI is at -68dB or better. My laptop only
ever connects on 2.4GHz if I am outside my house (which is hardly).
Inside the house, there is always a 5GHz transmitter within -38dB of me.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
On 10/31/20 01:53, J. Hellenthal via NANOG wrote:

> Heya ! Doug!
>
> Yeah I wouldn’t put this on BT either. On the other hand it seems that whether the scheduler is newreno or cubic that this situation persists pasts my previous suggestions. Seems tho that when you put strain on an upload that the jitter gets considerably worse... 90m out of a 100m link it starts to get to 1000+ms

I noticed this too... when I had the issue, uploads were severely
impacted (hence my problems pushing files to Youtube).

However, I also noticed the same problem if I am stressing my 100Mbps
FTTH link pushing a 24GB file to Youtube, as a matter of course. So it
would make sense that the high jitter caused by Bluetooth, in my case,
affects uploads more because the wi-fi and Bluetooth chips on the laptop
are aggressively scanning the environment, which would seem like a Tx
direction to me.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
Let me jump in and add a bit more information.

I am not an RF guy - I stopped playing with radios [and TV] in the days
when they used vacuum tubes (yes, really.)

Many laptops share radio and antenna resources between WiFi and bluetooth.

Bluetooth lives on the 2.4ghz band.  Wifi presently uses both that band
and also a 5ghz band. Different antennas might be used for each.

I encountered Wi-Fi/Bluetooth contention issues a couple of years back....

My home wifi has (or rather had) distinct SSIDs for Wifi on the 2.4 and
5ghz bands.  It was a rough attempt at manual load and distance balancing.

(Our house is in a relatively quiet area, RF wise, so there's not really
any seriously competing wi-fi - or for that matter cell signal,
broadcast TV, or FM radio.)

I began to notice that when I had one of my laptops on the 5ghz WiFi and
was listening to music via some bluetooth speakers that my remote
terminal keystrokes sometimes had that sluggish feel that is familiar
when doing remote terminal command-line stuff over long paths with a lot
of latency/jitter.  And at the same time the music via Bluetooth often
broke up or stuttered.  There was a clear correlation between the two
problems.

I had heard from some Linux kernel developers that deep down in the
Linux kernel the simultaneous use of Wifi on a 5ghz channel and
bluetooth on 2.4 causes a lot of thrashing and flogging of the the radio
system.  I don't know, but I suspect that as a result there are queues
of outbound traffic waiting for the radio or antennas to become
operational on the channel they need.  I have no idea what happens to
inbound frames when the radio system is tuned elsewhere - I never
measured whether the frames are lost or delayed.

I suspect similar issues are present in *BSD, MacOS, and Windows kernels.

So I did some simple empirical testing to compare life with the laptop
coerced to use an SSID present only on the 2.4ghz band. The problems
went away.

I went back to the laptop, but coerced onto the 5ghz band for WiFi and,
voila, there was trouble.

I've done this with a MacBook Pro (circa 2015 model) using various
versions of MacOS and with my rather newer Linux laptops (mostly Dell
XPS units with Fedora.)  Same sorts of behavior.

These were all i5 based units with 2 or 4 cores - plenty of CPU power to
simultaneously handle an SSH remote console client and a music player.

I did not test with mobile phone or tablet platforms.

I do not know if the single radio issue is the result of cost savings or
some radio-engineering or antenna issue.  I do suspect that these things
could become more troublesome as WiFi 6 and/or 5G start to use some of
the higher frequency allocations around 5.9 and 6ghz.)

(A few weeks ago we switched our home WiFi to a WiFi 6 [Netgear Orbi-6]
mesh system that does not appear to allow separate SSIDs for the 2.4 and
5ghz bands, so I can not repeat these tests without constructing a test
network with the now unused access points.  BTW, I did encounter the
hell that is known as "reconfiguring dozens upon dozens of different
kinds of IoT devices to use a different SSID".)

Looking somewhat off topic - it is my sense that we will be seeing a lot
more latency/jitter (and packet resequencing) issues in the future as
radio systems become more agile and as we begin to use shorter
(millimeter) wavelength frequencies with reduced ability to penetrate
walls that, in turn, cause more frequent access-point transitions (with
possibly distinctly different backhaul characteristics).  I've observed
that these things can cause trouble for some TCP stacks and some non-TCP
based VoIP and streaming applications.

        --karl--

On 10/30/20 12:08 PM, Mark Tinka wrote:
> Hi all.
>
> So I may have fixed this for my end, and hopefully others may be able
> to use the same fix.
>
> After a tip from Karl Auerbach and this link:
>
> https://developer.apple.com/forums/thread/97805
>
> ... I was able to fix the problem by disabling Bluetooth.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
Thanks for the input, Karl.

Hopefully someone from Apple is around here and can get some ideas on
how to fix this particular problem set.

Mark.

On 10/31/20 11:37, Karl Auerbach wrote:
>
> Let me jump in and add a bit more information.
>
> I am not an RF guy - I stopped playing with radios [and TV] in the
> days when they used vacuum tubes (yes, really.)
>
> Many laptops share radio and antenna resources between WiFi and bluetooth.
>
> Bluetooth lives on the 2.4ghz band.  Wifi presently uses both that
> band and also a 5ghz band. Different antennas might be used for each.
>
> I encountered Wi-Fi/Bluetooth contention issues a couple of years back....
>
> My home wifi has (or rather had) distinct SSIDs for Wifi on the 2.4
> and 5ghz bands.  It was a rough attempt at manual load and distance
> balancing.
>
> (Our house is in a relatively quiet area, RF wise, so there's not
> really any seriously competing wi-fi - or for that matter cell signal,
> broadcast TV, or FM radio.)
>
> I began to notice that when I had one of my laptops on the 5ghz WiFi
> and was listening to music via some bluetooth speakers that my remote
> terminal keystrokes sometimes had that sluggish feel that is familiar
> when doing remote terminal command-line stuff over long paths with a
> lot of latency/jitter.  And at the same time the music via Bluetooth
> often broke up or stuttered.  There was a clear correlation between
> the two problems.
>
> I had heard from some Linux kernel developers that deep down in the
> Linux kernel the simultaneous use of Wifi on a 5ghz channel and
> bluetooth on 2.4 causes a lot of thrashing and flogging of the the
> radio system.  I don't know, but I suspect that as a result there are
> queues of outbound traffic waiting for the radio or antennas to become
> operational on the channel they need.  I have no idea what happens to
> inbound frames when the radio system is tuned elsewhere - I never
> measured whether the frames are lost or delayed.
>
> I suspect similar issues are present in *BSD, MacOS, and Windows kernels.
>
> So I did some simple empirical testing to compare life with the laptop
> coerced to use an SSID present only on the 2.4ghz band. The problems
> went away.
>
> I went back to the laptop, but coerced onto the 5ghz band for WiFi
> and, voila, there was trouble.
>
> I've done this with a MacBook Pro (circa 2015 model) using various
> versions of MacOS and with my rather newer Linux laptops (mostly Dell
> XPS units with Fedora.)  Same sorts of behavior.
>
> These were all i5 based units with 2 or 4 cores - plenty of CPU power
> to simultaneously handle an SSH remote console client and a music player.
>
> I did not test with mobile phone or tablet platforms.
>
> I do not know if the single radio issue is the result of cost savings
> or some radio-engineering or antenna issue.  I do suspect that these
> things could become more troublesome as WiFi 6 and/or 5G start to use
> some of the higher frequency allocations around 5.9 and 6ghz.)
>
> (A few weeks ago we switched our home WiFi to a WiFi 6 [Netgear
> Orbi-6] mesh system that does not appear to allow separate SSIDs for
> the 2.4 and 5ghz bands, so I can not repeat these tests without
> constructing a test network with the now unused access points.  BTW, I
> did encounter the hell that is known as "reconfiguring dozens upon
> dozens of different kinds of IoT devices to use a different SSID".)
>
> Looking somewhat off topic - it is my sense that we will be seeing a
> lot more latency/jitter (and packet resequencing) issues in the future
> as radio systems become more agile and as we begin to use shorter
> (millimeter) wavelength frequencies with reduced ability to penetrate
> walls that, in turn, cause more frequent access-point transitions
> (with possibly distinctly different backhaul characteristics).  I've
> observed that these things can cause trouble for some TCP stacks and
> some non-TCP based VoIP and streaming applications.
>
>         --karl--
>
> On 10/30/20 12:08 PM, Mark Tinka wrote:
>> Hi all.
>>
>> So I may have fixed this for my end, and hopefully others may be able
>> to use the same fix.
>>
>> After a tip from Karl Auerbach and this link:
>>
>> https://developer.apple.com/forums/thread/97805
>>
>> ... I was able to fix the problem by disabling Bluetooth.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
Just an update on this re: the Bluetooth.

I had my AirPods paired previously for single use. I don't use them on
the laptop (there is some latency), so I prefer the wired earphones. But
it seems like Bluetooth was aggressively scanning for them. After
removing them from the system, the scanning remained, but reduced
significantly.

So looking at Console again, every so often, Bluetooth is scanning the
network on behalf of the "sharingd" process.

sharingd is a sharing daemon that supports features such as AirDrop,
Handoff, Instant Hotspot, Shared Computers and Remote Disc in Finder.

Still keeping Bluetooth off, however.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
Hey Mark,

Went through a bunch of tests here. Seems I’ve cleared up the matter on this macOS[1] Big Sur at least by disabling Wi-Fi Networking under “Location Services -> System Services -> Wi-Fi Networking [2]”. It seems at least from perspective that something changed there and causes the Mac to scan more aggressively when more than one access point (generally speaking your SSID & SSID + 5G) has been logged at a location as accessible. This same thing could be observed at least on my system while having those settings turned off, bluetooth on and location services enabled and opening (Wi-Fi Explorer[3]) which puts the interface into “monitor mode” which seems to be causing the contention somewhere. After those changes keep in mind I had to restart from a full shutdown to get to some real clean ms traffic to the router and I prefer to be connected to 5Ghz before 2.4Ghz.


1. Darwin Kernel Version 20.1.0: Thu Oct 29 05:35:40 PDT 2020; root:xnu-7195.50.5~4/RELEASE_X86_64
2. https://www.dropbox.com/s/m3xm3fpoziwe01d/Screen%20Shot%202020-11-10%20at%2008.20.08.png?dl=0
3. https://apps.apple.com/us/app/wifi-explorer/id494803304?mt=12


> On Nov 5, 2020, at 00:43, Mark Tinka <mark.tinka@seacom.com> wrote:
>
> Just an update on this re: the Bluetooth.
>
> I had my AirPods paired previously for single use. I don't use them on the laptop (there is some latency), so I prefer the wired earphones. But it seems like Bluetooth was aggressively scanning for them. After removing them from the system, the scanning remained, but reduced significantly.
>
> So looking at Console again, every so often, Bluetooth is scanning the network on behalf of the "sharingd" process.
>
> sharingd is a sharing daemon that supports features such as AirDrop, Handoff, Instant Hotspot, Shared Computers and Remote Disc in Finder.
>
> Still keeping Bluetooth off, however.
>
> Mark.


--

J. Hellenthal

The fact that there's a highway to Hell but only a stairway to Heaven says a lot about anticipated traffic volume.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
Thanks, J.

So I did test this a few times as well. The only thing I had enabled
(during the first test) in "System Services" was "Find My Mac".
Everything else was turned off, and the issue remained.

Just to confirm that this was a clean install of Catalina, so the only
wi-fi AP in my history is my home one, as I haven't worked in a cafe,
airport, or hotel since then :-).

Since disabling Bluetooth and the system stabilizing, I've re-enabled
"Location-Based Suggestions" and "Significant Locations" only.
Everything else under "System Services" is still turned off, including
"Wi-Fi Networking".

That said, you did mention that you've fixed this on Big Sur. I am still
running Catalina. Considering Apple's history of dodgy initial releases
of a new OS, I'll give Big Sur a few months (or a year) before I feel
it's safe to upgrade. I'm already having to deal with Catalina as it is,
which is why I have High Sierra installed on my old laptop for my
weekend DJ streaming habit :-). OBS Studio seems to like High Sierra
better than Catalina, hehe.

Many thanks for working on this - it's most appreciated!

Mark.

On 11/10/20 16:30, J. Hellenthal wrote:
> Hey Mark,
>
> Went through a bunch of tests here. Seems I’ve cleared up the matter on this macOS[1] Big Sur at least by disabling Wi-Fi Networking under “Location Services -> System Services -> Wi-Fi Networking [2]”. It seems at least from perspective that something changed there and causes the Mac to scan more aggressively when more than one access point (generally speaking your SSID & SSID + 5G) has been logged at a location as accessible. This same thing could be observed at least on my system while having those settings turned off, bluetooth on and location services enabled and opening (Wi-Fi Explorer[3]) which puts the interface into “monitor mode” which seems to be causing the contention somewhere. After those changes keep in mind I had to restart from a full shutdown to get to some real clean ms traffic to the router and I prefer to be connected to 5Ghz before 2.4Ghz.
>
>
> 1. Darwin Kernel Version 20.1.0: Thu Oct 29 05:35:40 PDT 2020; root:xnu-7195.50.5~4/RELEASE_X86_64
> 2. https://www.dropbox.com/s/m3xm3fpoziwe01d/Screen%20Shot%202020-11-10%20at%2008.20.08.png?dl=0
> 3. https://apps.apple.com/us/app/wifi-explorer/id494803304?mt=12
>
>
>> On Nov 5, 2020, at 00:43, Mark Tinka <mark.tinka@seacom.com> wrote:
>>
>> Just an update on this re: the Bluetooth.
>>
>> I had my AirPods paired previously for single use. I don't use them on the laptop (there is some latency), so I prefer the wired earphones. But it seems like Bluetooth was aggressively scanning for them. After removing them from the system, the scanning remained, but reduced significantly.
>>
>> So looking at Console again, every so often, Bluetooth is scanning the network on behalf of the "sharingd" process.
>>
>> sharingd is a sharing daemon that supports features such as AirDrop, Handoff, Instant Hotspot, Shared Computers and Remote Disc in Finder.
>>
>> Still keeping Bluetooth off, however.
>>
>> Mark.
>
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
I'm not generally into conspiracy, but as I keep trying to work out the
issue I described in this thread, I came across this:

    https://sneak.berlin/20201112/your-computer-isnt-yours/

Might explain quite a lot, actually, (particularly at the FAQ section
under "When did this start?") and why it feels like macOS has taken a
huge dive (that I couldn't explain) since Mojave.

I still have High Sierra installed on my 2017 15-inch Mac, and will
likely keep it that way forever... if for nothing else, but as a
reference of what once was.

Staying away from Big Sur for as long as I can.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
On Tue, 17 Nov 2020 at 09:17, Mark Tinka <mark.tinka@seacom.com> wrote:

> https://sneak.berlin/20201112/your-computer-isnt-yours/
https://support.apple.com/en-us/HT202491

I am not trying to make any argument, just wanted to add context.

--
++ytti
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
On 11/17/20 09:26, Saku Ytti wrote:

> https://support.apple.com/en-us/HT202491
> I am not trying to make any argument, just wanted to add context.

Yes, saw that too, and that post by Apple is also highlighted (and
explained) in the same report.

The Gatekeeper OCSP checks remain unencrypted.

It still leave two glaring issues:

* Apple are still not saying anything about their OS apps bypassing
local firewalls and leaking our IP address and location past any
VPN's we may be running on Big Sur.

* The backdoor in iMessage's encryption that allows Apple and other
"interested parties" to view our iMessage texts.

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
On Tue, 17 Nov 2020 at 09:35, Mark Tinka <mark.tinka@seacom.com> wrote:

> Yes, saw that too, and that post by Apple is also highlighted (and explained) in the same report.

Aah, I had not seen the updated version of it, thanks.

--
++ytti
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! [ In reply to ]
The leaking past the VPN thing is pretty obnoxious. There are people who may be subject to policy and/or regulatory requirements that don’t permit split tunnels (even if supposedly not in userspace), so it will be interesting to see what burdens the use of an OS that intentionally leaks data will place on certain companies. In contrast, it’s pretty funny that while they let their own data collection apps leak past a tunnel to call home, they do not let the link local ipv6 traffic that Sidecar uses leak past a non-split VPN; i.e. if I’m on corporate VPN, I can no longer connect my tablet as a Sidecar monitor to my Macbook because that traffic is blocked.


From: NANOG <nanog-bounces+dhubbard=dino.hostasaurus.com@nanog.org> on behalf of Mark Tinka <mark.tinka@seacom.com>
Organization: SEACOM
Date: Tuesday, November 17, 2020 at 2:37 AM
To: Saku Ytti <saku@ytti.fi>
Cc: North American Network Operators Group <nanog@nanog.org>
Subject: Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED!


On 11/17/20 09:26, Saku Ytti wrote:
https://support.apple.com/en-us/HT202491

I am not trying to make any argument, just wanted to add context.

Yes, saw that too, and that post by Apple is also highlighted (and explained) in the same report.

The Gatekeeper OCSP checks remain unencrypted.

It still leave two glaring issues:

* Apple are still not saying anything about their OS apps bypassing local firewalls and leaking our IP address and location past any VPN's we may be running on Big Sur.

* The backdoor in iMessage's encryption that allows Apple and other "interested parties" to view our iMessage texts.
Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! - Update! [ In reply to ]
So after installing Little Snitch and basically denying "trustd" any
kind of Internet access, I have been seeing reasonably normal jitter
with Bluetooth enabled.

It's not that Bluetooth stops scanning, but it's not scanning as
aggressively. So after a few minutes, there will be very high jitter
when Bluetooth scans the environment, but it would affect only a single
packet. It's easily reduced its chattiness by 99%.

I don't have any empirical data to support the claim that Little Snitch
has anything to do with it (and I am too lazy to dig further into it),
but the reduction in jitter is massively noticeable since Little Snitch.
Which means I can now run Catalina with Bluetooth enabled and not have
any wi-fi problems.

Just FYI, for the archives :-).

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! - Update! [ In reply to ]
> On 22 Nov 2020, at 10:17, Mark Tinka <mark.tinka@seacom.com> wrote:
>
> ? So after installing Little Snitch and basically denying "trustd" any kind of Internet access, I have been seeing reasonably normal jitter with Bluetooth enabled.
I actually “saw the same” on Catalina while using little snitch.

“Saw the same” after installing yesterday Big Sur and suddenly received a notification “this version of little snitch is no longer supported by macOS. It’s looks like I have to pay 25€ for a new compatible version.
>
> It's not that Bluetooth stops scanning, but it's not scanning as aggressively. So after a few minutes, there will be very high jitter when Bluetooth scans the environment, but it would affect only a single packet. It's easily reduced its chattiness by 99%.
>
> I don't have any empirical data to support the claim that Little Snitch has anything to do with it (and I am too lazy to dig further into it), but the reduction in jitter is massively noticeable since Little Snitch. Which means I can now run Catalina with Bluetooth enabled and not have any wi-fi problems.
>
> Just FYI, for the archives :-).
>
> Mark.

Cheers,
Darwin-.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! - Update! [ In reply to ]
On 11/22/20 12:25, dc@darwincosta.com wrote:

> “Saw the same” after installing yesterday Big Sur and suddenly
> received a notification “this version of little snitch is no longer
> supported by macOS. It’s looks like I have to pay 25€ for a new
> compatible version.

My advice would be to keep Catalina :-).

Mark.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! - Update! [ In reply to ]
> ??Saw the same?? after installing yesterday Big Sur and suddenly
> received a notification ??this version of little snitch is no longer
> supported by macOS. It??s looks like I have to pay 25?? for a new
> compatible version.

and big slur bypasses it for some nefarious uses, e.g. [un]trustd

i am sticking with catatonic

randy
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! - Update! [ In reply to ]
You can supposedly still use 4.5 4.6 on Big Sur if you do the following but I have not tested it on Little Snotch, works fine for personal software and others ...

codesign -dvvv littlesnitch.package name
Save the team identifier
Boot into recovery mode
Open terminal and type the following...
spctl kext-consent add <team identifier>
Reboot into normal user mode and install version 4



--
J. Hellenthal

The fact that there's a highway to Hell but only a stairway to Heaven says a lot about anticipated traffic volume.

> On Nov 22, 2020, at 11:55, dc@darwincosta.com wrote:
>
> ?
>>> On 22 Nov 2020, at 10:17, Mark Tinka <mark.tinka@seacom.com> wrote:
>>>
>> ? So after installing Little Snitch and basically denying "trustd" any kind of Internet access, I have been seeing reasonably normal jitter with Bluetooth enabled.
> I actually “saw the same” on Catalina while using little snitch.
>
> “Saw the same” after installing yesterday Big Sur and suddenly received a notification “this version of little snitch is no longer supported by macOS. It’s looks like I have to pay 25€ for a new compatible version.
>>
>> It's not that Bluetooth stops scanning, but it's not scanning as aggressively. So after a few minutes, there will be very high jitter when Bluetooth scans the environment, but it would affect only a single packet. It's easily reduced its chattiness by 99%.
>>
>> I don't have any empirical data to support the claim that Little Snitch has anything to do with it (and I am too lazy to dig further into it), but the reduction in jitter is massively noticeable since Little Snitch. Which means I can now run Catalina with Bluetooth enabled and not have any wi-fi problems.
>>
>> Just FYI, for the archives :-).
>>
>> Mark.
>
> Cheers,
> Darwin-.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! - Update! [ In reply to ]
> On 22 Nov 2020, at 20:43, J. Hellenthal <jhellenthal@dataix.net> wrote:
>
> ?You can supposedly still use 4.5 4.6 on Big Sur if you do the following but I have not tested it on Little Snotch, works fine for personal software and others ...
>
> codesign -dvvv littlesnitch.package name
> Save the team identifier
> Boot into recovery mode
> Open terminal and type the following...
> spctl kext-consent add <team identifier>
> Reboot into normal user mode and install version 4
Thanks for the hint. Will have a look into it.
>
>
>
> --
> J. Hellenthal
>
> The fact that there's a highway to Hell but only a stairway to Heaven says a lot about anticipated traffic volume.
>
>>> On Nov 22, 2020, at 11:55, dc@darwincosta.com wrote:
>>>
>> ?
>>>> On 22 Nov 2020, at 10:17, Mark Tinka <mark.tinka@seacom.com> wrote:
>>>>
>>> ? So after installing Little Snitch and basically denying "trustd" any kind of Internet access, I have been seeing reasonably normal jitter with Bluetooth enabled.
>> I actually “saw the same” on Catalina while using little snitch.
>>
>> “Saw the same” after installing yesterday Big Sur and suddenly received a notification “this version of little snitch is no longer supported by macOS. It’s looks like I have to pay 25€ for a new compatible version.
>>>
>>> It's not that Bluetooth stops scanning, but it's not scanning as aggressively. So after a few minutes, there will be very high jitter when Bluetooth scans the environment, but it would affect only a single packet. It's easily reduced its chattiness by 99%.
>>>
>>> I don't have any empirical data to support the claim that Little Snitch has anything to do with it (and I am too lazy to dig further into it), but the reduction in jitter is massively noticeable since Little Snitch. Which means I can now run Catalina with Bluetooth enabled and not have any wi-fi problems.
>>>
>>> Just FYI, for the archives :-).
>>>
>>> Mark.
>>
>> Cheers,
>> Darwin-.
Re: Apple Catalina Appears to Introduce Massive Jitter - SOLVED! - Update! [ In reply to ]
FWIW, in this really interesting read
<https://googleprojectzero.blogspot.com/2020/12/an-ios-zero-click-radio-proximity.html>
about
the latest vulnerability released by Project Zero, they talk about AWDL and
how if this is in use (AirDrop enabled?) then you're going to get tons of
jitter/packet loss.

In this way [TDM hopping between Wi-Fi Access Point and AWDL Mesh] the
> device can appear to be connected to the access point whilst also
> participating in the AWDL mesh at the same time. Of course, frames might be
> missed from both the AP and the AWDL mesh but the protocols are treating
> radio as an unreliable transport anyway so this only really has an impact
> on throughput. A large part of the AWDL protocol involves trying to
> synchronize the channel switching between peers to improve throughput.


Dan

On Sun, Nov 22, 2020 at 2:30 PM dc@darwincosta.com <dc@darwincosta.com>
wrote:

>
>
> On 22 Nov 2020, at 20:43, J. Hellenthal <jhellenthal@dataix.net> wrote:
>
> ?You can supposedly still use 4.5 4.6 on Big Sur if you do the following
> but I have not tested it on Little Snotch, works fine for personal software
> and others ...
>
> codesign -dvvv littlesnitch.package name
> Save the team identifier
> Boot into recovery mode
> Open terminal and type the following...
> spctl kext-consent add <team identifier>
> Reboot into normal user mode and install version 4
>
> Thanks for the hint. Will have a look into it.
>
>
>
>
> --
> J. Hellenthal
>
> The fact that there's a highway to Hell but only a stairway to Heaven says
> a lot about anticipated traffic volume.
>
> On Nov 22, 2020, at 11:55, dc@darwincosta.com wrote:
>
> ?
>
> On 22 Nov 2020, at 10:17, Mark Tinka <mark.tinka@seacom.com> wrote:
>
> ? So after installing Little Snitch and basically denying "trustd" any
> kind of Internet access, I have been seeing reasonably normal jitter with
> Bluetooth enabled.
>
> I actually “saw the same” on Catalina while using little snitch.
>
> “Saw the same” after installing yesterday Big Sur and suddenly received a
> notification “this version of little snitch is no longer supported by
> macOS. It’s looks like I have to pay 25€ for a new compatible version.
>
>
> It's not that Bluetooth stops scanning, but it's not scanning as
> aggressively. So after a few minutes, there will be very high jitter when
> Bluetooth scans the environment, but it would affect only a single packet.
> It's easily reduced its chattiness by 99%.
>
> I don't have any empirical data to support the claim that Little Snitch
> has anything to do with it (and I am too lazy to dig further into it), but
> the reduction in jitter is massively noticeable since Little Snitch. Which
> means I can now run Catalina with Bluetooth enabled and not have any wi-fi
> problems.
>
> Just FYI, for the archives :-).
>
> Mark.
>
> Cheers,
> Darwin-.
>
>