I use Ubuntu 11.10 and have recently installed the standard Bitcoin client 0.40. But the GUI only appear around 15 minutes after started. My machine is an AMD64 Athlon 4600x2 with 6GB RAM. Is this normal? (I don't think so) Any idea?
I can't be sure why your client specifically took 15 minutes to start. But I have benchmarked the client's startup process. Most of the time is spent validating the database to ensure the client has a sensible view of the hash chain.
It is "fast verified" up to the most recent checkpoint and then "slow verified" to the current block. Fast verification entails checking only that the header is valid. Slow verification is a much more complete verification that can only be done at about 20 blocks per second on hardware like yours. (Upgrading the client will help, since newer version of the client will have more recent checkpoints.)
If you passed the
-rescan option, the client will check every transaction in every block to see if it relates to any account in your wallet. That will add some time to the client's startup time.
When you run the Bitcoin client for the very first time, it will take several hours to sync up to the network. The downside of a decentralized system is that you cannot trust anything and must check everything yourself. This literally requires you to fully verify every Bitcoin transaction that has ever taken place. I've seen that take 9 hours on Pentium 4 class computers with 100Mbps Internet connections. (Though I think it should be a bit faster now, thanks to bugfixes in the client.)
Maybe you are mining? From my experience, when I run the miner before bitcoin, bitcoin will block at "Loading address..." or "Loading block index..." for a long time. You can see it in debug.log. Stop the miner and bitcoin will start soon. Then you can run the miner again.
I've been evaluating some bitcoin clients and my nastiest one; bitcoin-qt on a ten year old single-core 32-bit intel with 512MB RAM has been struggling all week and it has still only got to 22GB of 34GB of the blockchain loaded.
This morning after it crashed, the next restart required "rescan" which took an hour before it could resume downloading the full blockchain.
I've had much better luck with Electrum (bitcoin wallet application; without the whole blockchain) which works fine on both the 512MB singlecore and on the 1024MB quadcore raspberryPi. That starts up in 1 to 2 minutes.