comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: How to optimize use of RAM/disk access ?
Date: Mon, 22 Jan 2018 00:53:54 -0800 (PST)
Date: 2018-01-22T00:53:54-08:00	[thread overview]
Message-ID: <91915688-4a86-4dba-9b9c-973c76d1777e@googlegroups.com> (raw)
In-Reply-To: <f1cc3c80-9b31-4a74-a201-0e209a789fc4@googlegroups.com>

It would be better to store the guessworked parameter in a config file (*) that would be set up once per machine. These RAM - Disk things are tricky anyway (for instance, disk is cached in its turn by RAM!) and the RAM usage by other processes can fluctuate massively during the run-time of your program, so even if your program thinks having the right amount at time t0 it might be way off at time t1.
___
(*) shameless plug: https://sf.net/projects/ini-files/

  parent reply	other threads:[~2018-01-22  8:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-20  6:15 How to optimize use of RAM/disk access ? reinert
2018-01-20  8:45 ` Jacob Sparre Andersen
2018-01-21  7:26   ` reinert
2018-01-21 23:49     ` Shark8
2018-01-22  5:53     ` darkestkhan
2018-01-22  8:53 ` gautier_niouzes [this message]
2018-01-22 15:01 ` Mr. Man-wai Chang
2018-01-24 15:18 ` Robert Eachus
2018-02-10  5:27   ` reinert
2018-02-10 23:31     ` Robert Eachus
2018-02-11 10:58     ` darkestkhan
2018-02-11 11:38       ` Dmitry A. Kazakov
2018-02-16  4:59         ` reinert
2018-02-16  5:04         ` reinert
2018-02-16  8:18           ` Björn Lundin
2018-02-17  6:15             ` reinert
2018-02-17 18:36               ` Dennis Lee Bieber
2018-02-18 15:21                 ` Björn Lundin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox