Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.82k stars 2.03k forks source link

[Bug] lookup qualities daramatically increased after upgrading to 1.3.1 #10810

Closed mmitech closed 2 years ago

mmitech commented 2 years ago

What happened?

Qualities lookup dramatically increased after upgrading to 1.3.1 it went from an average of less than 5 secs to more than 15 secs

image

This is also costing me a lot of stale partials on the pool side

image

Version

1.3.1

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

No response

mmitech commented 2 years ago

OK so changing the config values as mentioned here https://github.com/Chia-Network/chia-blockchain/issues/10701#issuecomment-1066030908 solved the issue for me

mmitech commented 2 years ago

Still getting a lot of stales, the average lookup time is down now but I am seeing way worst times than before.

mmitech commented 2 years ago

I downgraded back to 1.2.11, seems like 1.3.x is not production-ready yet.

stefan-lange commented 2 years ago

How many connections to other full nodes do you have? If the number is high, you could reduce them to 10 or 20. (I have 10 and it is working great)

mmitech commented 2 years ago

I had ~ 80, what is the logic behind reducing them if this worked perfectly before?

stefan-lange commented 2 years ago

The connection handling in chia seems to be, let's say, not efficent enough. On weaker systems (like the RPI) this will cause stales, if there are many transactions in the network. After the first 'duststorm' I played with this setting and it was/is the solution for me. Had no more stales since then.

loppefaaret commented 2 years ago

Still getting a lot of stales, the average lookup time is down now but I am seeing way worst times than before.

If you are on Keybase, please DM me @pyl i would love to get more into this - as 1.3.1 should contain some harvester changes that solved another issue in 1.3.0 How many total plots do you have on the harvester ?

mmitech commented 2 years ago

Still getting a lot of stales, the average lookup time is down now but I am seeing way worst times than before.

If you are on Keybase, please DM me @pyl i would love to get more into this - as 1.3.1 should contain some harvester changes that solved another issue in 1.3.0 How many total plots do you have on the harvester ?

I DMed you on Keybase, I have between 25K and 30K plots on my harvesters.

github-actions[bot] commented 2 years ago

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

mmitech commented 2 years ago

bad farming performance still persist, as confirmed by the chia team as well

xdustinface commented 2 years ago

@mmitech Can you please try https://github.com/Chia-Network/chia-blockchain/pull/11204

mmitech commented 2 years ago

@mmitech Can you please try #11204

I will try it this week, I am dealing with wallet issues now :D

github-actions[bot] commented 2 years ago

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

github-actions[bot] commented 2 years ago

This issue was automatically closed because it has been flagged as stale, and subsequently passed 7 days with no further activity from the submitter or watchers.