-
Notifications
You must be signed in to change notification settings - Fork 111
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
feat(pool): blobstore cluster size to be set during pool creation through grpc parameter value #1512
Conversation
hrudaya21
commented
Sep 22, 2023
•
edited
Loading
edited
- The default cluster size considered by SPDK is 4MiB.
- During pool creation, cluster_size can be taken from the gRPC and consider that value.
- The cluster_size can be consider with multiple of 1MiB.
- If the cluster_size passed not multiple of 1MiB, then default 4MiB cluster size will be considered for the pool creation.
d1a0ced
to
9c89ed4
Compare
Do We need to have any checks in the dataplane to limit the maximum cluster size, to ensure this field is not exploit with very high value in gRPC request ? |
9c89ed4
to
ba40aa3
Compare
Yes indeed, we have to. Probably something around 64Mb~128Mb ? @tiagolobocastro ? |
IIRC the default within the blobstore is 1GiB, maybe that could be the max, or is it probably too much? |
I think We can keep it 1GiB. As per the SPDK documentation, If the BlobStore Size is multiple of GBs, then cluster size can be 1GiB. |
76a2fdf
to
addbe42
Compare
addbe42
to
211e1da
Compare
bors try |
tryBuild failed: |
211e1da
to
bdba0dc
Compare
bors try |
tryBuild succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
bors merge |
1512: feat(pool): blobstore cluster size to be set during pool creation through grpc parameter value r=hrudaya21 a=hrudaya21 - The default cluster size considered by SPDK is 4MiB. - During pool creation, cluster_size can be taken from the gRPC and consider that value. - The cluster_size can be consider with multiple of 4MiB. - If the cluster_size passed not multiple of 1MiB, then default 4MiB cluster size will be considered for the pool creation. Co-authored-by: Hrudaya <hrudayaranjan.sahoo@datacore.com>
…ough grpc parameter value Signed-off-by: Hrudaya <hrudayaranjan.sahoo@datacore.com>
bdba0dc
to
ee2ce00
Compare
Canceled. |
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |