Skip to content

Commit

Permalink
performance improvements seen on GPU systems, due to changes made in …
Browse files Browse the repository at this point in the history
…commit 32c9f06

Signed-off-by: Anjan Roy <[email protected]>
  • Loading branch information
itzmeanjan committed May 14, 2022
1 parent 285a0e3 commit 2d77f14
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 59 deletions.
90 changes: 45 additions & 45 deletions results/gpu/intel.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,37 +9,37 @@ make aot_gpu # keep device identifier argument `0x4905`
```bash
Running on Intel(R) Iris(R) Xe MAX Graphics [0x4905]

+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|# -of work-items| kernel name|input size ( bytes )|output size ( bytes )|host-to-device b/w| kernel b/w|device-to-host b/w|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|1048576 |Harpocrates Encrypt| 16.000244 MB| 16.000000 MB| 3.484858 GB/ s|132.037404 MB/ s| 5.292577 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|1048576 |Harpocrates Decrypt| 16.000244 MB| 16.000000 MB| 3.486233 GB/ s|132.078098 MB/ s| 5.292577 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|2097152 |Harpocrates Encrypt| 32.000244 MB| 32.000000 MB| 3.507018 GB/ s|132.108437 MB/ s| 5.293696 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|2097152 |Harpocrates Decrypt| 32.000244 MB| 32.000000 MB| 3.507100 GB/ s|132.156384 MB/ s| 5.293136 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|4194304 |Harpocrates Encrypt| 64.000244 MB| 64.000000 MB| 3.508930 GB/ s|132.145855 MB/ s| 5.294092 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|4194304 |Harpocrates Decrypt| 64.000244 MB| 64.000000 MB| 3.508981 GB/ s|132.193602 MB/ s| 5.293346 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|8388608 |Harpocrates Encrypt| 128.000244 MB| 128.000000 MB| 3.510322 GB/ s|132.165268 MB/ s| 5.294349 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|8388608 |Harpocrates Decrypt| 128.000244 MB| 128.000000 MB| 3.510342 GB/ s|132.211182 MB/ s| 5.293568 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|16777216 |Harpocrates Encrypt| 256.000244 MB| 256.000000 MB| 3.510495 GB/ s|132.174153 MB/ s| 5.294460 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|16777216 |Harpocrates Decrypt| 256.000244 MB| 256.000000 MB| 3.510498 GB/ s|132.220301 MB/ s| 5.293906 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|33554432 |Harpocrates Encrypt| 512.000244 MB| 512.000000 MB| 3.510778 GB/ s|132.179018 MB/ s| 5.294533 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|33554432 |Harpocrates Decrypt| 512.000244 MB| 512.000000 MB| 3.510781 GB/ s|132.223493 MB/ s| 5.293830 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|67108864 |Harpocrates Encrypt| 1.000000 GB| 1.000000 GB| 3.511279 GB/ s|132.181247 MB/ s| 5.294560 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|67108864 |Harpocrates Decrypt| 1.000000 GB| 1.000000 GB| 3.511280 GB/ s|132.223371 MB/ s| 5.294034 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|# -of work-items| kernel name|input size ( bytes )|output size ( bytes )|host-to-device b/w| kernel b/w|device-to-host b/w|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|1048576 |Harpocrates Encrypt| 16.000244 MB| 16.000000 MB| 3.479370 GB/ s|2.311853 GB/ s| 5.265403 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|1048576 |Harpocrates Decrypt| 16.000244 MB| 16.000000 MB| 3.480740 GB/ s|2.331803 GB/ s| 5.277055 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|2097152 |Harpocrates Encrypt| 32.000244 MB| 32.000000 MB| 3.506261 GB/ s|2.342400 GB/ s| 5.293370 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|2097152 |Harpocrates Decrypt| 32.000244 MB| 32.000000 MB| 3.506281 GB/ s|2.367388 GB/ s| 5.279373 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|4194304 |Harpocrates Encrypt| 64.000244 MB| 64.000000 MB| 3.508120 GB/ s|2.359840 GB/ s| 5.293952 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|4194304 |Harpocrates Decrypt| 64.000244 MB| 64.000000 MB| 3.508294 GB/ s|2.384711 GB/ s| 5.293999 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|8388608 |Harpocrates Encrypt| 128.000244 MB| 128.000000 MB| 3.510086 GB/ s|2.367883 GB/ s| 5.294291 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|8388608 |Harpocrates Decrypt| 128.000244 MB| 128.000000 MB| 3.510065 GB/ s|2.393030 GB/ s| 5.293906 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|16777216 |Harpocrates Encrypt| 256.000244 MB| 256.000000 MB| 3.510623 GB/ s|2.372023 GB/ s| 5.294232 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|16777216 |Harpocrates Decrypt| 256.000244 MB| 256.000000 MB| 3.510616 GB/ s|2.397787 GB/ s| 5.293859 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|33554432 |Harpocrates Encrypt| 512.000244 MB| 512.000000 MB| 3.511095 GB/ s|2.374095 GB/ s| 5.294524 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|33554432 |Harpocrates Decrypt| 512.000244 MB| 512.000000 MB| 3.511104 GB/ s|2.400005 GB/ s| 5.293920 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|67108864 |Harpocrates Encrypt| 1.000000 GB| 1.000000 GB| 3.511192 GB/ s|2.375115 GB/ s| 5.294550 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
|67108864 |Harpocrates Decrypt| 1.000000 GB| 1.000000 GB| 3.511192 GB/ s|2.401144 GB/ s| 5.294028 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+--------------+------------------+
```

