Message: Re: How to recognize the part of the code which slows down a simulation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to recognize the part of the code which slows down a simulation 

Forum: Run Management
Re: Question How to recognize the part of the code which slows down a simulation (lu luo)
Date: 25 Jul, 2010
From: Rohin <Rohin>

Hi

You can use some tools like valgrind to check you program memory usage..

 On Sun, 25 Jul 2010 16:06:17 GMT, lu luo wrote:
> Dear All:
> 
> I have a simulation, which consumes very few memory, but is very
> time-consuming, I don&#65533;t understand why. For this simulation, I have 10^6
> events (each event = 1 primary particle) and about 40000 individual
> cells which record accumulated energy of each event by
> SensitiveDetector. I use Low EnergyModel. And the geometries between the
> primary and the detector are very simple.
> 
> When I set only 1 event (/run/beamOn/ 1) with 10^6 primaries particles,
> it consumes more memories but run very quickly.
> 
> How can I know where is the part of the code which slows down a run?
> 
> Thanks.
> 
> Lu LUO
> 

 Add Message Add Message
to: "Re: How to recognize the part of the code which slows down a simulation"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]