AWS vs Azure vs Google vs IBM vs Oracle - VMs Q4 2024 - 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": "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": [
"provider__name",
"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": "Amazon Web Services m7a.2xlarge",
"data": [
[
0,
2724.02
]
],
"grouping": false,
"color": "#f7981d"
},
{
"name": "Amazon Web Services m7g.2xlarge",
"data": [
[
1,
1778.1882352941177
]
],
"grouping": false,
"color": "#f7981d"
},
{
"name": "Amazon Web Services m7i.2xlarge",
"data": [
[
2,
1031.3165000000001
]
],
"grouping": false,
"color": "#f7981d"
},
{
"name": "Google Cloud c3-standard-8 Intel Sapphire Rapids",
"data": [
[
3,
731.7295
]
],
"grouping": false,
"color": "#55b400"
},
{
"name": "Google Cloud c3d-standard-8 AMD Genoa",
"data": [
[
4,
992.2104999999999
]
],
"grouping": false,
"color": "#55b400"
},
{
"name": "Google Cloud n2-standard-8 Intel Cascade Lake",
"data": [
[
5,
932.1175
]
],
"grouping": false,
"color": "#55b400"
},
{
"name": "Google Cloud n2d-standard-8 AMD Rome",
"data": [
[
6,
1275.085
]
],
"grouping": false,
"color": "#55b400"
},
{
"name": "Google Cloud n4-standard-8 Intel Emerald Rapids",
"data": [
[
7,
801.5755
]
],
"grouping": false,
"color": "#55b400"
},
{
"name": "Google Cloud t2d-standard-8 AMD Milan",
"data": [
[
8,
1929.1579487179488
]
],
"grouping": false,
"color": "#55b400"
},
{
"name": "IBM Cloud bx2-8x32",
"data": [
[
9,
590.2415789473685
]
],
"grouping": false,
"color": "#152935"
},
{
"name": "Microsoft Azure Standard_D8as_v5",
"data": [
[
10,
1274.751052631579
]
],
"grouping": false,
"color": "#55b3ff"
},
{
"name": "Microsoft Azure Standard_D8ps_v5",
"data": [
[
11,
2030.8105555555553
]
],
"grouping": false,
"color": "#55b3ff"
},
{
"name": "Microsoft Azure Standard_D8s_v5",
"data": [
[
12,
960.7694117647059
]
],
"grouping": false,
"color": "#55b3ff"
},
{
"name": "Oracle Cloud VM.Optimized3.Flex.4-32",
"data": [
[
13,
981.939
]
],
"grouping": false,
"color": "#FF0000"
},
{
"name": "Oracle Cloud VM.Standard.A1.Flex.8-32",
"data": [
[
14,
2027.3435000000002
]
],
"grouping": false,
"color": "#FF0000"
},
{
"name": "Oracle Cloud VM.Standard.E5.Flex.4-32",
"data": [
[
15,
1436.7073684210525
]
],
"grouping": false,
"color": "#FF0000"
}
],
"drilldown": {},
"tooltip": {
"enabled": true,
"useHTML": false,
"format": null,
"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": "160078657293547650646520763892479231720"
}