Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miner: Winning PoSt Warmup #4824

Merged
merged 1 commit into from
Nov 12, 2020
Merged

miner: Winning PoSt Warmup #4824

merged 1 commit into from
Nov 12, 2020

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Nov 12, 2020

@magik6k
Copy link
Contributor Author

magik6k commented Nov 12, 2020

(works on my miner)

@Kubuxu
Copy link
Contributor

Kubuxu commented Nov 12, 2020

Tests failed in weird way.

@magik6k magik6k merged commit 6d3e59e into master Nov 12, 2020
@magik6k magik6k deleted the feat/winpost-warmup branch November 12, 2020 19:23
@f8-ptrk
Copy link
Contributor

f8-ptrk commented Nov 16, 2020

just a quick follwo up question

this prints

{"level":"info","ts":"2020-11-16T14:23:01.036Z","logger":"storageminer","caller":"storage/miner.go:261","msg":"GenerateWinningPoSt took 5.397016086s"}

on startup now?

@ffteng47
Copy link

same question.what does this mean i missed a block mined?
2020-11-22T15:13:00.724+0800 ^[[34mINFO^[[0m miner miner/warmup.go:75 winning PoSt warmup successful {"took": 4.693931498}

@f8-ptrk
Copy link
Contributor

f8-ptrk commented Nov 23, 2020

it just means that the miner performs a GPU warmup to avoid delays later when actually calculating a block @ffteng47

at least i think that is what it is doing

@karalabe
Copy link
Contributor

Doesn't work, or at least not fully

{"level":"info","ts":"2020-11-25T04:13:40.626+0200","logger":"miner","caller":"miner/miner.go:446","msg":"mined new block","cid":"bafy2bzaced3bwp3milnk3uf2pro7cjtpu7hezmsn5i2bm32tqaf2ysvvvywgq","height":"265466","miner":"f019100","parents":["f021525","f03367","f060805","f05315","f023198"],"took":64.479446023}
{"level":"warn","ts":"2020-11-25T04:13:40.626+0200","logger":"miner","caller":"miner/miner.go:448","msg":"CAUTION: block production took longer than the block delay. Your computer may not be fast enough to keep up","tMinerBaseInfo ":0.005823102,"tDrand ":0.00000008,"tPowercheck ":0.00000007,"tTicket ":0.001790605,"tSeed ":0.000002706,"tPending ":64.349789092,"tCreateBlock ":0.122040368}
{"level":"warn","ts":"2020-11-25T04:13:40.626+0200","logger":"miner","caller":"miner/miner.go:267","msg":"mined block in the past","block-time":"2020-11-25T04:13:00.000+0200","time":"2020-11-25T04:13:40.626+0200","difference":40.626337785}

@kwuaint
Copy link
Contributor

kwuaint commented Dec 5, 2020

The winning post's "tPending" consume too many time, since the GPU is running the window post simultaneously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants