• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A problem with big delays between 2 SCDynamicStore state events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A problem with big delays between 2 SCDynamicStore state events


  • Subject: Re: A problem with big delays between 2 SCDynamicStore state events
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 13 Sep 2018 16:28:29 +0000
  • Thread-topic: A problem with big delays between 2 SCDynamicStore state events

> On 13 Sep 2018, at 15:21, Quinn The Eskimo! <email@hidden> wrote:
>
>
> On 12 Sep 2018, at 16:58, Stéphane Sudre <email@hidden> wrote:
>
>> Has there been some changes (other than a bug/regression) that could explain
>> the huge increase and that this is the expected behavior?
>
> If, during this 90 second delay, you poll the network configuration, what do
> you see?
>
> We’ve never really specified how long it takes for the network configuration
> to stabilise but there’s always been the possibility of a very long delay.
> For example, with IPv4 link-local addresses [1] we wait for DHCP to time out
> before we even start to set the process of getting a link-local address.
>
> However, 90 seconds is clearly an annoyingly long time to wait.
>
> Is this a regression relatively to 10.13.6?

After further investigations using the simple binary I was suggested to create
for a bug report, this is actually not related to the SCDynamicStore events
being delayed, it’s related to a libdispatch timer being fired with an
excessive delay/leeway.

As far as I can tell, it was due to using a global queue for the dispatch
source. As there’s been some changes in GCD since OS X 10.8.5, this is a more
reasonable explanation. And switching to using the main queue for the dispatch
source solves the issue.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >A problem with big delays between 2 SCDynamicStore state events (From: Stéphane Sudre <email@hidden>)
 >Re: A problem with big delays between 2 SCDynamicStore state events (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: A problem with big delays between 2 SCDynamicStore state events
  • Next by Date: Adding the com.apple.security.network.client entitlement
  • Previous by thread: Re: A problem with big delays between 2 SCDynamicStore state events
  • Next by thread: Adding the com.apple.security.network.client entitlement
  • Index(es):
    • Date
    • Thread