Configure buffers in pool #149

Closed
opened 2023-08-21 12:17:40 +00:00 by dkirillov · 1 comment
Collaborator

We have several buffers with constant size. Probably we should be able to configure it.

Describe the solution you'd like

Introduce new params for pool initialization that can be used to set buffer sizes for client/server cut buffering in PUT operations.

Describe alternatives you've considered

Don't change anything

Additional context

Using client cut in s3-gw performance tests shows downgrade up to 15%. Probably it's because for client side cut buffer size 64kb (for server side cut buffer 3mb)

We have [several](https://git.frostfs.info/TrueCloudLab/frostfs-sdk-go/src/commit/202412230a05d2f91acabdb59cc9f934ded6d2bb/pool/pool.go#L682) [buffers](https://git.frostfs.info/TrueCloudLab/frostfs-sdk-go/src/commit/202412230a05d2f91acabdb59cc9f934ded6d2bb/pool/pool.go#L751) with constant size. Probably we should be able to configure it. ## Describe the solution you'd like Introduce new params for pool initialization that can be used to set buffer sizes for client/server cut buffering in PUT operations. ## Describe alternatives you've considered Don't change anything ## Additional context Using client cut in s3-gw performance tests shows downgrade up to 15%. Probably it's because for client side cut buffer size 64kb (for server side cut buffer 3mb)
dkirillov added the
enhancement
pool
labels 2023-08-21 12:17:40 +00:00

Also it would be nice to see how performance is affected by the size of these buffers.

Also it would be nice to see how performance is affected by the size of these buffers.
dkirillov self-assigned this 2023-08-25 06:59:06 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-sdk-go#149
There is no content yet.