6
Bitcoin is very disk intense and that slows it down. It seems to flush data to disk often thus preventing proper caching. With the datadir on a RAMdisk it is much faster.
Is it possible to increase the db cache size (http://doc.gnu-darwin.org/am_conf/cachesize.html) or do something else to improve cache performance.
Of course it would be nice to keep the wallet and important data save but I would not mind the blockchain to be heavily cached.
edit: I'm asking mainly about Windows OS.
It's not really clear what you're asking. Very disk intensive when? During startup? When downloading the block chain? When processing GUI requests? The OS should already be caching all disk data that it can fit in memory anyway. – David Schwartz – 2012-02-23T10:32:10.000
A getnewaddress took 20 secs or so... I reduced virtual memory and changed the cache settings to "server" - not sure if it did anything but it is much faster now. Will close the question. – kermit – 2012-02-24T19:32:45.223
1That was likely because you have it set to create several hundred addresses when it runs out. It didn't take as long after that because it was giving you the addresses it had pre-generated. – David Schwartz – 2012-02-24T22:42:07.723
Hmm I tested it at least five times and it always took so long. – kermit – 2012-03-08T16:29:18.503