Bitcoin Forum
September 01, 2024, 06:26:01 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Any command line option to throttle ArmoryDB?  (Read 44 times)
NotATether (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 7190


In memory of o_e_l_e_o


View Profile WWW
April 12, 2021, 05:52:32 AM
 #1

So after I got Armory working, I got another problem. When I opened Armory, the ArmoryDB process starts during the splash screen and pushes my load average above 15. Since I have 8 threads in my system that means it's getting twice as much load that it can handle, which has negative effects on my system responsiveness.

Is there a way to configure ArmoryDB to only use X% cpu, or do I have to find a Linux command for this or run it inside docker, which does let you limit CPU use?

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3724
Merit: 1360

Armory Developer


View Profile
April 12, 2021, 07:16:34 AM
Merited by NotATether (2)
 #2

https://github.com/goatpig/BitcoinArmory/blob/master/armoryengine/ArmoryUtils.py#L130

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!