/cse221_benchmark

Code for CSE221 System Benchmarking Project

Primary LanguageCGNU General Public License v2.0GPL-2.0

cse221_benchmark

CSE221 System Benchmarking Project Python helper code to run experiments (runner.py)

CPU, Scheduling, and OS Services (experiments/system)

  1. Measurement overhead
  • Overhead reading time: read_time_overhead.c
  • Loop head: for_loop_overhead.c
  1. Procedure call overhead: parameter_overhead.c
  2. System call overhead: system_call_time.c
  3. Task creation time
  • Process fork: process_create.c
  • Thread: pthread_create.c
  1. Context switch time
  • Process: process_switch.c
  • Thread: pthread_switch.c

Memory (experiments/memory)

  1. RAM access time:
  • sequential attempt (gives constant times): mem_test2.c
  • random: rand_mem.c
  1. RAM bandwidth:
  • reading: read_band.c
  • writing: write_band.c
  1. Page fault: page_fault.c

Network (experiments/network)

  1. Round trip time: /rtt/client.c, /rtt/server.c
  2. Peak bandwidth: /throughput/client.c, throughput/server.c
  3. Connection setup, teardown: /connection/client.c, /connection/server.c

File System (experiments/filesys)

  1. File cache size: filecache/file_cache.c
  2. File read time (includes Remote):
  • Sequential: read_seq_argv.c
  • Random: read_rand_argv.c
  1. Same as 2
  2. Contention: contention/contention.c, run.py