Bitcoin Forum
April 13, 2026, 02:13:25 PM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: What could be the problem  (Read 414 times)
LoyceV
Legendary
*
Offline Offline

Activity: 4004
Merit: 21595


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 19, 2026, 11:49:08 AM
 #21

I want to ask if that also applies to a prone node
Yes. A pruned node writes the same amount of data and uses the same amount of RAM.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
nc50lc
Legendary
*
Offline Offline

Activity: 3108
Merit: 8619


Self-proclaimed Genius


View Profile
March 20, 2026, 04:42:47 AM
Merited by LoyceV (4)
 #22

-snip-
I think I understand your point but I want to ask if that also applies to a pruned node
Yes, and not only the advantage of higher dbcache, the available disk space of storing the complete UTXO-set is also required.
This is why even if you set the lowest possible prune setting, your node will still require about 13GiB of free space, mostly for the UTXO-set which may go higher or lower ("chainstate" directory).

As for major contributor to disk I/O, even if the node is in prune mode, it will also write all of the blocks to the disk as it downloads them from its peers, it will not skip a block.
The only difference is it will eventually delete the oldest verified blocks when it's near the set prune size.
So, that time-consuming disk writes and verification are also applicable to it, so as the config optimizations.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
LoyceV
Legendary
*
Offline Offline

Activity: 4004
Merit: 21595


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 20, 2026, 06:27:11 AM
Merited by philipma1957 (2)
 #23

As for major contributor to disk I/O, even if the node is in prune mode, it will also write all of the blocks to the disk as it downloads them from its peers, it will not skip a block.
The only difference is it will eventually delete the oldest verified blocks when it's near the set prune size.
So, that time-consuming disk writes and verification are also applicable to it, so as the config optimizations.
I'd like to add a side note to this: with low RAM, writing blocks is insignificant compared to writing chainstate. After the IBD, it adds only 10 MB per hour. And that's why Bitcoin Core works totally fine with the blocks directory on a slow HDD.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
YellowSwap
Full Member
***
Offline Offline

Activity: 338
Merit: 128



View Profile
Today at 10:01:34 AM
 #24

How come no one is talking about page file?
If OP increases the page file of his PC the syncing will become snappier than before.

Why?

Increasing your page file can significantly improve system performance by acting as Virtual Memory or RAM.
It provides necessary overflow capacity for memory intense applications.

I have toyed with this feature in the past, not once or twice then things started working better than before especially when it's syncing related issue.

A tutorial video here

https://youtu.be/tSehQBqKjBQ?si=nvlho1V0eZo2HlcV

LoyceV
Legendary
*
Offline Offline

Activity: 4004
Merit: 21595


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
Today at 10:47:00 AM
Last edit: Today at 12:55:48 PM by LoyceV
Merited by MarryWithBTC (1)
 #25

Get enough RAM (16 GB is the minimum for a smooth sync) and set dbcache to a high enough value (but not all your RAM).
Allow me to update this: I'm currently testing a full IBD on Bitcoin Core 26.1 on a system with 16 GB RAM. I set 12 GB dbcache, and it took about 24 hours to go from 75 to 85% progress. It took just as long to go from 0 to 75%. The most amazing part: bitcoind only uses 4.7% RAM! It's just not using dbcache as I expected. This may be because I'm using an older version, I haven't tested an upgrade yet. I'm curious to see how much this improved in later versions.

If OP increases the page file of his PC the syncing will become snappier than before.
That's very unlikely.

Quote
Increasing your page file can significantly improve system performance by acting as Virtual Memory or RAM.
It provides necessary overflow capacity for memory intense applications.
All it can do is swap away your unused applications. You'd be better off just closing them.
Bitcoin Core needs to access it's large chainstate directory many times for each block. If it can't fit all of it in dbcache, it'll cause additional read and write actions on your disk. Moving those read and write actions to a swap file does not make it faster.

Quote
things started working better than before especially when it's syncing related issue.
Please elaborate on what issue you had syncing Bitcoin Core.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
MarryWithBTC
Full Member
***
Offline Offline

Activity: 138
Merit: 131

Can you pay a bride price with bitcoin?


View Profile
Today at 12:47:56 PM
 #26

If OP increases the page file of his PC the syncing will become snappier than before.
That's very unlikely.
Very much unlikely, unless in a situation he is already low on RAM, then the improvement might have come from stablizing memory usage, such as preventing heavy swapping just as you mentioned above.


I have toyed with this feature in the past, not once or twice then things started working better than before especially when it's syncing related issue.
May I know if the twice or more you tried and it worked was on one system or different computers?
if it's with same system, it could be a specific bottleneck on the system, likely low RAM or other heavy apps were open.

▬▬▬ BUY BTC ▬▬▬
▬▬ USE BTC ▬▬
SAVE BTC
Pages: « 1 [2]  All
  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!