Why so many MTL Compiler Service running?

What is going on? Suddenly, for the first time ever, I have a whole bunch of this process listed in my Activity Monitor, and have no clue why they all appeared nor what their purpose is. What is the reason for this:

iMac 27″ 5K, macOS 10.15

Posted on May 3, 2021 9:25 PM

Reply
Question marked as Top-ranking reply

Posted on May 4, 2021 9:14 AM

Saxman wrote:

What is going on? Suddenly, for the first time ever, I have a whole bunch of this process listed in my Activity Monitor, and have no clue why they all appeared nor what their purpose is. What is the reason for this:
https://discussions.apple.com/content/attachment/e6538f59-dc1c-4cb7-9454-ce0e532fee0a


What do you see under CPU—is there an issue here?




MTLCompilerService is a compiler for 'Metal shader library' that pass information directly to the GPU.

OpenGL vs Metal (preferred) —run between your application and your GPU to speed up graphics and processing 3D rendering .


You do not state what exact Mac this is..

or what exact macOS..

old problem, new problem, what changed...


How is this affecting your macOS performance—is there a bigger issue?




To trouble shoot further you can:


—Try a SafeBoot https://support.apple.com/en-us/HT201262

Takes noticeable longer to get to the login screen, does a 5-15 minute disk repair before it fully boots up, and certain system caches get cleared and rebuilt, including dynamic loader cache, etc.

Login and test. Reboot as normal and test as caches get rebuilt.


In Safe mode third party system modifications and system accelerations are disabled, it removes malware, etc hampering smooth operation, however a reboot will put it back to normal mode.


This test will tell you if third party interference; extensions etc are not loaded in safe boot mode.



—Test issue in another user (or guest user) account https://support.apple.com/guide/mac-help/set-up-other-users-on-your-mac-mtusr001/mac

This will tell you if it a universal issue or isolated to your user/admin account. 



Uninstall all third party apps that are Cleaners/Optimizers/VPN/Anti-Virus





If no associated issues I would ignore it, and file a bug report:

https://www.apple.com/feedback/macos.html



You can run the Diagnostic to rule out hardware:

How to use Apple Diagnostics on your Mac - Apple Support.


5 replies
Question marked as Top-ranking reply

May 4, 2021 9:14 AM in response to Saxman

Saxman wrote:

What is going on? Suddenly, for the first time ever, I have a whole bunch of this process listed in my Activity Monitor, and have no clue why they all appeared nor what their purpose is. What is the reason for this:
https://discussions.apple.com/content/attachment/e6538f59-dc1c-4cb7-9454-ce0e532fee0a


What do you see under CPU—is there an issue here?




MTLCompilerService is a compiler for 'Metal shader library' that pass information directly to the GPU.

OpenGL vs Metal (preferred) —run between your application and your GPU to speed up graphics and processing 3D rendering .


You do not state what exact Mac this is..

or what exact macOS..

old problem, new problem, what changed...


How is this affecting your macOS performance—is there a bigger issue?




To trouble shoot further you can:


—Try a SafeBoot https://support.apple.com/en-us/HT201262

Takes noticeable longer to get to the login screen, does a 5-15 minute disk repair before it fully boots up, and certain system caches get cleared and rebuilt, including dynamic loader cache, etc.

Login and test. Reboot as normal and test as caches get rebuilt.


In Safe mode third party system modifications and system accelerations are disabled, it removes malware, etc hampering smooth operation, however a reboot will put it back to normal mode.


This test will tell you if third party interference; extensions etc are not loaded in safe boot mode.



—Test issue in another user (or guest user) account https://support.apple.com/guide/mac-help/set-up-other-users-on-your-mac-mtusr001/mac

This will tell you if it a universal issue or isolated to your user/admin account. 



Uninstall all third party apps that are Cleaners/Optimizers/VPN/Anti-Virus





If no associated issues I would ignore it, and file a bug report:

https://www.apple.com/feedback/macos.html



You can run the Diagnostic to rule out hardware:

How to use Apple Diagnostics on your Mac - Apple Support.


Jun 14, 2021 8:44 AM in response to Saxman

Saxman wrote:

I didn't mention my specific Mac or OS, since it already says it at the bottom of my post, as I believe all posts do, for as long as I can remember, no?


Footers are user-selected, and can reflect a device or a computer other than that involved with the problem.


…it still means nothing to me, as I don't know what those terms describe, like "metal" this or that.


Metal is the name given the Apple graphics hardware interface; how apps can make requests to the display.


And I've not been doing anything different, not running any special graphics programs or streaming anything fancy, so I was puzzled why, one, these compiler services have suddenly shown up, and in such force, and two, I'm also seeing a lot of "Apple web content" listed, and not sure why.


Download and run and post the output of EtreCheck. Run that, share the report to the clipboard, then open a new re-lymhere and press the button that looks like a printed page to get a text input box big enough to paste the hardware and software configuration report here.


EtreCheck might show whether that 8 GB configuration is just inadequate for the current usage, for instance.

Usually it says the name of the website, so I know what one(s) may be using a high amount of memory, but now some say the website, others all say Apple web content. So they're all low memory, but one is almost a gig, but it doesn't tell me which one, so I would then know which sites are running up RAM & CPU Usage....


Usual brute-force solution for finding an overly-busy browser tab is to start closing tabs one at a time, checking activity after each close, looking for the culprit. But get the EtreCheck report, first.



May 8, 2021 6:53 PM in response to leroydouglas

I didn't mention my specific Mac or OS, since it already says it at the bottom of my post, as I believe all posts do, for as long as I can remember, no?

And I've already seen the definition of what they are, but it still means nothing to me, as I don't know what those terms describe, like "metal" this or that. And I've not been doing anything different, not running any special graphics programs or streaming anything fancy, so I was puzzled why, one, these compiler services have suddenly shown up, and in such force, and two, I'm also seeing a lot of "Apple web content" listed, and not sure why. Usually it says the name of the website, so I know what one(s) may be using a high amount of memory, but now some say the website, others all say Apple web content. So they're all low memory, but one is almost a gig, but it doesn't tell me which one, so I would then know which sites are running up RAM & CPU Usage....



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why so many MTL Compiler Service running?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.