Skip to content

Commit

Permalink
Requre SHA-NI extension to run a node
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Jul 3, 2024
1 parent 9a1cf98 commit e7a4787
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/archival/hardware-archival.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This page covers the minimum and recommended hardware requirements for engaging
| Hardware | Recommended Specifications |
| -------------- | ----------------------------------------------------------------------- |
| CPU | 8-Core (16-Thread) Intel i7/Xeon or equivalent with AVX support |
| CPU Features | CMPXCHG16B, POPCNT, SSE4.1, SSE4.2, AVX |
| CPU Features | CMPXCHG16B, POPCNT, SSE4.1, SSE4.2, AVX, SHA-NI |
| RAM | 24GB DDR4 |
| Storage | 9 Terabyte SSD |

Expand Down
7 changes: 4 additions & 3 deletions docs/rpc/hardware-rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ For testing your RPC once the node is fully sync'd, see [this example RPC reques

| Hardware | Recommended Specifications |
| -------------- |--------------------------------------------------------------------------|
| CPU | 8-Core (16-Thread) Intel i7/Xeon or equivalent with AVX support |
| CPU Features | CMPXCHG16B, POPCNT, SSE4.1, SSE4.2, AVX |
| CPU | 8-Core (16-Thread) Intel i7/Xeon or equivalent |
| CPU Features | CMPXCHG16B, POPCNT, SSE4.1, SSE4.2, AVX, SHA-NI |
| RAM | 20GB DDR4 |
| Storage | 1TB SSD (NVMe SSD is recommended. HDD will be enough for localnet only ) |

Expand All @@ -26,7 +26,8 @@ _Verify AVX support on Linux by issuing the command ```$ lscpu | grep -oh avx``

| Hardware | Minimal Specifications |
| -------------- |---------------------------------------------------------------------------|
| CPU | 8-Core (16-Thread) Intel i7/Xeon or equivalent with AVX support |
| CPU | 8-Core (16-Thread) Intel i7/Xeon or equivalent |
| CPU Features | CMPXCHG16B, POPCNT, SSE4.1, SSE4.2, AVX, SHA-NI |
| RAM | 12GB DDR4 |
| Storage | 500GB SSD (NVMe SSD is recommended. HDD will be enough for localnet only) |

Expand Down
8 changes: 4 additions & 4 deletions docs/validator/hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ This page covers the minimum and recommended hardware requirements for engaging
| Hardware | Recommended Specifications |
| -------------- | --------------------------------------------------------------- |
| CPU | x86_64 (Intel, AMD) processor with at least 8 physical cores |
| CPU Features | CMPXCHG16B, POPCNT, SSE4.1, SSE4.2, AVX |
| CPU Features | CMPXCHG16B, POPCNT, SSE4.1, SSE4.2, AVX, SHA-NI |
| RAM | 24GB DDR4 |
| Storage | 2TB SSD (NVMe SSD is recommended. HDD will be enough for localnet only) |

Verify CPU feature support by running the following command on Linux:

```
lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )' > /dev/null \
lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )(?=.*sha_ni )' > /dev/null \
&& echo "Supported" \
|| echo "Not supported"
```
Expand All @@ -31,14 +31,14 @@ lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )' > /dev/null \
| Hardware | Minimal Specifications |
| -------------- | --------------------------------------------------------------- |
| CPU | x86_64 (Intel, AMD) processor with at least 8 physical cores |
| CPU Features | CMPXCHG16B, POPCNT, SSE4.1, SSE4.2, AVX |
| CPU Features | CMPXCHG16B, POPCNT, SSE4.1, SSE4.2, AVX, SHA-NI |
| RAM | 16GB DDR4 |
| Storage | 1TB SSD (NVMe SSD is recommended. HDD will be enough for localnet only) |

Verify CPU feature support by running the following command on Linux:

```
lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )' > /dev/null \
lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )(?=.*sha_ni )' > /dev/null \
&& echo "Supported" \
|| echo "Not supported"
```
Expand Down

0 comments on commit e7a4787

Please sign in to comment.