[Users] Unexpected slowdown when increasing Carpet::max_refinement_levels (no AMR active)

Naseri, Mahdi - (mahdinaseri) mahdinaseri at arizona.edu
Fri Oct 24 19:00:19 CDT 2025


Hello,

I’m seeing an unexpected performance drop in Carpet (ET). I ran two simulations with identical parameter files (attached) except for:

Carpet::max_refinement_levels = 9     (Run A)
Carpet::max_refinement_levels = 12     (Run B)

During the period I conducted this experiment, all the refinement levels were inactive except for the base level. Therefore, I expected to see the same performance in both Runs A and B, because the active grid structure is the same. However, I realized that Run B is almost 4 times slower than Run A; a plot of wall-clock time per simulation time for these two simulations is also attached for comparison.

Is this behavior known/expected (e.g., due to bookkeeping, allocation, or scheduling costs that scale with the allowed number of levels), or does it suggest a configuration issue on my side? Any pointers on what to check, or how to profile this within Carpet/Cactus, to understand the overhead would be greatly appreciated.

Thank you,
Mahdi Naseri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/users/attachments/20251025/7e3336e5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2025-10-24 14-43-08.png
Type: image/png
Size: 20910 bytes
Desc: Screenshot from 2025-10-24 14-43-08.png
URL: <http://lists.einsteintoolkit.org/pipermail/users/attachments/20251025/7e3336e5/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GasCloudC4.par
Type: application/octet-stream
Size: 21771 bytes
Desc: GasCloudC4.par
URL: <http://lists.einsteintoolkit.org/pipermail/users/attachments/20251025/7e3336e5/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GasCloudC4_LessRef.par
Type: application/octet-stream
Size: 21764 bytes
Desc: GasCloudC4_LessRef.par
URL: <http://lists.einsteintoolkit.org/pipermail/users/attachments/20251025/7e3336e5/attachment-0003.obj>


More information about the Users mailing list