Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
High CPU use on the Mac build host appears to cause UI pauses in paired instance of Visual Studio?
Based on my initial casual observations, this seems to affect all the projects in the solution (not just iOS projects) as long as at least 1 iOS project is currently loaded.
## "Steps associated with replicating the problem"
- I noticed this behavior today while I was running some CPU intensive tasks (installing software, nothing specific to Xamarin) on the Mac build host.
- I was simultaneously doing some development in Visual Studio on a separate physical Windows machine that did not require the build host. Visual Studio had automatically paired itself with the Mac build host (because it had been paired previously).
- I noticed that Visual Studio was experiencing pauses and slow UI responsiveness.
- I explicitly disconnected Visual Studio from the build host. That seemed to improve Visual Studio's responsiveness significantly.
## Expected Results
If possible, perhaps the UI responsiveness of Visual Studio can be made less dependent on the CPU load of the Mac build host. Of course there are certain operations that absolutely _require_ the build host (like browsing the available simulators or the available provisioning profiles), so it's OK if those operations still experience pauses when the Mac build host is under high CPU load.
## Version info (brief)
### Visual Studio 2015 Update 1, Windows 10 64-bit
XamarinVS 18.104.22.168 (dcea9c1)
### OS X 10.10.5
Xamarin.iOS 22.214.171.124 (962a050)
If I get a chance, I might try to characterize this issue in more precise detail another day, but my initial observations gave me the impression that this problem might be easy to replicate on other environments (e.g., on QA's machines or on the engineers' machines). So I figured it would be good to get a bug filed with this preliminary description, just in case I don't get a chance to come back to it soon, and in case it is indeed something that's easy to replicate locally and fix based on this initial description.
Yes, sounds like it should be straightforward to replicate. Thanks for reporting it!
Assigning to cycle8 milestone as part of the VS performance push.
This _may_ be related to bug 37170 and bug 39344
Moving to future cycle for further investigation since it's probable that, after the performance improvements and fixes around XMA during 2016, this issue could have been fixed.
I will consider this fixed for 15.4 release, since for that release a new version of XMA will be in place, with a big re design on many of its layers, as consequence of the Xamarin IoT feature.
XMA now is not tied to iOS anymore and it's a new separate component that enables to connect to any remote hosts and not only a Mac. With this re design, many issues has been fixed.
Also, the Designer Agent is not part of XVS anymore and acts as a separate component, not tied directly to XMA.
That said, and taking into account that I couldn't get any UI pause as consequence of Mac high CPU usage on the feature branch corresponding to 15.4 version, I consider this issue as Resolved.