Mac: Change services boot method for possible performance boost #1388
Unanswered
ClaraLeigh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey team,
I am noticing the occasional bottleneck on Mac when things get busy, things seem to slow down more than it should. It feels like its hitting a open file limit, CPU limit or memory limit and then things just crawl.
Part of me is leaning towards this occurring because the services, like MySQL are child processes of the Herd application and I vaguely remember that child processes inherit the parent limits. Another thought was that there was some sort of prioritisation drop because its a child process of a background app.
I know other apps like DBngin boot these services using
launchd
. Which I believe avoids these problems by default.Without diving deep into the code of the app, do you think we could look at changing this launch method?
For now, I will probably swap back to DBngin, as there it seems to avoid the sudden drops in performance.
Note: I have compared things like redis and mysql config in DBngin to that of Herd and there doesn't seem to be a difference. Which is why my investigations have kinda narrowed down on how its booted.
Beta Was this translation helpful? Give feedback.
All reactions