Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/templexxx/xorsimd
XOR code engine in pure Go, more than 270GB/S per core
https://github.com/templexxx/xorsimd
Last synced: about 1 month ago
JSON representation
XOR code engine in pure Go, more than 270GB/S per core
- Host: GitHub
- URL: https://github.com/templexxx/xorsimd
- Owner: templexxx
- License: mit
- Created: 2018-07-20T05:07:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T13:56:26.000Z (4 months ago)
- Last Synced: 2024-08-06T15:45:46.080Z (4 months ago)
- Language: Go
- Homepage:
- Size: 45.9 KB
- Stars: 76
- Watchers: 2
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - templexxx/xorsimd - 08 star:0.1k fork:0.0k XOR code engine in pure Go, more than 270GB/S per core (Go)
README
# XOR SIMD
[![GoDoc][1]][2] [![MIT licensed][3]][4] [![Build Status][5]][6] [![Go Report Card][7]][8] [![Sourcegraph][9]][10]
[1]: https://godoc.org/github.com/templexxx/xorsimd?status.svg
[2]: https://godoc.org/github.com/templexxx/xorsimd
[3]: https://img.shields.io/badge/license-MIT-blue.svg
[4]: LICENSE
[5]: https://github.com/templexxx/xorsimd/workflows/unit-test/badge.svg
[6]: https://github.com/templexxx/xorsimd
[7]: https://goreportcard.com/badge/github.com/templexxx/xorsimd
[8]: https://goreportcard.com/report/github.com/templexxx/xorsimd
[9]: https://sourcegraph.com/github.com/templexxx/xorsimd/-/badge.svg
[10]: https://sourcegraph.com/github.com/templexxx/xorsimd?badge## Introduction:
>- XOR code engine in pure Go.
>
>- [High Performance](https://github.com/templexxx/xorsimd#performance):
More than 270GB/s per physics core.## Performance
Performance depends mainly on:
>- CPU instruction extension.
>
>- Number of source row vectors.**Platform:**
*AWS c5d.xlarge (Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz)*
**All test run on a single Core.**
`I/O = (src_num + 1) * vector_size / cost`
| Src Num | Vector size | AVX512 I/O (MB/S) | AVX2 I/O (MB/S) |SSE2 I/O (MB/S) |
|-------|-------------|-------------|---------------|---------------|
|5|4KB| 270403.73 | 142825.25 | 74443.91 |
|5|1MB| 26948.34 | 26887.37 | 26950.65 |
|5|8MB| 17881.32 | 17212.56 | 16402.97 |
|10|4KB| 190445.30 | 102953.59 | 53244.04 |
|10|1MB| 26424.44 | 26618.65 | 26094.39 |
|10|8MB| 15471.31 | 14866.72 | 13565.80 |