Bitcoin Forum
December 08, 2016, 04:08:36 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What is the Windows client doing right after the last new block is downloaded?  (Read 1192 times)
Bit_Happy
Legendary
*
Offline Offline

Activity: 1442


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.

15DYJpWJe9H1YofsNQbP9JEWWNn7XPZgbS
1481213316
Hero Member
*
Offline Offline

Posts: 1481213316

View Profile Personal Message (Offline)

Ignore
1481213316
Reply with quote  #2

1481213316
Report to moderator
1481213316
Hero Member
*
Offline Offline

Posts: 1481213316

View Profile Personal Message (Offline)

Ignore
1481213316
Reply with quote  #2

1481213316
Report to moderator
1481213316
Hero Member
*
Offline Offline

Posts: 1481213316

View Profile Personal Message (Offline)

Ignore
1481213316
Reply with quote  #2

1481213316
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481213316
Hero Member
*
Offline Offline

Posts: 1481213316

View Profile Personal Message (Offline)

Ignore
1481213316
Reply with quote  #2

1481213316
Report to moderator
1481213316
Hero Member
*
Offline Offline

Posts: 1481213316

View Profile Personal Message (Offline)

Ignore
1481213316
Reply with quote  #2

1481213316
Report to moderator
1481213316
Hero Member
*
Offline Offline

Posts: 1481213316

View Profile Personal Message (Offline)

Ignore
1481213316
Reply with quote  #2

1481213316
Report to moderator
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



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: 751


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 Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



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: 751


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 Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



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: 751


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 Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Bit_Happy
Legendary
*
Offline Offline

Activity: 1442


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.

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