-
Notifications
You must be signed in to change notification settings - Fork 36
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
Assign specific jobs to dedicated workers #564
base: develop
Are you sure you want to change the base?
Conversation
5dff3b3
to
ee50295
Compare
d0b5d83
to
e941b56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How have we tested this? Have we tested edge cases? Error cases?
Tested this on single and multi node machine. Tried to cover all the cases. Not sure if you have anything specific in mind |
@muursh One thing we might to check is when queue messages expire. |
Yeah for sure. We should also open issues for the bits we discussed. |
Have asked leo to also confirm on a few test cases |
c1b19e4
to
e0231ad
Compare
e0231ad
to
c410daa
Compare
7aaa0e6
to
7d58fdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of changes in the develop
zero_bin project structure, will take a look one more time after rebase of this pr on top of develop
@@ -78,7 +78,7 @@ num-bigint = "0.4.5" | |||
num-traits = "0.2.19" | |||
nunny = "0.2.1" | |||
once_cell = "1.19.0" | |||
paladin-core = "0.4.2" | |||
paladin-core = { git = "https://github.com/0xPolygonZero/paladin.git", branch = "main" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@muursh Are we going to release new paladin version or we are targeting github head?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afaik we will be releasing a new version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah we should release a new version. @temaniarpit27 is everything ready to go for a new release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we get actual benchmark measurements of this approach?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no we haven't benchmaked it yet
bba1ecb
to
276a259
Compare
276a259
to
a56887b
Compare
@Nashtare final review from your side pls |
// Mode to use for worker for setup (affinity or default) | ||
#[arg(long = "worker-run-mode", help_heading = WORKER_HELP_HEADING, value_enum, default_value = "default")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's default here? unified?
pub light_proof_runtime: Runtime, | ||
pub heavy_proof_runtime: Runtime, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor, but I'd remove _runtime
from the field names, as this is already implied by the parent
@@ -28,6 +32,11 @@ use crate::fs::generate_block_proof_file_name; | |||
use crate::ops; | |||
use crate::proof_types::GeneratedBlockProof; | |||
|
|||
pub struct ProofRuntime { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be nice to have some high-level explanation of this struct, i.e. its purpose to distinguish base STARK proof runtimes vs aggregation ones.
pub enum WorkerRunMode { | ||
Affinity, | ||
Default, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing doc, we don't really know what this does just looking at it
#507