Nastran WALLCLOCK TIME less than TOTAL CPU TIME?

Nastran WALLCLOCK TIME less than TOTAL CPU TIME?

bryan_mcnatt
Advocate Advocate
1,922 Views
2 Replies
Message 1 of 3

Nastran WALLCLOCK TIME less than TOTAL CPU TIME?

bryan_mcnatt
Advocate
Advocate

How can the Nastran reported WALLCLOCK TIME ever be greater than the reported TOTAL CPU TIME?  My understanding was that wallclock time includes the CPU time plus other time spent reading, writing, waiting, etc.  Are the two times distinct and should be added for the total time to run an analysis?  Or, is there some other more complicated explanation of what CPU time and wallclock time are?

 

I'm running a static stress, linear model and my CPU time is reported to be 723.8 sec and my wallclock time is reported to be 538.3 sec.

 

???

 

Thanks!

Bryan McNatt, P.E.
MRD Engineering
www.mrd-engineering.com
Reply
Reply
0 Likes
Accepted solutions (1)
1,923 Views
2 Replies
Replies (2)
Message 2 of 3

John_Holtz
Autodesk Support
Autodesk Support
Accepted solution

Hi Bryan,

 

The clock on the wall has no idea what the CPUs in your computer are doing, so the WALLCLOCKTIME is just the elapsed time that it takes to run the analysis.

 

Of course, your computer is not connected to the clock on the wall, but they should agree pretty close to each other unless the computer clock is affected by the heavy computations.

 

I would guess that the CPU time and Wall time can be either greater than or less than the other. For example,

  • If the analysis takes 5 minutes to run (wall time = 5 min), and 6 processors are used at 100% capacity, the CPU time would be 30 minutes. (CPU time > WALL time)
  • If the analysis takes 5 minutes, and 2 processors are used at 25% capacity, the CPU time would be 2.5 minutes. (CPU time < WALL time).

 



John Holtz, P.E.

Global Product Support
Autodesk, Inc.


If not provided, indicate the version of Inventor Nastran you are using.
If the issue is related to a model, attach the model! See What files to provide when the model is needed.
Reply
Reply
0 Likes
Message 3 of 3

bryan_mcnatt
Advocate
Advocate

That was all I could come up with myself, that the two were distinct and that CPU time must be the sum of all my CPUs.

 

Thanks John.

Bryan McNatt, P.E.
MRD Engineering
www.mrd-engineering.com
Reply
Reply
0 Likes