Skip to content

Instantly share code, notes, and snippets.

@mdcallag
Created January 3, 2023 17:28
Show Gist options
  • Save mdcallag/6f543ea27930600ed32fe33f2ebabe5d to your computer and use it in GitHub Desktop.
Save mdcallag/6f543ea27930600ed32fe33f2ebabe5d to your computer and use it in GitHub Desktop.
AWS c6i.2xl vs c7g.2xl
--- gcc 11.3.0, c6i.2xl
--- gcc 11.3.0, c7g.2xl
The results are c6i.2xl, then c7g.2xl at 4kb block size, then at 8kb block size.
crc32c : 0.156 micros/op 6411348 ops/sec -> 4kb, c6i.2xl
crc32c : 0.212 micros/op 4719868 ops/sec -> 4kb, c7g.2xl
-
crc32c : 0.305 micros/op 3281024 ops/sec -> 8kb, c6i.2xl
crc32c : 0.415 micros/op 2409357 ops/sec -> 8kb, c7g.2xl
-
xxh3 : 0.085 micros/op 11703285 ops/sec
xxh3 : 0.404 micros/op 2475793 ops/sec
-
xxh3 : 0.152 micros/op 6596850 ops/sec
xxh3 : 0.811 micros/op 1232345 ops/sec
-
uncompress : 0.371 micros/op 2698092 ops/sec
uncompress : 0.398 micros/op 2513533 ops/sec
-
uncompress : 0.719 micros/op 1389608 ops/sec
uncompress : 0.757 micros/op 1320784 ops/sec
-
uncompress : 3.516 micros/op 284401 ops/sec
uncompress : 3.949 micros/op 253243 ops/sec
-
uncompress : 6.440 micros/op 155278 ops/sec
uncompress : 7.335 micros/op 136324 ops/sec
-
compress : 3.888 micros/op 257205 ops/sec
compress : 4.454 micros/op 224501 ops/sec
-
compress : 7.647 micros/op 130763 ops/sec
compress : 8.734 micros/op 114498 ops/sec
-
compress : 12.349 micros/op 80980 ops/sec
compress : 13.334 micros/op 74995 ops/sec
-
compress : 21.113 micros/op 47363 ops/sec
compress : 23.672 micros/op 42243 ops/sec
--- clang 14.0.0, c6i.2xl
--- clang 14.0.0, c7g.2xl
The results are c6i.2xl, then c7g.2xl at 4kb block size, then at 8kb block size.
crc32c : 0.268 micros/op 3726878 ops/sec -> 4kb, c6i.2xl
crc32c : 0.213 micros/op 4685023 ops/sec -> 4kb, c7g.2xl
-
crc32c : 0.492 micros/op 2032300 ops/sec -> 8kb, c6i.2xl
crc32c : 0.419 micros/op 2385994 ops/sec -> 8kb, c7g.2xl
-
xxh3 : 0.099 micros/op 10085331 ops/sec
xxh3 : 0.247 micros/op 4049441 ops/sec
-
xxh3 : 0.197 micros/op 5084166 ops/sec
xxh3 : 0.473 micros/op 2115639 ops/sec
-
uncompress : 0.384 micros/op 2606375 ops/sec
uncompress : 0.407 micros/op 2457108 ops/sec
-
uncompress : 0.757 micros/op 1320850 ops/sec
uncompress : 0.767 micros/op 1303693 ops/sec
-
uncompress : 3.584 micros/op 279030 ops/sec
uncompress : 3.962 micros/op 252399 ops/sec
-
uncompress : 6.721 micros/op 148776 ops/sec
uncompress : 7.359 micros/op 135888 ops/sec
-
compress : 3.888 micros/op 257194 ops/sec
compress : 4.456 micros/op 224417 ops/sec
-
compress : 7.783 micros/op 128489 ops/sec
compress : 8.725 micros/op 114615 ops/sec
-
compress : 12.616 micros/op 79266 ops/sec
compress : 13.304 micros/op 75164 ops/sec
-
compress : 21.773 micros/op 45927 ops/sec
compress : 23.816 micros/op 41988 ops/sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment