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

Snapshot taking too much cpu time #3079

Closed
chzhuo opened this issue Jan 12, 2021 · 1 comment
Closed

Snapshot taking too much cpu time #3079

chzhuo opened this issue Jan 12, 2021 · 1 comment
Assignees

Comments

@chzhuo
Copy link

chzhuo commented Jan 12, 2021

Filing M3 Issues

M3 Version: v1.0.0

Performance issues

flame graph
image

namespace config:
curl http://192.168.35.57:7201/api/v1/services/m3db/namespace

{
	"registry": {
		"namespaces": {
			"default": {
				"bootstrapEnabled": true,
				"flushEnabled": true,
				"writesToCommitLog": true,
				"cleanupEnabled": true,
				"repairEnabled": false,
				"retentionOptions": {
					"retentionPeriodNanos": "604800000000000",
					"blockSizeNanos": "7200000000000",
					"bufferFutureNanos": "120000000000",
					"bufferPastNanos": "600000000000",
					"blockDataExpiry": true,
					"blockDataExpiryAfterNotAccessPeriodNanos": "300000000000",
					"futureRetentionPeriodNanos": "0"
				},
				"snapshotEnabled": true,
				"indexOptions": {
					"enabled": true,
					"blockSizeNanos": "7200000000000"
				},
				"schemaOptions": null,
				"coldWritesEnabled": false,
				"runtimeOptions": null,
				"cacheBlocksOnRetrieve": false,
				"aggregationOptions": {
					"aggregations": [{
						"aggregated": false,
						"attributes": null
					}]
				},
				"stagingState": {
					"status": "UNKNOWN"
				},
				"extendedOptions": null
			}
		}
	}
}
@gibbscullen gibbscullen self-assigned this Jan 13, 2021
@gibbscullen
Copy link
Collaborator

@chzhuo -- The snapshot will take a significant amount of CPU time as it is (snapshotting every few mins); however, the complexity of this is dependent on your particular workload.

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

No branches or pull requests

2 participants