Open ZedThree opened 3 months ago
Sort of fixes #2878
Two things:
output:flush_frequency
flush_period
Options
These two together can significantly cut the time spent in IO:
(absolute time from the io timer for conduction example for 500 timesteps, rolling average over 100 steps)
io
conduction
The red line is basically current next
next
I'm a bit concerned that we still get an increase over time, but this seems to unavoidable.
This PR also includes some drive-by fixes for some minor OptionsIO issues.
OptionsIO
Sort of fixes #2878
Two things:
output:flush_frequency
can be used to reduce how often netCDF data is flushed to disk (maybeflush_period
is a more accurate name?)Options
used to store data to be written to disk is now reset after writingThese two together can significantly cut the time spent in IO:
(absolute time from the
io
timer forconduction
example for 500 timesteps, rolling average over 100 steps)The red line is basically current
next
I'm a bit concerned that we still get an increase over time, but this seems to unavoidable.
This PR also includes some drive-by fixes for some minor
OptionsIO
issues.