lab4: бенчмарк — пользователь на поток, худший вход, классификация отказов

This commit is contained in:
2026-10-23 17:18:54 +03:00
parent 4b53e03fd6
commit 9caa0313be
17 changed files with 1343 additions and 877 deletions
+98 -94
View File
@@ -1,201 +1,205 @@
{
"date": "2026-10-23T13:37:55+00:00",
"git": "4badd5a",
"date": "2026-10-23T14:14:21+00:00",
"git": "4b53e03",
"params": {
"mode": "proxy",
"size_bytes": 9961472,
"concurrency": 10,
"uploads_per_worker": 5,
"repeat": 3
"repeat": 3,
"users": 10,
"image": null
},
"host": {
"nproc": 8,
"mem_total_bytes": 16538955776
},
"api_container_limits_nanocpus_memory": [
"1500000000 805306368",
"1500000000 805306368"
"1500000000 1073741824",
"1500000000 1073741824"
],
"repeats": [
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 4.75,
"duration_s": 2.855,
"latency_ms": {
"p50": 586.5,
"p95": 851.2,
"p99": 924.0
"p50": 254.6,
"p95": 441.6,
"p99": 469.3
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 249636366,
"delta_tx_bytes": 249800729,
"baseline_rss_bytes": 242110464,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 249684122,
"delta_tx_bytes": 249819648,
"baseline_rss_bytes": 194351104,
"peak_memory_bytes": {
"rss": 302125056,
"heap_used": 50330056,
"external": 79829666,
"array_buffers": 76039322
"rss": 243703808,
"heap_used": 49360872,
"external": 68770063,
"array_buffers": 64974750
},
"delta_rss_bytes": 60014592,
"delta_rss_bytes": 49352704,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7776.616332000063,
"attachments.decode.ms": 317.76610400003847,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 249671660,
"delta_tx_bytes": 249815904,
"baseline_rss_bytes": 279318528,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 249687515,
"delta_tx_bytes": 249813144,
"baseline_rss_bytes": 212090880,
"peak_memory_bytes": {
"rss": 335978496,
"heap_used": 50779240,
"external": 99370165,
"array_buffers": 91157282
"rss": 245616640,
"heap_used": 49395480,
"external": 62511358,
"array_buffers": 58716046
},
"delta_rss_bytes": 56659968,
"delta_rss_bytes": 33525760,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7460.193873999873,
"attachments.decode.ms": 328.639833000052,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 499308026,
"total_delta_tx_bytes": 499616633,
"rx_bytes_per_upload": 9986161,
"tx_bytes_per_upload": 9992333,
"max_delta_rss_bytes": 60014592
"total_delta_rx_bytes": 499371637,
"total_delta_tx_bytes": 499632792,
"rx_bytes_per_upload": 9987433,
"tx_bytes_per_upload": 9992656,
"max_delta_rss_bytes": 49352704
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 4.661,
"duration_s": 2.859,
"latency_ms": {
"p50": 656.5,
"p95": 888.8,
"p99": 959.9
"p50": 218.9,
"p95": 429.5,
"p99": 473.5
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 249639519,
"delta_tx_bytes": 249795892,
"baseline_rss_bytes": 281255936,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 249691287,
"delta_tx_bytes": 249848369,
"baseline_rss_bytes": 243703808,
"peak_memory_bytes": {
"rss": 326279168,
"heap_used": 49159264,
"external": 96056449,
"array_buffers": 80803439
"rss": 247758848,
"heap_used": 49779768,
"external": 74267235,
"array_buffers": 70471924
},
"delta_rss_bytes": 45023232,
"delta_rss_bytes": 4055040,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7871.141386000323,
"attachments.decode.ms": 323.61892599996645,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 249675448,
"delta_tx_bytes": 249820400,
"baseline_rss_bytes": 305864704,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 249684697,
"delta_tx_bytes": 249842962,
"baseline_rss_bytes": 204165120,
"peak_memory_bytes": {
"rss": 325267456,
"heap_used": 49459520,
"external": 94883105,
"array_buffers": 91092761
"rss": 244056064,
"heap_used": 50327648,
"external": 69652092,
"array_buffers": 65858420
},
"delta_rss_bytes": 19402752,
"delta_rss_bytes": 39890944,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7501.386025000014,
"attachments.decode.ms": 374.5309960000159,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
}
}
],
"total_delta_rx_bytes": 499314967,
"total_delta_tx_bytes": 499616292,
"rx_bytes_per_upload": 9986299,
"tx_bytes_per_upload": 9992326,
"max_delta_rss_bytes": 45023232
"total_delta_rx_bytes": 499375984,
"total_delta_tx_bytes": 499691331,
"rx_bytes_per_upload": 9987520,
"tx_bytes_per_upload": 9993827,
"max_delta_rss_bytes": 39890944
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 4.725,
"duration_s": 2.833,
"latency_ms": {
"p50": 642.3,
"p95": 1021.8,
"p99": 1063.9
"p50": 232.3,
"p95": 371.9,
"p99": 484.0
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 249673539,
"delta_tx_bytes": 249815151,
"baseline_rss_bytes": 301092864,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 249693755,
"delta_tx_bytes": 249824387,
"baseline_rss_bytes": 213168128,
"peak_memory_bytes": {
"rss": 327974912,
"heap_used": 49201912,
"external": 94750424,
"array_buffers": 90960080
"rss": 233091072,
"heap_used": 49724808,
"external": 74286513,
"array_buffers": 58931141
},
"delta_rss_bytes": 26882048,
"delta_rss_bytes": 19922944,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7622.966706999927,
"attachments.decode.ms": 245.89502999989782,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
"attachments.upload.created": 25,
"attachments.claim_expired": 1
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 249648565,
"delta_tx_bytes": 249815222,
"baseline_rss_bytes": 296456192,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 249643327,
"delta_tx_bytes": 249823027,
"baseline_rss_bytes": 214241280,
"peak_memory_bytes": {
"rss": 307523584,
"heap_used": 50677504,
"external": 85057449,
"array_buffers": 81100125
"rss": 245899264,
"heap_used": 50003816,
"external": 74661871,
"array_buffers": 52933830
},
"delta_rss_bytes": 11067392,
"delta_rss_bytes": 31657984,
"counters": {
"attachments.insert_pending": 25,
"attachments.proxy.bytes_in": 249036800,
"attachments.decode.ms": 7061.106053000025,
"attachments.decode.ms": 375.14921199998935,
"attachments.proxy.bytes_to_s3": 249036800,
"attachments.mark_ready": 25,
"attachments.upload.created": 25
"attachments.upload.created": 25,
"attachments.claim_expired": 1
}
}
],
"total_delta_rx_bytes": 499322104,
"total_delta_tx_bytes": 499630373,
"rx_bytes_per_upload": 9986442,
"tx_bytes_per_upload": 9992607,
"max_delta_rss_bytes": 26882048
"total_delta_rx_bytes": 499337082,
"total_delta_tx_bytes": 499647414,
"rx_bytes_per_upload": 9986742,
"tx_bytes_per_upload": 9992948,
"max_delta_rss_bytes": 31657984
}
]
}