Re: slow wifi with bluetooth enabled?
Re: slow wifi with bluetooth enabled?
- Subject: Re: slow wifi with bluetooth enabled?
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Thu, 08 Nov 2018 08:13:42 +0000
On 7 Nov 2018, at 18:43, Howard Shere <email@hidden> wrote:
> Anyone have any idea why wifi throughput would be significantly slower with
> bluetooth enabled?
Wi-Fi and Bluetooth share radio spectrum, so coexistence problems are
inevitable. The mechanics of how that works are very low level. Third-party
developers have virtually no control over this stuff and precious little
insight into it.
If performance is particularly bad in some specific scenario my recommendation
is that you file a bug about that. Make sure to enable additional Wi-Fi
logging and then trigger a sysdiagnose log and attach that to your bug. You
can find more information about both of these steps on our Bug Reporting >
Profiles and Logs.
<https://developer.apple.com/bug-reporting/profiles-and-logs/>
In terms of APIs, I have two suggestions:
* If you use Bonjour make sure to not leave active requests running for longer
than necessary. You can leave a registration running indefinitely, but you
should try to structure your UI such that you’re not running a browse
indefinitely. And if you’re doing the resolve step manually — it’s best to
avoid this in general, but there are situations where it can be necessary —
make sure to cancel the resolve before you start transferring.
* Optimise your on-the-wire traffic. There’s two parts to this:
- You can try to transfer less data overall, using compression and so on.
- If you have a custom protocol then you can change that protocol to make
better use of the network. In my experience a challenging network environment
shows up bad protocol design, that is, on a well-behaved network, like the
typical home Wi-Fi, both good and bad protocols work OK, but if you put those
protocols on a poor network then you start to see a big difference between the
two.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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