Apple drops discoveryd in latest OS X beta following months of network issues


Recommended Posts

Apple drops discoveryd in latest OS X beta following months of network issues

After many complaints from the developer community about poor networking performance on Yosemite, the latest beta of OS X 10.10.4 has dropped the discoveryd in favor of the old process used by previous versions of Mac operating system. This should address many of the network stability issues introduced with Yosemite and its new networking stack.

The discoveryd process has been subject to much criticism in recent months as it causes users to regularly drop WiFi access and causes network shares to list many times over, due to bugs. Many developers, such as Craig Hockenberry, have complained about the buggy software and workarounds have been found to include substituting the older system (called mDNSResponder) back into Yosemite.

discoveryd would cause random crashes, duplicate names on the network and many other WiFi-relate bugs. In the latest beta, Apple appears to have applied the same fix as the enthusiasts by axing discoveryd completely.

Looking at Activity Monitor on OS X 10.10 seed 4, discoveryd is no longer loaded by the system

Agreed.

 

It really does interest me, though, what went wrong with discoveryd that it caused problems that apparently Apple couldn't or wouldn't fix.

discoveryd is a good real-life example of why it's not a good idea to re-write something from scratch when you already have a perfectly good working component. 

discoveryd is a good real-life example of why it's not a good idea to re-write something from scratch when you already have a perfectly good working component.

Goes right along with that old saying, if it ain't broke, don't fix it!

I think they had some issues with extending mDNSResponder because it's built to work on a ton of platforms. The source code even contains compatibility stuff for Windows CE! Both dropping compatibility code to add new features or adding new features while retaining compatibility are very time-consuming, and it looks like Apple decided to go for a C++ rewrite.

 

Which clearly turned out to be a bad idea. WiFi on my Air has been horrible since Yosemite, most of the time I only got 2Mbps after resuming from standby and the like. After disabling a part of discoveryd (the part that handles Handover, which I don't use anyway) a few weeks ago the amount of times I had WiFi issues dropped to an absolute 0. I'm glad Apple is throwing out discoveryd.

 

mDNSResponder is actually a pretty nice piece of software. Works well on a ton of platforms. I really hope Apple goes this way again, focusing on stability instead of risky changes. I realise I'm not the kind of OS X user Apple wants me to be*, but it'd be nice nonetheless.

 

* I don't use any Apple software besides really core OS X and don't have/want any other Apple hardware other than this Air. I think Apple is great at making hardware, and I like OS X for being so Unixy and yet still having a great UI. I just don't like any consumer-oriented Apple software, I think all their other stuff is horribly limited.

I had gotten used to the delay for the internet to start working again on my laptop after closing and opening the lid. Since installing the beta, that delay is gone. 

This topic is now closed to further replies.
  • Posts

    • draw.io Desktop 30.2.6 by Razvan Serea draw.io desktop is a downloadable security-first diagramming application that runs on Windows, MacOS and Linux. Creating diagrams in the desktop app doesn’t need an internet connection. This is useful when you are disconnected or when you must create diagrams in a highly secure environment, where data protection is of the utmost importance. When you use the draw.io desktop app, your diagrams will be stored on your local device. Because this is a stand-alone application, also designed to run offline, there are no interfaces to cloud storage platforms available. Of course, you can still store your diagrams in folders that are synchronised to your cloud storage if you wish. Easy-to-use diagram editor The draw.io apps work just like the office and drawing tools you are used to using. Drag and drop shapes from the shape libraries and drag to draw connectors between them. Drag connectors to add waypoints and set a precise shape and position, or let them reroute automatically. Double click and start typing to add a label to anything. Create tables and swimlane flows with a familiar tool. Style shapes and connectors with customisable palettes, sketch options, fonts and text formatting tools. Search for shapes, including in open-source icon libraries. Use our vast libraries of shapes and templates, organised into logical categories, to create a range of diagrams and infographics. Generate diagrams from text descriptions using our smart templates. Diagram faster with keyboard shortcuts. draw.io Desktop 30.2.6 changelog: Uses electron 42.5.0 #2452 Updates to draw.io core 30.2.6. Download: draw.io 64-bit | Standalone (Open Source) Download: draw.io 32-bit | ARM64 | ARM64 Standalone Links: draw.io Home Page | Project page @GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Excellence2025 earned a badge
      One Month Later
    • Week One Done
      Excellence2025 earned a badge
      Week One Done
    • Week One Done
      flexorcist earned a badge
      Week One Done
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      500
    2. 2
      +Edouard
      209
    3. 3
      PsYcHoKiLLa
      146
    4. 4
      Steven P.
      74
    5. 5
      FloatingFatMan
      70
  • Tell a friend

    Love Neowin? Tell a friend!