Performance issues on Mac M1?

Hello everybody.

I’m using 3D Slicer 4.11.20210226 (latest at time of writing) on my Windows PC without any performance issues, and I can segment CT scans (thorax, abdomen, wrists, etc) without any performance issues. Unfortunately I’m experiencing severe performance issues with the same version, and also 4.13.0-2022-03-15, on my MacBook Pro M1 (2020, 16 GB, macOS Monterey 12.3). I’m getting either a ever-lasting spinning beach ball or it crashes. I’ve tried it without any plugins.

To other Mac/M1 users, are you experiencing any of these issues, or is there some fix for it? I know Slicer is using 3rd party applications that (yet) is not ported to Apple Silicon, and if there are no known fixes I’ll continue working on a Windows PC.

In advance, thank you!
Bjørn-Petter Johannessen MD/resident radiologist.

When does this happen? On startup? After doing certain actions in Slicer?

Thank you for your reply. I’m sorry I didn’t mention the important details…

I haven’t encountered any problems on startup, loading DICOM files, thresholding, drawing, erasing, etc.

I’m encountering the issues when I’m scissoring while the 3D view is enabled. It doesn’t matter if I’m scissoring in the 3D view or in one of the 2D views (ax/cor/sag). Scissoring a smaller CT (e.g., wrist) is quicker than an abdominal CT, but the application hangs regardless. 100% CPU usage and ~3-4-5 GB of RAM. I still have free RAM, and I don’t think the hardware itself is problematic (except M1?).

I hope this helps. Please let me know if you need any other details. Thresholding, some basic drawing/erasing and scissoring is what I need.

Does the slowdown occur when you release the mouse button after finishing drawing the curve?

How long do you have to wait after renewing the mouse button due the application to become responsive again?

Does the slowdown occur if you disable surface smoothing (in the dropdown menu of the “Show 3D” button)?

Note that after thresholding you can have tens of thousands of small speckles in the segmentation, which can drastically slow down 3D display and some processing. After thresholding it usually makes sense to use Smoothing effect with default parameters to reduce the amount of speckles and make the extracted surfaces smoother.

I also posted about this same issue. Performance on my brand new Macbook Pro M1 is very unreliable. I’ve tried working with smaller areas but it doesn’t seem to matter much. Sometimes it runs smoothly but most of the time it’s painfully slow. I switched back over to windows just to use Slicer.

I’ve submitted an issue to keep track of this:

Probably will have to buy a few M1 macs so that we can test this. But for that we would need to know which ones are problematic.

@sannpeterson can you give more information about your system (model name and year, CPU, RAM, operating system)?

Macbook Pro M1 Max (2021) w/ 10 core CPU and 32 core GPU
32 GB memory
macOS Monterey 12.5

Yes, when I release the mouse button.

Depends, sometimes it’s just “laggy” and a couple-10 seconds. Right now I’ve been waiting for 10 minutes after scissoring out parts of a kidney.

I haven’t been using a stopwatch, but it doesn’t seem to make a difference.

I’ve tried with and without smoothing, but I can’t notice any significant difference.

Right now I’m segmenting a CT arteriography of aorta from a axial 3 mm scan with 241 slices, so it’s not a lot of data…

MacBook Pro 13 M1, 2020
16 GB memory.
Fresh install of macOS 12.4. I’ve been using Slicer 3D version 4.x and now 5.0.3 and I can’t tell any difference in the performance.
Still works great on Windows.

(Sorry for the late reply - I thought I had replied to this)