Bitcoin Forum
July 17, 2018, 11:39:59 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Bitcoind making linux slow on initial block chain sync.  (Read 2098 times)
Hero Member
Offline Offline

Activity: 868
Merit: 1000

View Profile
March 20, 2013, 03:55:03 AM

Because of the intensive i/o operations when downloading the blockchain and storing everything to disk, the responsivenes of the system may suffer. This is very apparent if you are running bitcoind on the same machine you're working at.

Using nice to set a lower priority for the program doesn't seem to make any difference, but using ionice, it's possible to have bitcoind do i/o operations with less priority.

This gives you the processid:
ps aux | grep bitcoind

Example output:
user    19793  3.5  1.0 216244 43932 ?        SLsl 04:47   0:08 bitcoind -daemon

Use the process-id, the second number to the left and set the priority for i/o operations.

This seems to do the job for me:
ionice -p19793 -n7

Check the man page for ionice to learn more about io-prioritization for programs.

But this makes the desktop usable (more responsive) again for me, while bitcoind can continue to synch the block-chain.

Hope this was useful for some.

Pages: [1]
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!