AWS benchmark m6i vs m5 vs m5a - sysbench CPU



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": 500, "width": null, "margin": null, "inverted": false }, "credits": { "enabled": false }, "title": { "text": "" }, "colorAxis": null, "subtitle": { "text": "" }, "xAxis": { "title": { "text": [ "" ], "useHTML": false, "style": { "color": "#666666" } }, "categories": [ "provider__short_name", "flavor__name" ], "lineWidth": 1, "tickInterval": null, "tickWidth": 0, "tickLength": 10, "tickPixelInterval": null, "plotLines": null, "labels": { "enabled": false, "formatter": "", "style": { "color": "#666666", "cursor": "default", "fontSize": "11px" } }, "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 }, "yAxis": { "title": { "text": [ "Prime number per seconds<br>Higher is better" ], "useHTML": true, "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" } } }, "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, "style": { "fontSize": "17px" } }, "showInLegend": null, "turboThreshold": 1000, "stacking": "", "groupPadding": 0, "centerInCategory": false } }, "rangeSelector": { "enabled": false }, "legend": { "enabled": false, "align": "center", "verticalAlign": "bottom", "layout": "horizontal", "width": null, "margin": 12, "reversed": false }, "series": [ { "name": "AWS m5.2xlarge", "data": [ [ 0, 567.534 ] ], "color": "#f7981d", "grouping": false }, { "name": "AWS m5.large", "data": [ [ 1, 142.17000000000002 ] ], "color": "#f7981d", "grouping": false }, { "name": "AWS m5.xlarge", "data": [ [ 2, 284.072 ] ], "color": "#f7981d", "grouping": false }, { "name": "AWS m5a.2xlarge", "data": [ [ 3, 389.51 ] ], "color": "#f7981d", "grouping": false }, { "name": "AWS m5a.large", "data": [ [ 4, 97.388 ] ], "color": "#f7981d", "grouping": false }, { "name": "AWS m5a.xlarge", "data": [ [ 5, 194.4275 ] ], "color": "#f7981d", "grouping": false }, { "name": "AWS m6i.2xlarge", "data": [ [ 6, 960.5633333333333 ] ], "color": "#f7981d", "grouping": false }, { "name": "AWS m6i.large", "data": [ [ 7, 240.32124999999996 ] ], "color": "#f7981d", "grouping": false }, { "name": "AWS m6i.xlarge", "data": [ [ 8, 480.4416666666666 ] ], "color": "#f7981d", "grouping": false } ], "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 } }, "hc_type": "chart", "id": "140231080564272" }