[ET Trac] #2882: Running BBH with CarpetX with CPUs: High memory consumption and low performance

Liwei Ji trac-noreply at einsteintoolkit.org
Fri Aug 8 07:05:03 CDT 2025


#2882: Running BBH with CarpetX with CPUs: High memory consumption and low performance

 Reporter: Alejandra Gonzalez
   Status: new
Milestone: 
  Version: 
     Type: bug
 Priority: major
Component: CarpetX

Comment (by Liwei Ji):

I’m not surprised with this speed without subcycling.  
You can do the following to improve a bit

1. Turn off calc\_ADMRHS\_vars, it’s not required for BBH simulations.
2. Use 2 OMP instead of 7. It’s the best number for me. You should try different OMP yourself.
3. You can also play a bit with the par `max_tile_size_x` while keeping `max_tile_size_y/z` small. I didn’t see big speed difference for myself, but you can still try.

For the memory issue, if you are using Z4c from the development branch of my fork, it has 5 copies of state vector for the purpose of subcycling. You can use the main branch instead.  

@{557058:59e031ba-9bb5-4298-a472-7b99d0ae6f22} could you take a look at the `run_cactus.sh` and see if there anything suspicions?

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2882/running-bbh-with-carpetx-with-cpus-high
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20250808/9667f6bd/attachment.htm>


More information about the Trac mailing list