Bitcoin Forum
December 08, 2016, 08:38:06 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Litecoin daemon is a godzilla in memory consumption and very slow... Why?!  (Read 2752 times)
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 10, 2012, 02:02:07 PM
 #1

Guys,

 My litecoind consumes a lot of memory... And it is much more slower than bitcoind and namecoind... But why?!

 I'm using litecoin compiled from sources, "git pull" is up to date.

 Look:

Code:
ps xufa | grep coind
1000     16829  0.5  4.2 129724 32708 ?        SLsl Jan09   6:18 /usr/lib/bitcoin/bitcoind
1000     17691  1.6 31.2 591760 238312 ?       SLsl Jan09  17:58 ./litecoin/src/litecoind
1000     17694  0.3  3.0 116584 23164 ?        Ssl  Jan09   4:17 ./namecoin/src/namecoind

 The Litecoin daemon consumes 31.2% of RAM memory!

 And it is very, very, veeery slow... Look:

Code:
admcc@desk:~$ time ~/namecoin/src/namecoind getbalance
X.XXXXX

real 0m0.008s
user 0m0.000s
sys 0m0.004s
admcc@desk:~$ time bitcoind getbalance
X.XXXXX

real 0m0.467s
user 0m0.008s
sys 0m0.004s
admcc@desk:~$ time ~/litecoin/src/litecoind getbalance
X.XXXXX

real 8m51.580s
user 0m0.004s
sys 0m0.008s

 8 minutes do getbalance from litecoind!!! WTF?!

 I'm using Ubuntu 11.04 32 bits.

Cheers!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
1481229486
Hero Member
*
Offline Offline

Posts: 1481229486

View Profile Personal Message (Offline)

Ignore
1481229486
Reply with quote  #2

1481229486
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Garr255
Legendary
*
Offline Offline

Activity: 952


What's a GPU?


View Profile
February 15, 2012, 05:59:08 AM
 #2

Very odd, noticed you haven't got any replies yet. Did you find a solution?

“First they ignore you, then they laugh at you, then they fight you, then you win.”  -- Mahatma Gandhi

Average time between signing on to bitcointalk: Two weeks. Please don't expect responses any faster than that!
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
February 15, 2012, 07:14:34 AM
 #3

LOL

I install it again in another machine and all seems to work now but, that Litecoin is still very slow...

I complete guess that there is some problem with libdb...

My machine with slow Litecoin have libdb from "Ubuntu repository" and, my machine with fast Litecoin have those packages (libdb) from "Ubuntu PPA Bitcoin"... For example, my Litecoin P2Pool node is fast!

This is a complete guess and I was unable to reproduce it (no time)...

Thanks!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
racerguy
Sr. Member
****
Offline Offline

Activity: 271


View Profile
February 15, 2012, 01:09:50 PM
 #4

Maybe something to do with all that transaction spam we had a while ago?
GTRsdk
Member
**
Offline Offline

Activity: 87

COIN SUPPORTER


View Profile WWW
April 10, 2012, 10:15:45 PM
 #5

Have you tried the newer (0.6) version of Litecoin?

Let's make some Dogecoins together! http://doge.litemoons.com:9555
soundasleep
Full Member
***
Offline Offline

Activity: 157


View Profile
May 12, 2013, 11:54:36 PM
 #6

There is the -dbcache=<n> parameter - the database cache size in MB, default 25 - but even I reduced this down to 1, it'd only reduce litecoind usage from 30% to 26%. Running 0.6.3c-beta.

Has anyone ever done a memory profiling of litecoind to see where all the memory is being used?

CryptFolio lets you keep track of your cryptocurrencies (BTC/LTC/NMC/FTC/XPM/DOGE/...), investments, securities and miners using public addresses and read-only APIs. https://cryptfolio.com
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!