Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 109 lines (104 sloc) 2.59 KB
#!/usr/bin/python
# -*- coding: utf-8 -*-
ClusterCapsule = {
"CacheMissRatio" : {
"CacheMissRate" : 3,
"ActiveResidentItemsRatio" : 25,
"recurrence": 10,
},
"ActiveReplicaResidentRatio" : {
"activeReplicaResidentRatio" : 4,
"activeResidentRatio" : 30,
"replicaResidentRatio" : 20,
},
"VBucketNumber" : {
"activeVbucketNumber" : 1024,
"replicaVBucketNumber" : 1024,
},
"RebalancePerformance" : {
"highBackfillRemaing" : 10000,
"tapNack" : 500,
},
"MemoryFragmentation" : {
"totalFragmentation" : {
"low" : 1073741824, # 1GB
"high" : 2147483648, # 2GB
}
},
"DiskPerformance" : {
"disk_del" : {
"low" : 1000, #1ms
"high" : 5000,
},
"disk_update" : {
"low" : 1000, #1ms
"high" : 5000,
},
"disk_insert" : {
"low" : 1000, #1ms
"high" : 5000,
},
"disk_commit" : {
"low" : 5000000,
"high" : 10000000,
},
},
"EPEnginePerformance" : {
"flusherState" : "running",
"flusherCompleted" : 0,
"avgItemLoadTime" : {
"low" : 100,
"high" : 500,
},
"avgItemWaitTime" : {
"low" : 100,
"high" : 500,
},
},
"XdrOpsPerformance" : {
"low" : 2,
"high" : 10,
}
}
NodeCapsule = {
"NumberOfConnection" : 1000,
"checkpointPerformance" : 1000,
}
DiskQueueCapsule = {
"DiskQueueDiagnosis" : {
"avgDiskQueueLength" : {
"disk_write_queue" : {"low" : 500000, "high" : 1000000 },
"recurrence" : 10,
},
"diskQueueTrend" : {
"low" : 0.01,
"high" : 0.25
},
},
"ReplicationTrend" : {
"percentage" : {
"low" : 10.0,
"high" : 30.0,
},
"number" : {
"low" : 50000,
"high" : 100000,
},
},
"DiskQueueDrainingAnalysis" : {
"activeDiskQueueDrainRate" : {
"drainRate" : 0,
"diskLength" : 100000,
},
"replicaDiskQueueDrainRate" : {
"drainRate" : 0,
"diskLength" : 100000,
},
},
"PerformanceDiagnosis_diskread" : {
"ep_bg_fetched" : 10,
"ep_cache_miss_rate" : 2,
"vb_active_resident_items_ratio" : 30,
"recurrence" : 10,
}
}