Skip to content

Commit

Permalink
fixed typos in readme (#13150)
Browse files Browse the repository at this point in the history
  • Loading branch information
VBulikov authored Dec 18, 2024
1 parent bb7d4d6 commit 6a9a7be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ frontier.
- [Run local devnet](#run-local-devnet)
- [Docker permissions error](#docker-permissions-error)
- [Public RPC](#public-rpc)
- [RaspberyPI](#raspberypi)
- [RaspberryPI](#raspberrypi)
- [Run all components by docker-compose](#run-all-components-by-docker-compose)
- [Optional: Setup dedicated user](#optional-setup-dedicated-user)
- [Environment Variables](#environment-variables)
Expand Down Expand Up @@ -551,7 +551,7 @@ in [post](https://www.fullstaq.com/knowledge-hub/blogs/docker-and-the-host-files
- `--http.corsdomain="*"` is bad-practice: set exact hostname or IP
- protect from DOS by reducing: `--rpc.batch.concurrency`, `--rpc.batch.limit`
### RaspberyPI
### RaspberryPI
https://github.com/mathMakesArt/Erigon-on-RPi-4
Expand Down Expand Up @@ -588,7 +588,7 @@ targets `make user_linux` or `make user_macos`.
#### Run
Check permissions: In all cases, `XDG_DATA_HOME` (specified or default) must be writeable by the user UID/GID in docker,
Check permissions: In all cases, `XDG_DATA_HOME` (specified or default) must be writable by the user UID/GID in docker,
which will be determined by the `DOCKER_UID` and `DOCKER_GID` at build time. If a build or service startup is failing
due to permissions, check that all the directories, UID, and GID controlled by these environment variables are correct.
Expand Down Expand Up @@ -750,7 +750,7 @@ Erigon uses ~4Gb of RAM during genesis sync and ~1Gb during normal work. OS page
memory.
**Warning:** Multiple instances of Erigon on same machine will touch Disk concurrently, it impacts performance - one of
main Erigon optimisations: "reduce Disk random access".
main Erigon optimizations: "reduce Disk random access".
"Blocks Execution stage" still does many random reads - this is reason why it's slowest stage. We do not recommend
running multiple genesis syncs on same Disk. If genesis sync passed, then it's fine to run multiple Erigon instances on
same Disk.
Expand All @@ -768,7 +768,7 @@ What can do:
- use latency-critical cloud-drives
- or attached-NVMe (at least for initial sync)
- increase RAM
- if you throw anough RAM, then can set env variable `ERIGON_SNAPSHOT_MADV_RND=false`
- if you throw enough RAM, then can set env variable `ERIGON_SNAPSHOT_MADV_RND=false`
- Use `--db.pagesize=64kb` (less fragmentation, more IO)
- Or buy/download synced archive node from some 3-rd party Erigon2 snapshots provider
- Or use Erigon3 (it also sensitive for disk-latency - but it will download 99% of history)
Expand Down

0 comments on commit 6a9a7be

Please sign in to comment.