AWS m7i & m7i-flex Performance/Price - sysbench CPU
Go back to listSysbench CPU is an open source micro benchmark tool. Its job is to find the highest number of prime number during a certain amount of time. This test outputs a rate comparable across our different VMs and being a simple operation, it doesn't involve thread cooperation nor intensive RAM usage.
Our testing configuration use a number of thread equal to the CPU number and prime number under 64000. Here's a template of command line:
sysbench --threads=$cpu_number --time=60 cpu --cpu-max-prime=64000 run
{
"configuration": {
"chart": {
"type": "line",
"polar": false,
"zoomType": "",
"options3d": {},
"height": 600,
"width": null,
"margin": null,
"inverted": false,
"zooming": {}
},
"credits": {
"enabled": false
},
"title": {
"text": ""
},
"colorAxis": null,
"subtitle": {
"text": ""
},
"xAxis": {
"title": {
"text": [
"Number of thread"
],
"useHTML": false,
"style": {
"color": "#666666"
}
},
"categories": [
1,
2,
3,
4,
6,
8,
10,
12,
16,
24,
32,
48,
64
],
"lineWidth": 1,
"tickInterval": null,
"tickWidth": 1,
"tickLength": 10,
"tickPixelInterval": null,
"plotLines": null,
"labels": {
"enabled": true,
"format": null,
"formatter": "",
"style": {
"color": "#666666",
"cursor": "default",
"fontSize": "11px"
},
"useHTML": false,
"step": 0
},
"plotBands": null,
"visible": true,
"floor": null,
"ceiling": null,
"type": "linear",
"min": null,
"gridLineWidth": null,
"gridLineColor": null,
"minorTickInterval": null,
"minorTickWidth": 0,
"minTickInterval": null,
"startOnTick": true,
"endOnTick": null,
"tickmarkPlacement": null,
"units": null,
"minRange": null
},
"yAxis": {
"title": {
"text": [
"Op/sec"
],
"useHTML": false,
"style": {
"color": "#666666"
}
},
"categories": [],
"plotLines": null,
"plotBands": null,
"lineWidth": null,
"tickInterval": 200,
"tickLength": 10,
"floor": null,
"ceiling": null,
"gridLineInterpolation": null,
"gridLineWidth": 1,
"gridLineColor": "#CCC",
"min": 0,
"max": null,
"minorTickInterval": null,
"minorTickWidth": 0,
"minTickInterval": null,
"startOnTick": true,
"endOnTick": null,
"minRange": null,
"type": "linear",
"tickmarkPlacement": null,
"labels": {
"enabled": true,
"formatter": null,
"style": {
"color": "#666666",
"cursor": "default",
"fontSize": "11px"
},
"useHTML": false
}
},
"zAxis": {
"title": {
"text": "Op/sec"
}
},
"plotOptions": {
"series": {
"dataLabels": {
"enabled": false,
"format": null,
"distance": 30,
"align": "center",
"inside": null,
"allowOverlap": false,
"style": {
"fontSize": "11px"
}
},
"showInLegend": null,
"turboThreshold": 1000,
"stacking": "",
"groupPadding": 0,
"centerInCategory": false,
"findNearestPointBy": "x"
}
},
"navigator": {
"enabled": false
},
"scrollbar": {
"enabled": false
},
"rangeSelector": {
"enabled": false,
"inputEnabled": false
},
"legend": {
"enabled": true,
"maxHeight": null,
"align": "center",
"verticalAlign": "bottom",
"layout": "horizontal",
"width": null,
"margin": 12,
"reversed": false
},
"series": [
{
"name": "Amazon Web Services m7i-flex.8xlarge",
"verbose": "Amazon Web Services m7i-flex.8xlarge",
"data": [
{
"y": 250.97899999999998
},
{
"y": 500.60599999999994
},
{
"y": 750.494
},
{
"y": 1000.2379999999999
},
{
"y": 1480.275
},
{
"y": 1970.1979999999999
},
{
"y": 2415.142
},
{
"y": 2881.382
},
{
"y": 3701.125
},
{
"y": 3878.344
},
{
"y": 3969.2410000000004
},
{
"y": 4020.291
},
{
"y": 3974.9265
}
],
"color": "#f7981d",
"marker": {
"enabled": true
}
},
{
"name": "Amazon Web Services m7i.8xlarge",
"verbose": "Amazon Web Services m7i.8xlarge",
"data": [
{
"y": 242.619
},
{
"y": 484.892
},
{
"y": 719.2560000000001
},
{
"y": 957.9350000000001
},
{
"y": 1434.835
},
{
"y": 1869.98
},
{
"y": 2337.204
},
{
"y": 2801.007
},
{
"y": 3698.66
},
{
"y": 3762.853
},
{
"y": 4024.5827586206897
},
{
"y": 3862.233
},
{
"y": 4042.078666666667
}
],
"color": "#f7981d",
"marker": {
"enabled": true
}
}
],
"drilldown": {},
"tooltip": {
"enabled": true,
"useHTML": false,
"format": null,
"headerFormat": "",
"pointFormat": "<span style=\"color:{series.color}\">{series.name}</span>: <b>{point.y:.2f}</b><br/>",
"footerFormat": "",
"shared": false,
"outside": false,
"valueDecimals": null,
"split": false
},
"annotations": null
},
"hc_type": "chart",
"id": "217396745313505154642872848001063240741"
}