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

os/bluestore: precondition rocksdb/bluefs during mkfs #10814

Merged
merged 1 commit into from Sep 27, 2016

Conversation

liewegas
Copy link
Member

Write a bunc hof data through rocksdb so that we get all of the rocksdb log
files preallocated and there isn't a weird performance anamoly once the real
workload starts.

Simplify rocksdb options.

}
bl.append(bp);
string key1("a");
string key2("a");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same key?

@liewegas liewegas force-pushed the wip-bluestore-precondition branch 2 times, most recently from d39312a to 2546619 Compare August 24, 2016 17:35
@liewegas
Copy link
Member Author

dropped the options commit.. we'll need to be more careful there

@liewegas liewegas changed the title os/bluestore: precondition rocksdb/bluefs during mkfs; adjust rocksdb options os/bluestore: precondition rocksdb/bluefs during mkfs Aug 24, 2016
Write N bytes of garbage to the kv store on startup.  With rocksdb,
this ensures that our log files are preallocated.

This option needs to match up with the rocksdb tunables so that it
is enough data to start recycling log files.  For now, start with
128MB.

Signed-off-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit f4ce7f0 into ceph:master Sep 27, 2016
@liewegas liewegas deleted the wip-bluestore-precondition branch September 27, 2016 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants