diff --git a/README.md b/README.md index 3bb78efe08b..c94afefb143 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 @@ -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. @@ -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. @@ -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)