-
Notifications
You must be signed in to change notification settings - Fork 41
Home
Pavel Paulau edited this page Feb 26, 2014
·
26 revisions
On Linux we set swappiness to 0 and disable transparent huge pages (THP). ext4 with no tuning is the most common file system.
We make no changes to Windows settings apart from disabling scheduled disk defragmentation (also called "Disk optimization").
We also enable parallel bucket and views compaction. Fragmentation threshold differs from default settings and depends on test case and workload.
- Disable auto-compaction.
- Create initial dataset, wait for persistence and TAP replication.
- Mutate (update) all items in dataset. Wait for persistence and TAP replication.
- Trigger bucket compaction, report total compaction throughput (MBytes/sec) measured as:
(data_disk_size_before_compaction - data_disk_size_after_compaction) / total_compaction_time
- Disable auto-compaction, disable automatic index updates.
- Create initial dataset, wait for persistence and TAP replication.
- Define design documents.
- Trigger index build, wait for indexing to finish.
- Mutate all items in dataset. Wait for persistence and TAP replication.
- Trigger index build, wait for indexing to finish.
- Trigger index compaction, report total compaction throughput (MBytes/sec) measured as:
(views_disk_size_before_compaction - views_disk_size_after_compaction) / total_compaction_time
- Disable auto-compaction.
- Create initial dataset, wait for persistence and TAP replication.
- Compact bucket.
- Define design documents.
- Trigger index build, report total indexing time in minutes.
- Disable auto-compaction, disable automatic index updates.
- Create initial dataset, wait for persistence and TAP replication.
- Compact bucket.
- Define design documents.
- Trigger index build, wait for indexing to finish.
- Double dataset. Wait for persistence and TAP replication.
- Compact bucket.
- Trigger index build, report total indexing time in minutes.
- Disable auto-compaction.
- Create initial dataset, wait for persistence and TAP replication.
- Create working set via update or read operations, wait for persistence and TAP replication.
- Compact bucket.
- Start read-heavy front-end workload with high cache miss ratio (~40%).
- Wait for predefined time (e.g., 1 hour), report average
ep_bg_fetchedper node.
- Disable auto-compaction.
- Disable persistence.
- Create initial dataset in memory.
- Start background read-only workload.
- Enable persistence, wait for persistence. Report average drain rate per node.
- Disable auto-compaction.
- Create initial dataset, wait for persistence and TAP replication.
- Compact bucket.
- Trigger cluster rebalance (IN/OUT), report total rebalance time.
- Disable auto-compaction.
- Create initial dataset, wait for persistence and TAP replication.
- Compact bucket.
- Define design documents.
- Trigger index build, wait for indexing to finish.
- Trigger cluster rebalance (IN/OUT), report total rebalance time.
- Create initial dataset, wait for persistence and TAP replication.
- Create working set via update or read operations, wait for persistence and TAP replication.
- Compact bucket.
- Start front-end workload.
- Trigger cluster rebalance (IN/OUT), report total rebalance time. Notice that there is a delay before and after rebalance.
- Create initial dataset, wait for persistence and TAP replication.
- Create working set via update or read operations, wait for persistence and TAP replication.
- Compact bucket.
- Define design documents.
- Trigger index build, wait for indexing to finish.
- Start front-end workload with view queries.
- Trigger cluster rebalance (IN/OUT), report total rebalance time. Notice that there is a delay before and after rebalance.
- Disable auto-compaction.
- Create initial dataset (source cluster), wait for persistence and TAP replication.
- Compact bucket.
- Initialize remote replication, report average replication rate.
- Create initial dataset (source cluster), wait for persistence and TAP replication.
- Initialize remote replication, wait for initial replication, wait for persistence and TAP replication.
- Compact bucket.
- Run front-end workload, report maximum XDCR lag and maximum XDCR queue length.