canonical / canonical/multipass

[macOS] Spotlight indexing causes performance issues

Open
#4,585 2 comments 0 reactions 1 assignee Claimed by @sharder996 View on GitHub
jira
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

**Describe the bug**
On macOS, when Multipass spawns files (especially when downloading cloud images), CPU usages spikes. Prior investigation shows that `mds_stores` and `mediaanalysisd` hogging the CPU which seems to be resolved by disabling the Spotlight.

**Expected behavior**
No significant performance degradation when downloading images.

We should probably look into disabling Spotlight indexing for the Multipass data and cache directories.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.