/************************************************************************* Written by: Virgil Bistriceanu Date: 4 April, 1996 Purpose: Test program to show the effect of the memory layout on the performance of a demand paged system. A 2-d array is initialized in row-major order. *************************************************************************/ #include #define PSIZE 4096 main() { char myarray[PSIZE][PSIZE]; /* this is a quite large array */ int i, j; for (i=0; i