Skip to content

Canhui/AES-ON-GPU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0. Environment Specification

OS: Ubuntu 16.04 LTS, 64-bit
Memory: 11.5 GiB
CPU: Intel Core i5-7200U @ 2.50GHz × 4
GPU: GeForce 940MX/PCIe/SSE2

1. AES-ON-GPU

Implement AES on CPU & GPU

2. Usage

gcc cpu.c -o cpu
nvcc gpu.cu -o gpu

3. Experimental Results

File Size (bytes) Encryption Decryption
Time (seconds) Throughput (bytes per second) Time (seconds) Throughput (bytes per second)
CPU GPU CPU GPU CPU GPU CPU GPU
1202 0.000152 0.000732 7921052.63 1644808.74 0.000264 0.000771 4560606.06 1561608.30
4652 0.000689 0.000770 6769230.77 6057142.85 0.001168 0.000821 3993150.68 5680876.98
9302 0.001418 0.000784 6564174.89 11872448.97 0.002081 0.000790 4472849.59 11782278.48
18602 0.002545 0.000807 7313163.06 23063197.03 0.003889 0.000821 4785806.12 22669914.74
37202 0.004985 0.000886 7463189.57 41990970.65 0.007196 0.000918 5170094.49 40527233.12
74402 0.010099 0.001048 7367462.12 70996183.21 0.014296 0.001040 5204532.74 71542307.69
148802 0.020109 0.001302 7399870.70 114288786.48 0.028493 0.001331 5222475.69 111798647.63
297602 0.039651 0.001896 7505586.24 156964135.02 0.056839 0.002018 5235911.96 147474727.45
595202 0.079503 0.003145 7486560.26 189254054.05 0.113610 0.003577 5239010.65 166397539.84
1190402 0.158507 0.005316 7510103.65 223928517.68 0.227203 0.005847 5239385.04 203592269.54

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published