Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbjade.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!ucbjade!ucbtopaz!cnrdean From: cnrdean@ucbtopaz.BERKELEY.EDU Newsgroups: net.unix-wizards Subject: memory access benchmark Message-ID: <89@ucbjade.BERKELEY.EDU> Date: Wed, 9-Oct-85 18:55:40 EDT Article-I.D.: ucbjade.89 Posted: Wed Oct 9 18:55:40 1985 Date-Received: Sat, 12-Oct-85 14:40:58 EDT Sender: network@ucbjade.BERKELEY.EDU Reply-To: cnrdean@ucbtopaz.BERKELEY.EDU () Organization: University of California, Berkeley Lines: 18 I am looking for a benchmark program which will test for the maximum main memory size that a program can have in a computer. That is, maybe a computer manufacturer says that a program can be 64K of data and 64K of instructions. But, I would like to test to make sure that this is true. My guess is that to test the data size, I would simply keep 'alloc'ing until a failure happens. I would like, not only to declare a large array, but to test that values are accurately stored. But, I am not sure how to write a program which keeps incrementing its instruction size. Is this possible? Any help would be appreciated. If you can send some source, so much the better. Sam Scalise UC Berkeley