Skip to content

Benchmarking for CPU, GPU, Disk, Memory, Network hardwares in cloud computing settings.

Notifications You must be signed in to change notification settings

llgeek/Hardware-benchmarking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

CPU, GPU, Memory, Disk and Network Benchmarking


to compile:

make

help information:

./AppName -h

to run:

./AppName	#this is default setting

to run all tests:

./run_all.sh

This is the code for benchmarking CPU, GPU, memory, disk and network. To compile the code, first cd into the src folder and type make. You can also compile soly for each park by input make cpu or make gpu...

To run the benchmark, you can firstly get the help information by ./AppName -h, where AppName could be cpu, gpu, memory, disk or network.

Here are some examples:

  1. cpu: If you want to test "double precision, 4 threads, repeat 10 times", you can input:
./cpu -o0 -t4 -r10

To run cpu with AVX instruction, same settings above:

./cpuavx -o0 -t4 -r10
  1. gpu: To test "double precision, bandwidth":
./gpu -o0 -b

To test "integer, speed":

./gpu -o1
  1. memory: To test "write access, block size = 8MB, 8 threads":
./memory -o1 -b8MB -t8
  1. disk: To test "random read, block size = 8KB, 4 threads":
./disk -o2 -b8KB -t4
  1. network: This is a little complicated here, you need firstly start the server application: (setting could be: TCP, 4 threads) ./network -f0 -p0 -t4 Then you need to start the client application with same setting (you can also assign the server IP, default is localhost): ./network -f1 -p0 -t4 -a127.0.0.1

Because the bash file cannot support repeatedly close and open the server, so run_all.sh file do not support test network. You have to manually start the server and client.

About

Benchmarking for CPU, GPU, Disk, Memory, Network hardwares in cloud computing settings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published