Bitcoin Forum
April 23, 2024, 09:27:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the Windows client doing right after the last new block is downloaded?  (Read 1435 times)
Bit_Happy (OP)
Legendary
*
Offline Offline

Activity: 2100
Merit: 1040


A Great Time to Start Something!


View Profile
May 29, 2011, 05:20:35 AM
 #1

Example 1) Today it was < 24 hours since last using the Bitcoin Windows client. The new block got downloaded quickly and "quietly".

Example 2) Yesterday I had not used the client for over 48 hours. Right after the last new block was downloaded the CPU usage and 'noise' rose to high levels for ~45 seconds or more (seemed like longer)  Note: My CPU is ~3.2ghz and normally runs < 10% load.

Mining is turned off, of course. I've noticed this CPU spike before at the end of downloading. Why?
My thoughts and feelings on the matter are not really important, but I can guarantee the typical "mainstream" user might not like their computer "making so much noise".

Is this a known issue, and are there plans to fix it? Thank you.

1713907660
Hero Member
*
Offline Offline

Posts: 1713907660

View Profile Personal Message (Offline)

Ignore
1713907660
Reply with quote  #2

1713907660
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713907660
Hero Member
*
Offline Offline

Posts: 1713907660

View Profile Personal Message (Offline)

Ignore
1713907660
Reply with quote  #2

1713907660
Report to moderator
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
May 29, 2011, 09:45:53 PM
 #2

Example 1) Today it was < 24 hours since last using the Bitcoin Windows client. The new block got downloaded quickly and "quietly".

Example 2) Yesterday I had not used the client for over 48 hours. Right after the last new block was downloaded the CPU usage and 'noise' rose to high levels for ~45 seconds or more (seemed like longer)  Note: My CPU is ~3.2ghz and normally runs < 10% load.

Mining is turned off, of course. I've noticed this CPU spike before at the end of downloading. Why?
My thoughts and feelings on the matter are not really important, but I can guarantee the typical "mainstream" user might not like their computer "making so much noise".

Is this a known issue, and are there plans to fix it? Thank you.

i've not experienced this
Matt Corallo
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


View Profile
May 29, 2011, 10:00:09 PM
 #3

Ive seen this occasionally, but never in any kind of reliable, reproduceable way.  I would love to fix it...anyway, I have a feeling it is because your node is doing something in terms of interactions with other nodes that is really confusing it somehow...Might you try trying to see what kind of activity bitcoin has via Process Explorer.  How much is being uploaded/downloaded, just one thread eating cpu, any kind of info that might be helpful.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
May 29, 2011, 10:03:00 PM
 #4

Ive seen this occasionally, but never in any kind of reliable, reproduceable way.  I would love to fix it...anyway, I have a feeling it is because your node is doing something in terms of interactions with other nodes that is really confusing it somehow...Might you try trying to see what kind of activity bitcoin has via Process Explorer.  How much is being uploaded/downloaded, just one thread eating cpu, any kind of info that might be helpful.

hey Matt, mewantsbitcoin was telling me you had a way to analyze port usage.  he helped me open up 8333 and i want to see if my bitcoin activity has ported to it.
Matt Corallo
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


View Profile
May 29, 2011, 10:15:15 PM
 #5

hey Matt, mewantsbitcoin was telling me you had a way to analyze port usage.  he helped me open up 8333 and i want to see if my bitcoin activity has ported to it.
You want to know what now?  If you want to know if your ports are properly forwarded, just see if bitcoin has >8 connections, as that means they are.  If you want to see what kind of bw each connection is using (like I asked the OP to), you can use Process Monitor.  If you want to see the total bw of this or that, I would suggest getting a good router that shows you that, though a simple iptables rule which does nothing will show you bw totals when you iptables -L -v, but there are no doubt much better ways of doing that...

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
May 29, 2011, 10:26:17 PM
 #6

hey Matt, mewantsbitcoin was telling me you had a way to analyze port usage.  he helped me open up 8333 and i want to see if my bitcoin activity has ported to it.
You want to know what now?  If you want to know if your ports are properly forwarded, just see if bitcoin has >8 connections, as that means they are.  If you want to see what kind of bw each connection is using (like I asked the OP to), you can use Process Monitor.  If you want to see the total bw of this or that, I would suggest getting a good router that shows you that, though a simple iptables rule which does nothing will show you bw totals when you iptables -L -v, but there are no doubt much better ways of doing that...

why is 8 the magic # for determining that?
Matt Corallo
Hero Member
*****
Offline Offline

Activity: 755
Merit: 515


View Profile
May 29, 2011, 10:38:57 PM
 #7

why is 8 the magic # for determining that?
Because, by default, the bitcoin client opens 8 outgoing connections.  If you have more than that, some number must be incoming, ie your ports are forwarded properly.  See MAX_OUTGOING_CONNECTIONS in net.cpp IIRC.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Bit_Happy (OP)
Legendary
*
Offline Offline

Activity: 2100
Merit: 1040


A Great Time to Start Something!


View Profile
May 30, 2011, 01:33:12 AM
 #8

Ive seen this occasionally, but never in any kind of reliable, reproduceable way.  I would love to fix it...anyway, I have a feeling it is because your node is doing something in terms of interactions with other nodes that is really confusing it somehow...Might you try trying to see what kind of activity bitcoin has via Process Explorer.  How much is being uploaded/downloaded, just one thread eating cpu, any kind of info that might be helpful.

I agree the "CPU spike" doesn't happen in a reliable, reproducible way, and just downloaded Process Explorer. Will offer more info if/when possible. Thanks for the tip about Process Explorer, Matt.

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!