Manipulating RAM being used.

cptjosh

Honorable
Dec 15, 2013
15
0
10,510
I will be doing a science experiment for class as to whether their is a relation between CPU performance and ammount of RAM being used. Is their any program out their that will allow me to manipulate the amount of RAM being used?
 
I don't know of a program for that particular purpose but you can accomplish the same thing by opening multiple instances of the same program. Or you could create documents of different sizes and open them - say a 10MB, 100MB, 500MB, 1GB, etc. word processing documents - and examine performance with different or multiple ones opened for editing.
 
I think you are asking the wrong question. The CPU behaviour won't change (as a piece of hardware).

The real question is: Will applications running on the CPU be quicker or slower with more or less RAM.
The answer will of course then depend on the application being tested, and how much RAM is available for it.

Even defining available RAM is tricky. For example, is RAM used for the disk cache, but released upon demand, classified as available?
Benchmarking low RAM scenarios is also problematic. As soon you'll encounter situations where you start swapping to disk, and so you'll will be measuring the performance of the hard drive and not the RAM.

Further, the initial run of an application might be slow, but then after disk swapping takes place, to move unused data to disk, subsequent runs get quicker. So you need a well thought out benchmarking methodology.