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
+136 -134
View File
@@ -1,213 +1,215 @@
{
"date": "2026-10-23T13:38:14+00:00",
"git": "4badd5a",
"date": "2026-10-23T14:14:37+00:00",
"git": "4b53e03",
"params": {
"mode": "direct",
"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.981,
"duration_s": 3.609,
"latency_ms": {
"p50": 754.7,
"p95": 975.5,
"p99": 1146.0
"p50": 437.2,
"p95": 593.2,
"p99": 654.5
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 289415606,
"delta_tx_bytes": 315409,
"baseline_rss_bytes": 233209856,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 249509901,
"delta_tx_bytes": 287547,
"baseline_rss_bytes": 195174400,
"peak_memory_bytes": {
"rss": 348733440,
"heap_used": 50095696,
"external": 115684307,
"array_buffers": 111893963
"rss": 288415744,
"heap_used": 54409488,
"external": 117617657,
"array_buffers": 113825666
},
"delta_rss_bytes": 115523584,
"delta_rss_bytes": 93241344,
"counters": {
"attachments.count_pending_direct": 21,
"attachments.insert_pending": 21,
"attachments.direct.initiated": 21,
"attachments.find_for_complete": 29,
"attachments.direct.verify_bytes": 288882688,
"attachments.decode.ms": 7608.848039000004,
"attachments.mark_ready": 29,
"attachments.direct.completed": 29
"attachments.count_pending_direct": 25,
"attachments.insert_pending": 25,
"attachments.direct.initiated": 25,
"attachments.find_for_complete": 25,
"attachments.direct.verify_bytes": 249036800,
"attachments.decode.ms": 315.7971269999689,
"attachments.mark_ready": 25,
"attachments.direct.completed": 25
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 209597436,
"delta_tx_bytes": 298627,
"baseline_rss_bytes": 299487232,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 249507617,
"delta_tx_bytes": 274665,
"baseline_rss_bytes": 214401024,
"peak_memory_bytes": {
"rss": 330563584,
"heap_used": 51925192,
"external": 97861662,
"array_buffers": 94071318
"rss": 289472512,
"heap_used": 51210776,
"external": 78987756,
"array_buffers": 75194088
},
"delta_rss_bytes": 31076352,
"delta_rss_bytes": 75071488,
"counters": {
"attachments.count_pending_direct": 29,
"attachments.insert_pending": 29,
"attachments.direct.initiated": 29,
"attachments.find_for_complete": 21,
"attachments.direct.verify_bytes": 209190912,
"attachments.decode.ms": 5015.750637000019,
"attachments.mark_ready": 21,
"attachments.direct.completed": 21
"attachments.count_pending_direct": 25,
"attachments.insert_pending": 25,
"attachments.direct.initiated": 25,
"attachments.find_for_complete": 25,
"attachments.direct.verify_bytes": 249036800,
"attachments.decode.ms": 276.87352200000896,
"attachments.mark_ready": 25,
"attachments.direct.completed": 25
}
}
],
"total_delta_rx_bytes": 499013042,
"total_delta_tx_bytes": 614036,
"rx_bytes_per_upload": 9980261,
"tx_bytes_per_upload": 12281,
"max_delta_rss_bytes": 115523584
"total_delta_rx_bytes": 499017518,
"total_delta_tx_bytes": 562212,
"rx_bytes_per_upload": 9980350,
"tx_bytes_per_upload": 11244,
"max_delta_rss_bytes": 93241344
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 5.254,
"duration_s": 3.4,
"latency_ms": {
"p50": 900.1,
"p95": 1222.8,
"p99": 1235.6
"p50": 424.6,
"p95": 661.8,
"p99": 810.6
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 309427096,
"delta_tx_bytes": 332725,
"baseline_rss_bytes": 282836992,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 239528101,
"delta_tx_bytes": 272852,
"baseline_rss_bytes": 205328384,
"peak_memory_bytes": {
"rss": 370515968,
"heap_used": 52368944,
"external": 134179853,
"array_buffers": 130389509
"rss": 300617728,
"heap_used": 50698680,
"external": 103322639,
"array_buffers": 99528980
},
"delta_rss_bytes": 87678976,
"delta_rss_bytes": 95289344,
"counters": {
"attachments.count_pending_direct": 19,
"attachments.insert_pending": 19,
"attachments.direct.initiated": 19,
"attachments.find_for_complete": 31,
"attachments.direct.verify_bytes": 308805632,
"attachments.decode.ms": 8379.456620000012,
"attachments.mark_ready": 31,
"attachments.direct.completed": 31
"attachments.count_pending_direct": 26,
"attachments.insert_pending": 26,
"attachments.direct.initiated": 26,
"attachments.find_for_complete": 24,
"attachments.direct.verify_bytes": 239075328,
"attachments.decode.ms": 398.21300999989035,
"attachments.mark_ready": 24,
"attachments.direct.completed": 24
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 189647218,
"delta_tx_bytes": 291721,
"baseline_rss_bytes": 286593024,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 259470789,
"delta_tx_bytes": 262770,
"baseline_rss_bytes": 246329344,
"peak_memory_bytes": {
"rss": 338497536,
"heap_used": 53161904,
"external": 107895361,
"array_buffers": 104105017
"rss": 286126080,
"heap_used": 50197744,
"external": 84091903,
"array_buffers": 80294845
},
"delta_rss_bytes": 51904512,
"delta_rss_bytes": 39796736,
"counters": {
"attachments.count_pending_direct": 31,
"attachments.insert_pending": 31,
"attachments.direct.initiated": 31,
"attachments.find_for_complete": 19,
"attachments.direct.verify_bytes": 189267968,
"attachments.decode.ms": 3974.233845000039,
"attachments.mark_ready": 19,
"attachments.direct.completed": 19
"attachments.count_pending_direct": 24,
"attachments.insert_pending": 24,
"attachments.direct.initiated": 24,
"attachments.find_for_complete": 26,
"attachments.direct.verify_bytes": 258998272,
"attachments.decode.ms": 379.7956310000154,
"attachments.mark_ready": 26,
"attachments.direct.completed": 26
}
}
],
"total_delta_rx_bytes": 499074314,
"total_delta_tx_bytes": 624446,
"rx_bytes_per_upload": 9981486,
"tx_bytes_per_upload": 12489,
"max_delta_rss_bytes": 87678976
"total_delta_rx_bytes": 498998890,
"total_delta_tx_bytes": 535622,
"rx_bytes_per_upload": 9979978,
"tx_bytes_per_upload": 10712,
"max_delta_rss_bytes": 95289344
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 4.652,
"duration_s": 3.356,
"latency_ms": {
"p50": 692.0,
"p95": 1018.5,
"p99": 1133.8
"p50": 420.6,
"p95": 614.8,
"p99": 658.8
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 269445871,
"delta_tx_bytes": 269717,
"baseline_rss_bytes": 340176896,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 279414785,
"delta_tx_bytes": 268777,
"baseline_rss_bytes": 247771136,
"peak_memory_bytes": {
"rss": 342388736,
"heap_used": 50625080,
"external": 119380564,
"array_buffers": 100369674
"rss": 275718144,
"heap_used": 51721152,
"external": 97550522,
"array_buffers": 92510562
},
"delta_rss_bytes": 2211840,
"delta_rss_bytes": 27947008,
"counters": {
"attachments.count_pending_direct": 23,
"attachments.insert_pending": 23,
"attachments.direct.initiated": 23,
"attachments.find_for_complete": 27,
"attachments.direct.verify_bytes": 268959744,
"attachments.decode.ms": 7779.908828999905,
"attachments.mark_ready": 27,
"attachments.direct.completed": 27
"attachments.count_pending_direct": 22,
"attachments.insert_pending": 22,
"attachments.direct.initiated": 22,
"attachments.find_for_complete": 28,
"attachments.direct.verify_bytes": 278921216,
"attachments.decode.ms": 460.6956299999729,
"attachments.mark_ready": 28,
"attachments.direct.completed": 28
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 229550093,
"delta_tx_bytes": 268720,
"baseline_rss_bytes": 308649984,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 219572364,
"delta_tx_bytes": 248203,
"baseline_rss_bytes": 246599680,
"peak_memory_bytes": {
"rss": 354787328,
"heap_used": 52204288,
"external": 121315649,
"array_buffers": 100267973
"rss": 280461312,
"heap_used": 51774984,
"external": 90380520,
"array_buffers": 86585199
},
"delta_rss_bytes": 46137344,
"delta_rss_bytes": 33861632,
"counters": {
"attachments.count_pending_direct": 27,
"attachments.insert_pending": 27,
"attachments.direct.initiated": 27,
"attachments.find_for_complete": 23,
"attachments.direct.verify_bytes": 229113856,
"attachments.decode.ms": 6111.090034999943,
"attachments.mark_ready": 23,
"attachments.direct.completed": 23
"attachments.count_pending_direct": 28,
"attachments.insert_pending": 28,
"attachments.direct.initiated": 28,
"attachments.find_for_complete": 22,
"attachments.direct.verify_bytes": 219152384,
"attachments.decode.ms": 303.119670999964,
"attachments.mark_ready": 22,
"attachments.direct.completed": 22
}
}
],
"total_delta_rx_bytes": 498995964,
"total_delta_tx_bytes": 538437,
"rx_bytes_per_upload": 9979919,
"tx_bytes_per_upload": 10769,
"max_delta_rss_bytes": 46137344
"total_delta_rx_bytes": 498987149,
"total_delta_tx_bytes": 516980,
"rx_bytes_per_upload": 9979743,
"tx_bytes_per_upload": 10340,
"max_delta_rss_bytes": 33861632
}
]
}