AWS General purpose VMs history - sysbench CPU

Go back to list

Filter:


Sysbench 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": "bar", "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": [ "" ], "useHTML": false, "style": { "color": "#666666" } }, "categories": [ "flavor__name" ], "lineWidth": 1, "tickInterval": null, "tickWidth": 0, "tickLength": 10, "tickPixelInterval": null, "plotLines": null, "labels": { "enabled": false, "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": [ "Prime number per seconds<br>Higher is better" ], "useHTML": false, "style": { "color": "#666666" } }, "categories": null, "plotLines": null, "plotBands": null, "lineWidth": null, "tickInterval": null, "tickLength": 10, "floor": null, "ceiling": null, "gridLineInterpolation": null, "gridLineWidth": 1, "gridLineColor": "#CCC", "min": null, "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": "Prime number per seconds<br>Higher is better" } }, "plotOptions": { "series": { "dataLabels": { "enabled": true, "format": "{series.name}", "distance": 30, "align": "left", "inside": true, "allowOverlap": false, "style": { "fontSize": "17px" } }, "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": "m1.xlarge", "data": [ [ 0, 169.13799999999998 ] ], "color": "#f7981d", "grouping": false }, { "name": "m2.2xlarge", "data": [ [ 1, 219.202 ] ], "color": "#f7981d", "grouping": false }, { "name": "m3.xlarge", "data": [ [ 2, 208.2711111111111 ] ], "color": "#f7981d", "grouping": false }, { "name": "m4.xlarge", "data": [ [ 3, 219.70111111111112 ] ], "color": "#f7981d", "grouping": false }, { "name": "m5.xlarge", "data": [ [ 4, 264.233 ] ], "color": "#f7981d", "grouping": false }, { "name": "m5a.xlarge", "data": [ [ 5, 194.70875 ] ], "color": "#f7981d", "grouping": false }, { "name": "m5ad.xlarge", "data": [ [ 6, 194.49714285714285 ] ], "color": "#f7981d", "grouping": false }, { "name": "m5d.xlarge", "data": [ [ 7, 261.079 ] ], "color": "#f7981d", "grouping": false }, { "name": "m5n.xlarge", "data": [ [ 8, 261.4588888888889 ] ], "color": "#f7981d", "grouping": false }, { "name": "m5zn.xlarge", "data": [ [ 9, 380.43555555555554 ] ], "color": "#f7981d", "grouping": false }, { "name": "m6g.xlarge", "data": [ [ 10, 856.5709999999999 ] ], "color": "#f7981d", "grouping": false }, { "name": "m6gd.xlarge", "data": [ [ 11, 859.301 ] ], "color": "#f7981d", "grouping": false }, { "name": "m6i.xlarge", "data": [ [ 12, 480.86555555555555 ] ], "color": "#f7981d", "grouping": false } ], "drilldown": {}, "tooltip": { "enabled": true, "useHTML": false, "headerFormat": "", "pointFormat": "<span style=\"color:{series.color}\">{series.name}</span>: <b>{point.y:.1f} num/sec</b>", "footerFormat": "", "shared": false, "outside": false, "valueDecimals": null, "split": false }, "annotations": null }, "hc_type": "chart", "id": "227645348041259192291080641470501311539" }

Observations:

  • The Graviton CPU outperforms their x86 equivalent by 100%
  • The performance has evolved up to 300% for x86 and 530% for Arm.