CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

wall clock second and CPU second

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2019, 15:23
Default wall clock second and CPU second
  #1
Member
 
phd
Join Date: Oct 2013
Posts: 76
Rep Power: 13
lostking18 is on a distinguished road
Hi, there

I am comparing the calculation speed between two steady state simulations by reading the .out file. I have the following questions:
1) What is the relationship between the wall clock second and CPU second? I know the wall clock second is the ‘real-world’ time consumption. But if I know the CPU second and I am using one node with 16 cores of CPU, can I calculate the wall clock seconds from the CPU second?
2) From the .out file I only know roughly the accumulated CPU second at the current iteration from the value in the parenthesis, how can we get the CPU seconds with higher precision?
3) Is there any way we can get the time consumption in each iteration? I tried to calculate the difference of the CPU second between two sequential iterations. But the precision of the CPU second is too low.

Thank you in advance
lostking18 is offline   Reply With Quote

Old   November 21, 2019, 16:17
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
What are you trying to achieve out of this calculation?

There is only enough information to determine the cost per iteration for the model. The precise value of the iteration cost is (to me) irrelevant, the average value is more meaningful if you are assessing performance.

Take the wall clock time (CFD time) before the solution starts, and when it ends, divide by the number of iterations and that is your average to estimate future runs of the model.

There is no explicit relationship between wall clock time and cpu time since it depends on the machine load at a given time. It may take 1 CPU second for a task and 20 min wall clock to be completed if the machine is heavily loaded.
lostking18 likes this.
Opaque is offline   Reply With Quote

Old   May 21, 2023, 12:55
Default
  #3
New Member
 
Dinar
Join Date: Feb 2014
Location: Saint-Petersburg
Posts: 9
Rep Power: 12
Dinar is on a distinguished road
Wall clock time = CPU seconds / partitions

I began to notice on some tasks, the wall clock time doesn't match with the "job finished - job started" time.
Considering that the solver starts quickly.
It's a mystery to me
Dinar is offline   Reply With Quote

Reply

Tags
cpu timer


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:05.