Open lars2015 opened 1 year ago
Implementation of async-I/O by Kaveh:
libtrac.c
and trac.c
to enable async I/O for the meteo filesImplementation of MET_CACHE flag:
libtrac.c
which uses system calls from C to trigger loading the next meteo file into the disk cache:
/* Caching... */
if (ctl->met_cache && t != ctl->t_stop) {
get_met_help(ctl, t + 1.1 * ctl->dt_met * ctl->direction,
ctl->direction, ctl->metbase, ctl->dt_met, cachefile);
sprintf(cmd, "cat %s > /dev/null &", cachefile);
LOG(1, "Caching: %s", cachefile);
if (system(cmd) != 0)
WARN("Caching command failed!");
}
Found this tool which allows for portable file system cache diagnostics and control:
Is your feature request related to a problem?
Describe the solution you'd like
Describe alternatives you've considered
Additional context