CSE 221 Course Project

Performance Tests on RedHat Linux 8.0 and Windows XP

- Urvashi Rao Venkata (uraovenk@cs.ucsd.edu)
- Reena Mathew (rmathew@cs.ucsd.edu)

The tests are divided into four categories, with the corresponding
source code and Makefiles

(1) Arithmetic
    - arithmetic_cnt.c : arithmetic operation + kernel call counts

(2) DiskIO
    - disk_read_vs_mmap.c : Read Vs mmap for file access
    - disk_rwr_fread.c : Disk access using fread/fwrite
    - disk_rwr_mmap.c : Disk access using mmap/munmap
    - disk_rwr_read.c : Disk access using rad/write
    - disk_seq_ran_read.c : Sequential Vs Random Disk access
    
(3) Memory
    - mem_cache_ram_swap.c : Memory access times
    - mem_single_multi_loop.c : Looping Vs Sub-looping
    
(4) Process
    - proc_inl_fn_fork.c : Same functionality - diff implementations

(5) Include 
    This contains one file 'perftest.h' in which is defined our
    timer function.

'make' in directories (1) to (4).

If any executable is run without command-line arguments,
a 'Usage:' format is displayed. All output appears on the terminal.

Each directory also contains scripts which run the tests with 
different command line arguments.

Disk IO tests expect a 512MB file called 'scratchfile', in the 
same directory as the executables.


