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

Lower freq of syncs in periodic-perf-tests #1549

Merged
merged 1 commit into from Dec 20, 2023

Conversation

gargnitingoogle
Copy link
Collaborator

Description

This is for internal bug id 316284545 .
Currently in the periodic perf tests, we
fsync after each write (set through fsync=1)
in all write tests. This poses two problems.

  1. It underrates our write bandwidth as most of the runtime is spent in the sync calls and
    little in the actual write operation.
  2. This causes frequent sync which result in frequent object generations on GCS, which is
    throttled by GCS.

This change should address both these problems.

Link to the issue in case of a bug fix.

NA

Testing details

  1. Manual - NA
  2. Unit tests - NA
  3. Integration tests - NA

This is for internal bug id 316284545 .
Currently in the periodic perf tests, we
fsync after each write (set through fsync=1)
in all write tests. This poses two problems.

1. It underrates our write bandwidth as most
of the runtime is spent in the sync calls and
little in the actual write operation.
2. This causes frequent sync which result in
frequent object generations on GCS, which is
throttled by GCS.

This change should address both these problems.
@gargnitingoogle gargnitingoogle merged commit 0c3a5c6 into master Dec 20, 2023
8 checks passed
@gargnitingoogle gargnitingoogle deleted the gargnitin/reduce-sync-freuency branch December 20, 2023 11:29
gargnitingoogle added a commit that referenced this pull request Jan 4, 2024
This is for internal bug id 316284545 .
Currently in the periodic perf tests, we
fsync after each write (set through fsync=1)
in all write tests. This poses two problems.

1. It underrates our write bandwidth as most
of the runtime is spent in the sync calls and
little in the actual write operation.
2. This causes frequent sync which result in
frequent object generations on GCS, which is
throttled by GCS.

This change should address both these problems.
ashmeenkaur pushed a commit that referenced this pull request Jan 9, 2024
This is for internal bug id 316284545 .
Currently in the periodic perf tests, we
fsync after each write (set through fsync=1)
in all write tests. This poses two problems.

1. It underrates our write bandwidth as most
of the runtime is spent in the sync calls and
little in the actual write operation.
2. This causes frequent sync which result in
frequent object generations on GCS, which is
throttled by GCS.

This change should address both these problems.
ashmeenkaur pushed a commit that referenced this pull request Jan 10, 2024
This is for internal bug id 316284545 .
Currently in the periodic perf tests, we
fsync after each write (set through fsync=1)
in all write tests. This poses two problems.

1. It underrates our write bandwidth as most
of the runtime is spent in the sync calls and
little in the actual write operation.
2. This causes frequent sync which result in
frequent object generations on GCS, which is
throttled by GCS.

This change should address both these problems.
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.

None yet

2 participants