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.
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.
things started working better than before especially when it's syncing related issue.
Please elaborate on what issue you had syncing Bitcoin Core.