Earlier this year, I pitted the $549 ASUSTOR Lockerstor 4 NAS against a homebrew $350 Raspberry Pi CM4 NAS, and came to the (rather obvious) conclusion that the Lockerstor was better in almost every regard.
Well, ASUSTOR introduced a new lower-cost NAS, the $329 Drivestor 4 Pro (model AS3304T—pictured above), and sent me one to review against the Raspberry Pi, since it make for a better matchup—both have 4-core ARM CPUs and a more limited PCI Express Gen 2 bus at their heart.
Around the same time, Radxa also sent me their new Taco—a less-than-$100 Raspberry Pi Compute Module 4 carrier board with 5x SATA ports, 1 Gbps and 2.5 Gbps Ethernet, an M.2 NVMe slot, and an M.2 A+E key slot. (The Taco will soon be available as part of a kit with a CM4 and case for around $200.)
The specs evenly matched, at least on paper:
But specs are one thing, measurable performance is another.
Disk performance
I benchmarked the raw disk access performance with fio
and iozone
to get a general idea of how fast the SATA drives would perform in RAID 5.
I chose RAID 5 because it taxes all the subsystems that are traditionally weak points on lower-powered ARM boards: the SoC’s CPU for parity calculations when writing, the PCIe bus for throughput, and the SATA controller.
Note: All the details of my test methodology and benchmarks I ran are documented in this GitHub issue.
Here’s how raw disk performance looks:
The Pi is faster for reads, but the ASUSTOR somehow wipes the floor on writes. Seeing that the Pi board also had space for an NVMe drive, I also set up bcache in Pi OS in writeback
mode to give the Pi a boost. And that definitely helped:
But NASes have to expose raw storage to a network—and that’s an area lower-end NASes often fall short, especially when they try saturating more than a 1 Gbps network connection!
Network and Samba performance
Indeed, both the Taco and the Drivestor seemed to struggle to saturate a 2.5 Gbps network connection in their default configuration—both using the Realtek driver built into the Linux kernel:
But I noticed if I switched the Pi over to Realtek’s own driver, I could fully saturate the connection:
I wrote up a blog post about the driver issue, but it seems like Realtek’s driver has some optimizations that offload a lot of the network packet processing from the CPU, or somehow saves on interrupts by a very significant amount.
But that network throughput doesn’t automatically translate to network file copy performance, as demonstrated in my next benchmark:
The benchmark above was a large file copy—the best case scenario. And both the Pi and the Drivestor were very consistent across multiple tests. When you tax a low power SoC with RAID 5 and set it up as the traffic cop between SATA and a 2.5G Ethernet port, it’s obvious the performance is more limited than more expensive Intel/AMD options.
Overclocking could help, but honestly, if you want to see supercharged network file copy performance, opt for a more expensive and better endowed NAS.
Load more 1001
Load more 1002
Load more 1003
Load more 1004
Load more 1005
Load more 1006
Load more 1007
Load more 1008
Load more 1009
Load more 1010
Load more 1011
Load more 1012
Load more 1013
Load more 1014
Load more 1015
Load more 1016
Load more 1017
Load more 1018
Load more 1019
Load more 1020
Load more 1021
Load more 1022
Load more 1023
Load more 1024
Load more 1025
Load more 1026
Load more 1027
Load more 1028
Load more 1029
Load more 1030
Load more 1031
Load more 1032
Load more 1033
Load more 1034
Load more 1035
Load more 1036
Load more 1037
Load more 1038
Load more 1039
Load more 1040
Load more 1041
Load more 1042
Load more 1043
Load more 1044
Load more 1045
Load more 1046
Load more 1047
Load more 1048
Load more 1049
Load more 1050
Load more 1051
Load more 1052
Load more 1053
Load more 1054
Load more 1055
Load more 1056
Load more 1057
Load more 1058
Load more 1059
Load more 1060
Load more 1061
Load more 1062
Load more 1063
Load more 1064
Load more 1065
Load more 1066
Load more 1067
Load more 1068
Load more 1069
Load more 1070
Load more 1071
Load more 1072
Load more 1073
Load more 1074
Load more 1075
Load more 1076
Load more 1077
Load more 1078
Load more 1079
Load more 1080
Load more 1081
Load more 1082
Load more 1083
Load more 1084
Load more 1085
Load more 1086
Load more 1087
Load more 1088
Load more 1089
Load more 1090
Load more 1091
Load more 1092
Load more 1093
Load more 1094
Load more 1095
Load more 1096
Load more 1097
Load more 1098
Load more 1099
Load more 1100
Load more 1101
Load more 1102
Load more 1103
Load more 1104
Load more 1105
Load more 1106
Load more 1107
Load more 1108
Load more 1109
Load more 1110
Load more 1111
Load more 1112
Load more 1113
Load more 1114
Load more 1115
Load more 1116
Load more 1117
Load more 1118
Load more 1119
Load more 1120
Load more 1121
Load more 1122
Load more 1123
Load more 1124
Load more 1125
Load more 1126
Load more 1127
Load more 1128
Load more 1129
Load more 1130
Load more 1131
Load more 1132
Load more 1133
Load more 1134
Load more 1135
Load more 1136
Load more 1137
Load more 1138
Load more 1139
Load more 1140
Load more 1141
Load more 1142
Load more 1143
Load more 1144
Load more 1145
Load more 1146
Load more 1147
Load more 1148
Load more 1149
Load more 1150
Load more 1151
Load more 1152
Load more 1153
Load more 1154
Load more 1155
Load more 1156
Load more 1157
Load more 1158
Load more 1159
Load more 1160
Load more 1161
Load more 1162
Load more 1163
Load more 1164
Load more 1165
Load more 1166
Load more 1167
Load more 1168
Load more 1169
Load more 1170
Load more 1171
Load more 1172
Load more 1173
Load more 1174
Load more 1175
Load more 1176
Load more 1177
Load more 1178
Load more 1179
Load more 1180
Load more 1181
Load more 1182
Load more 1183
Load more 1184
Load more 1185
Load more 1186
Load more 1187
Load more 1188
Load more 1189
Load more 1190
Load more 1191
Load more 1192
Load more 1193
Load more 1194
Load more 1195
Load more 1196
Load more 1197
Load more 1198
Load more 1199
Load more 1200
Load more 1201
Load more 1202
Load more 1203
Load more 1204
Load more 1205
Load more 1206
Load more 1207
Load more 1208
Load more 1209
Load more 1210
Load more 1211
Load more 1212
Load more 1213
Load more 1214
Load more 1215
Load more 1216
Load more 1217
Load more 1218
Load more 1219
Load more 1220
Load more 1221
Load more 1222
Load more 1223
Load more 1224
Load more 1225
Load more 1226
Load more 1227
Load more 1228
Load more 1229
Load more 1230
Load more 1231
Load more 1232
Load more 1233
Load more 1234
Load more 1235
Load more 1236
Load more 1237
Load more 1238
Load more 1239
Load more 1240
Load more 1241
Load more 1242
Load more 1243
Load more 1244
Load more 1245
Load more 1246
Load more 1247
Load more 1248
Load more 1249
Load more 1250
Load more 1251
Load more 1252
Load more 1253
Load more 1254
Load more 1255
Load more 1256
Load more 1257
Load more 1258
Load more 1259
Load more 1260
Load more 1261
Load more 1262
Load more 1263
Load more 1264
Load more 1265
Load more 1266
Load more 1267
Load more 1268
Load more 1269
Load more 1270
Load more 1271
Load more 1272
Load more 1273
Load more 1274
Load more 1275
Load more 1276
Load more 1277
Load more 1278
Load more 1279
Load more 1280
Load more 1281
Load more 1282
Load more 1283
Load more 1284
Load more 1285
Load more 1286
Load more 1287
Load more 1288
Load more 1289
Load more 1290
Load more 1291
Load more 1292
Load more 1293
Load more 1294
Load more 1295
Load more 1296
Load more 1297
Load more 1298
Load more 1299
Load more 1300
Load more 1301
Load more 1302
Load more 1303
Load more 1304
Load more 1305
Load more 1306
Load more 1307
Load more 1308
Load more 1309
Load more 1310
Load more 1311
Load more 1312
Load more 1313
Load more 1314
Load more 1315
Load more 1316
Load more 1317
Load more 1318
Load more 1319
Load more 1320
Load more 1321
Load more 1322
Load more 1323
Load more 1324
Load more 1325
Load more 1326
Load more 1327
Load more 1328
Load more 1329
Load more 1330
Load more 1331
Load more 1332
Load more 1333
Load more 1334
Load more 1335
Load more 1336
Load more 1337
Load more 1338
Load more 1339
Load more 1340
Load more 1341
Load more 1342
Load more 1343
Load more 1344
Load more 1345
Load more 1346
Load more 1347
Load more 1348
Load more 1349
Load more 1350
Load more 1351
Load more 1352
Load more 1353
Load more 1354
Load more 1355
Load more 1356
Load more 1357
Load more 1358
Load more 1359
Load more 1360
Load more 1361
Load more 1362
Load more 1363
Load more 1364
Load more 1365
Load more 1366
Load more 1367
Load more 1368
Load more 1369
Load more 1370
Load more 1371
Load more 1372
Load more 1373
Load more 1374
Load more 1375
Load more 1376
Load more 1377
Load more 1378
Load more 1379
Load more 1380
Load more 1381
Load more 1382
Load more 1383
Load more 1384
Load more 1385
Load more 1386
Load more 1387
Load more 1388
Load more 1389
Load more 1390
Load more 1391
Load more 1392
Load more 1393
Load more 1394
Load more 1395
Load more 1396
Load more 1397
Load more 1398
Load more 1399
Load more 1400
Load more 1401
Load more 1402
Load more 1403
Load more 1404
Load more 1405
Load more 1406
Load more 1407
Load more 1408
Load more 1409
Load more 1410
Load more 1411
Load more 1412
Load more 1413
Load more 1414
Load more 1415
Load more 1416
Load more 1417
Load more 1418
Load more 1419
Load more 1420
Load more 1421
Load more 1422
Load more 1423
Load more 1424
Load more 1425
Load more 1426
Load more 1427
Load more 1428
Load more 1429
Load more 1430
Load more 1431
Load more 1432
Load more 1433
Load more 1434
Load more 1435
Load more 1436
Load more 1437
Load more 1438
Load more 1439
Load more 1440
Load more 1441
Load more 1442
Load more 1443
Load more 1444
Load more 1445
Load more 1446
Load more 1447
Load more 1448
Load more 1449
Load more 1450
Load more 1451
Load more 1452
Load more 1453
Load more 1454
Load more 1455
Load more 1456
Load more 1457
Load more 1458
Load more 1459
Load more 1460
Load more 1461
Load more 1462
Load more 1463
Load more 1464
Load more 1465
Load more 1466
Load more 1467
Load more 1468
Load more 1469
Load more 1470
Load more 1471
Load more 1472
Load more 1473
Load more 1474
Load more 1475
Load more 1476
Load more 1477
Load more 1478
Load more 1479
Load more 1480
Load more 1481
Load more 1482
Load more 1483
Load more 1484
Load more 1485
Load more 1486
Load more 1487
Load more 1488
Load more 1489
Load more 1490
Load more 1491
Load more 1492
Load more 1493
Load more 1494
Load more 1495
Load more 1496
Load more 1497
Load more 1498
Load more 1499
Load more 1500