# Benchmarking Harpocrates Cipher on Intel(R) UHD Graphics P630
Expand All @@ -56,32 +56,32 @@ Running on Intel(R) UHD Graphics P630 [0x3e96]
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|# -of work-items| kernel name|input size ( bytes )|output size ( bytes )|host-to-device b/w| kernel b/w|device-to-host b/w|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|1048576 |Harpocrates Encrypt| 16.000244 MB| 16.000000 MB| 8.597729 GB/ s|267.765881 MB/ s| 16.256737 GB/ s|
|1048576 |Harpocrates Encrypt| 16.000244 MB| 16.000000 MB| 12.277024 GB/ s|321.086067 MB/ s| 16.426964 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|1048576 |Harpocrates Decrypt| 16.000244 MB| 16.000000 MB| 8.598515 GB/ s|268.110738 MB/ s| 16.415505 GB/ s|
|1048576 |Harpocrates Decrypt| 16.000244 MB| 16.000000 MB| 12.294663 GB/ s|279.986237 MB/ s| 15.798339 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|2097152 |Harpocrates Encrypt| 32.000244 MB| 32.000000 MB| 8.695757 GB/ s|268.338397 MB/ s| 15.930694 GB/ s|
|2097152 |Harpocrates Encrypt| 32.000244 MB| 32.000000 MB| 14.392542 GB/ s|320.914484 MB/ s| 16.334318 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|2097152 |Harpocrates Decrypt| 32.000244 MB| 32.000000 MB| 8.696962 GB/ s|268.594882 MB/ s| 16.897317 GB/ s|
|2097152 |Harpocrates Decrypt| 32.000244 MB| 32.000000 MB| 14.454426 GB/ s|283.905231 MB/ s| 16.736576 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|4194304 |Harpocrates Encrypt| 64.000244 MB| 64.000000 MB| 8.679487 GB/ s|269.241631 MB/ s| 16.855711 GB/ s|
|4194304 |Harpocrates Encrypt| 64.000244 MB| 64.000000 MB| 15.382092 GB/ s|321.055051 MB/ s| 16.971198 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|4194304 |Harpocrates Decrypt| 64.000244 MB| 64.000000 MB| 8.688099 GB/ s|269.201400 MB/ s| 16.876867 GB/ s|
|4194304 |Harpocrates Decrypt| 64.000244 MB| 64.000000 MB| 15.409793 GB/ s|284.055836 MB/ s| 16.754451 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|8388608 |Harpocrates Encrypt| 128.000244 MB| 128.000000 MB| 8.694904 GB/ s|269.614622 MB/ s| 16.771990 GB/ s|
|8388608 |Harpocrates Encrypt| 128.000244 MB| 128.000000 MB| 16.232237 GB/ s|321.280723 MB/ s| 16.786572 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|8388608 |Harpocrates Decrypt| 128.000244 MB| 128.000000 MB| 8.694703 GB/ s|269.745347 MB/ s| 16.876489 GB/ s|
|8388608 |Harpocrates Decrypt| 128.000244 MB| 128.000000 MB| 16.249050 GB/ s|284.501681 MB/ s| 16.713174 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|16777216 |Harpocrates Encrypt| 256.000244 MB| 256.000000 MB| 8.801711 GB/ s|269.672235 MB/ s| 17.005500 GB/ s|
|16777216 |Harpocrates Encrypt| 256.000244 MB| 256.000000 MB| 16.529387 GB/ s|320.661454 MB/ s| 16.873652 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|16777216 |Harpocrates Decrypt| 256.000244 MB| 256.000000 MB| 8.803615 GB/ s|269.444002 MB/ s| 16.860051 GB/ s|
|16777216 |Harpocrates Decrypt| 256.000244 MB| 256.000000 MB| 16.531928 GB/ s|284.080429 MB/ s| 16.604272 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|33554432 |Harpocrates Encrypt| 512.000244 MB| 512.000000 MB| 9.204012 GB/ s|269.588275 MB/ s| 16.980957 GB/ s|
|33554432 |Harpocrates Encrypt| 512.000244 MB| 512.000000 MB| 16.744679 GB/ s|321.133104 MB/ s| 16.881786 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|33554432 |Harpocrates Decrypt| 512.000244 MB| 512.000000 MB| 9.205249 GB/ s|269.092258 MB/ s| 16.951713 GB/ s|
|33554432 |Harpocrates Decrypt| 512.000244 MB| 512.000000 MB| 16.747100 GB/ s|284.403541 MB/ s| 16.717070 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|67108864 |Harpocrates Encrypt| 1.000000 GB| 1.000000 GB| 10.123275 GB/ s|269.862527 MB/ s| 17.038062 GB/ s|
|67108864 |Harpocrates Encrypt| 1.000000 GB| 1.000000 GB| 16.919484 GB/ s|321.205007 MB/ s| 16.999118 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
|67108864 |Harpocrates Decrypt| 1.000000 GB| 1.000000 GB| 10.123922 GB/ s|269.396075 MB/ s| 15.748901 GB/ s|
|67108864 |Harpocrates Decrypt| 1.000000 GB| 1.000000 GB| 16.919770 GB/ s|284.318009 MB/ s| 16.885997 GB/ s|
+----------------+-------------------+--------------------+---------------------+------------------+----------------+------------------+
```
Loading

0 comments on commit 2d77f14

Please sign in to comment.