Skip to content

Check GFNI | SHA_NI support on node startup #5933

@rach-id

Description

@rach-id

As part of #5932, we could add check similar to the bbr check during node startup to let validators know if their CPUs support GFNI and SHA_NI or not.

The check can be as simple as running:

grep -o -E 'sha_ni|gfni' /proc/cpuinfo

This should be added as part of the make install command and also when you start the validator. But instead of blocking, we could just set it as a warning for now. Also, we can include a flag, similar to --force-no-bbr, which can be called --testing-environment that bypasses this check. But it should be no op for now

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Needs Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions