Memory.GCPercTrshold to 100 or more (higher value for more effect).Memory.MemoryLimitMB.Memory.UseGoHeap is disabled.Memory.UseGoHeap
to true.Memory.CacheOnDisk to false.Memory.SyncCacheSize.CacheOnDisk disabled, a change of the cache size has a major effect on memory usage.cachempty: X debugs. If X is not increasing after block 200000, don't bother with a bigger cache.wallet off or click the disable wallet button on the bottom of the Wallet page in the WebUI.AllBalances.AutoLoad to false in the
config file.wallet on.gocoin/lib/others/cgo/ec_bench/
(e.g. go run gonative.go vs go run sipasec.go).sipadll.go (Windows only) or sipasec.go (any OS),
from gocoin/client/speedups/ to its parent folder (gocoin/client/).
Then rebuild and restart the client.sipadll.go or sipasec.go in your
gocoin/client/ folder, but never both of them as the client will not build then.| sipasec.go | sipadll.go (Windows only) |
In order to use sipasec.go speedup, build and install secp256k1 library in your system.On Debian based Linux system, simply execute the following commands: sudo apt-get install gcc automake autoconf libtool make git libgmp-dev git clone https://github.com/bitcoin/bitcoin.git cd bitcoin/src/secp256k1/ ./autogen.sh ./configure make sudo make install Note: When the library is properly installed, executing go test inside
gocoin/lib/others/cgo/sipasec/ says PASS.
|
To use sipadll.go speedup, you have to place secp256k1.dll
in gocoin/client/ or in any folder where Windows looks for executables
(e.g. C:\WINDOWS).You can find secp256k1.dll in gocoin/tools/sipa_dll/
or you can download it from sourceforge.net
(it's inside secp256k1.dll_v2-amd64.zip).To build secp256k1.dll youself, look into secp256k1_win_v2.zip. |
Memory.CompressBlockDB to false.utxo -compress.UTXO.db file is.utxo -decompress.Stats.NoCounters to true.