good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 0aff30d2 authored by Igor Mandrigin's avatar Igor Mandrigin Committed by GitHub
Browse files

Update README.md

parent 722c4562
No related branches found
No related tags found
No related merge requests found
......@@ -250,4 +250,43 @@ TurboGeth uses ~4Gb of RAM during genesis sync and < 1Gb during normal work. OS
it impacts performance - one of main TG optimisations: "reduce Disk random access".
"Blocks Execution stage" still does much random reads - this is reason why it's slowest stage.
We do not recommend run multiple genesis syncs on same Disk.
If genesis sync passed, then it's fine to run multiple TG on same Disk.
If genesis sync passed, then it's fine to run multiple TG on same Disk.
#### `go run` doesn't work `no such file or directory: <>./ethdb/mdbx/dist/libmdbx.a`
If you are trying to run our binaries with `go run` you might end up with an issue like that
```
> go run ./cmd/integration print_stages --chaindata /Volumes/OWC1/ddd-dev/tg/chaindata
go: downloading github.com/spf13/cobra v1.1.1
# github.com/ethereum/evmc/v7/bindings/go/evmc
host.c:33:20: warning: unused function 'go_exported_functions_type_checks' [-Wunused-function]
# github.com/ledgerwatch/turbo-geth/ethdb/mdbx
clang: error: no such file or directory: '<..>/turbo-geth/ethdb/mdbx/dist/libmdbx.a'
```
To fix that, do `make all` and after that `go run` should work successfully.
```
> make all
<...>
> go run ./cmd/integration print_stages --chaindata /Volumes/OWC_DISK_3/ddd-dev/tg/chaindata
# github.com/ethereum/evmc/v7/bindings/go/evmc
host.c:33:20: warning: unused function 'go_exported_functions_type_checks' [-Wunused-function]
Headers 11104855
BlockHashes 11104855
Bodies 11098821
Senders 11098816
Execution 11098816
IntermediateHashes 11098816
HashState 11098816
AccountHistoryIndex 11098816
StorageHistoryIndex 11098816
LogIndex 11098816
CallTraces 0
TxLookup 11098816
TxPool 11098816
Finish 11098816
INFO [10-28|09:29:17.907] database closed (LMDB) lmdb=chaindata
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment