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
+143 -142
View File
@@ -1,214 +1,215 @@
{
"date": "2026-10-23T13:37:36+00:00",
"git": "4badd5a",
"date": "2026-10-23T14:14:08+00:00",
"git": "4b53e03",
"params": {
"mode": "direct",
"size_bytes": 1048576,
"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": 0.97,
"duration_s": 0.499,
"latency_ms": {
"p50": 159.8,
"p95": 252.1,
"p99": 272.0
"p50": 75.9,
"p95": 103.8,
"p99": 130.9
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 31673930,
"delta_tx_bytes": 203789,
"baseline_rss_bytes": 233545728,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 27463858,
"delta_tx_bytes": 202183,
"baseline_rss_bytes": 178360320,
"peak_memory_bytes": {
"rss": 236560384,
"heap_used": 54194600,
"external": 35034666,
"array_buffers": 31244322
"rss": 201052160,
"heap_used": 56368848,
"external": 36994298,
"array_buffers": 33183530
},
"delta_rss_bytes": 3014656,
"counters": {
"attachments.count_pending_direct": 20,
"attachments.insert_pending": 20,
"attachments.direct.initiated": 20,
"attachments.find_for_complete": 30,
"attachments.direct.verify_bytes": 31457280,
"attachments.decode.ms": 1724.6966849999153,
"attachments.mark_ready": 30,
"attachments.direct.completed": 30
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 21149099,
"delta_tx_bytes": 198366,
"baseline_rss_bytes": 268025856,
"peak_memory_bytes": {
"rss": 269074432,
"heap_used": 54788360,
"external": 25616254,
"array_buffers": 21825910
},
"delta_rss_bytes": 1048576,
"counters": {
"attachments.count_pending_direct": 30,
"attachments.insert_pending": 30,
"attachments.direct.initiated": 30,
"attachments.find_for_complete": 20,
"attachments.direct.verify_bytes": 20971520,
"attachments.decode.ms": 688.2958910000743,
"attachments.mark_ready": 20,
"attachments.direct.completed": 20
}
}
],
"total_delta_rx_bytes": 52823029,
"total_delta_tx_bytes": 402155,
"rx_bytes_per_upload": 1056461,
"tx_bytes_per_upload": 8043,
"max_delta_rss_bytes": 3014656
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.9,
"latency_ms": {
"p50": 141.1,
"p95": 244.2,
"p99": 270.7
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 27465799,
"delta_tx_bytes": 191310,
"baseline_rss_bytes": 236560384,
"peak_memory_bytes": {
"rss": 236953600,
"heap_used": 54493200,
"external": 30789946,
"array_buffers": 26999410
},
"delta_rss_bytes": 393216,
"delta_rss_bytes": 22691840,
"counters": {
"attachments.count_pending_direct": 24,
"attachments.insert_pending": 24,
"attachments.direct.initiated": 24,
"attachments.find_for_complete": 26,
"attachments.direct.verify_bytes": 27262976,
"attachments.decode.ms": 1384.4109410000383,
"attachments.decode.ms": 193.75719499992556,
"attachments.mark_ready": 26,
"attachments.direct.completed": 26
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 25357866,
"delta_tx_bytes": 191558,
"baseline_rss_bytes": 269074432,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 25359117,
"delta_tx_bytes": 199445,
"baseline_rss_bytes": 184389632,
"peak_memory_bytes": {
"rss": 270516224,
"heap_used": 54339648,
"external": 30902899,
"array_buffers": 27112555
"rss": 192516096,
"heap_used": 53666840,
"external": 28723916,
"array_buffers": 24917693
},
"delta_rss_bytes": 1441792,
"delta_rss_bytes": 8126464,
"counters": {
"attachments.count_pending_direct": 26,
"attachments.insert_pending": 26,
"attachments.direct.initiated": 26,
"attachments.find_for_complete": 24,
"attachments.direct.verify_bytes": 25165824,
"attachments.decode.ms": 1058.1902670000563,
"attachments.decode.ms": 152.91470899997512,
"attachments.mark_ready": 24,
"attachments.direct.completed": 24
}
}
],
"total_delta_rx_bytes": 52823665,
"total_delta_tx_bytes": 382868,
"rx_bytes_per_upload": 1056473,
"tx_bytes_per_upload": 7657,
"max_delta_rss_bytes": 1441792
"total_delta_rx_bytes": 52822975,
"total_delta_tx_bytes": 401628,
"rx_bytes_per_upload": 1056460,
"tx_bytes_per_upload": 8033,
"max_delta_rss_bytes": 22691840
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.969,
"duration_s": 0.528,
"latency_ms": {
"p50": 154.4,
"p95": 274.5,
"p99": 328.1
"p50": 75.6,
"p95": 106.0,
"p99": 124.3
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 24307994,
"delta_tx_bytes": 188454,
"baseline_rss_bytes": 236953600,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 26408075,
"delta_tx_bytes": 188162,
"baseline_rss_bytes": 201052160,
"peak_memory_bytes": {
"rss": 236953600,
"heap_used": 53822176,
"external": 29735853,
"array_buffers": 25943144
"rss": 209047552,
"heap_used": 59470168,
"external": 43348610,
"array_buffers": 39528755
},
"delta_rss_bytes": 0,
"delta_rss_bytes": 7995392,
"counters": {
"attachments.count_pending_direct": 27,
"attachments.insert_pending": 27,
"attachments.direct.initiated": 27,
"attachments.find_for_complete": 23,
"attachments.direct.verify_bytes": 24117248,
"attachments.decode.ms": 1452.813747000182,
"attachments.mark_ready": 23,
"attachments.direct.completed": 23
"attachments.count_pending_direct": 25,
"attachments.insert_pending": 25,
"attachments.direct.initiated": 25,
"attachments.find_for_complete": 25,
"attachments.direct.verify_bytes": 26214400,
"attachments.decode.ms": 129.85774100001436,
"attachments.mark_ready": 25,
"attachments.direct.completed": 25
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 28514629,
"delta_tx_bytes": 189117,
"baseline_rss_bytes": 270516224,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 26411366,
"delta_tx_bytes": 196214,
"baseline_rss_bytes": 189214720,
"peak_memory_bytes": {
"rss": 271433728,
"heap_used": 54290488,
"external": 34042295,
"array_buffers": 30251951
"rss": 206053376,
"heap_used": 55771464,
"external": 29767218,
"array_buffers": 25958693
},
"delta_rss_bytes": 917504,
"delta_rss_bytes": 16838656,
"counters": {
"attachments.claim_expired": 1,
"attachments.count_pending_direct": 23,
"attachments.insert_pending": 23,
"attachments.direct.initiated": 23,
"attachments.find_for_complete": 27,
"attachments.direct.verify_bytes": 28311552,
"attachments.decode.ms": 1425.6747240000404,
"attachments.mark_ready": 27,
"attachments.direct.completed": 27
"attachments.count_pending_direct": 25,
"attachments.insert_pending": 25,
"attachments.direct.initiated": 25,
"attachments.find_for_complete": 25,
"attachments.direct.verify_bytes": 26214400,
"attachments.decode.ms": 134.29743300002883,
"attachments.mark_ready": 25,
"attachments.direct.completed": 25
}
}
],
"total_delta_rx_bytes": 52822623,
"total_delta_tx_bytes": 377571,
"rx_bytes_per_upload": 1056452,
"tx_bytes_per_upload": 7551,
"max_delta_rss_bytes": 917504
"total_delta_rx_bytes": 52819441,
"total_delta_tx_bytes": 384376,
"rx_bytes_per_upload": 1056389,
"tx_bytes_per_upload": 7688,
"max_delta_rss_bytes": 16838656
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.499,
"latency_ms": {
"p50": 71.8,
"p95": 96.8,
"p99": 111.2
},
"replicas": [
{
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 25354317,
"delta_tx_bytes": 184357,
"baseline_rss_bytes": 190746624,
"peak_memory_bytes": {
"rss": 192581632,
"heap_used": 53105536,
"external": 22274012,
"array_buffers": 18470057
},
"delta_rss_bytes": 1835008,
"counters": {
"attachments.count_pending_direct": 26,
"attachments.insert_pending": 26,
"attachments.direct.initiated": 26,
"attachments.find_for_complete": 24,
"attachments.direct.verify_bytes": 25165824,
"attachments.decode.ms": 120.24603700000443,
"attachments.mark_ready": 24,
"attachments.direct.completed": 24
}
},
{
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 27462079,
"delta_tx_bytes": 189327,
"baseline_rss_bytes": 206053376,
"peak_memory_bytes": {
"rss": 206053376,
"heap_used": 53308280,
"external": 30828871,
"array_buffers": 23867652
},
"delta_rss_bytes": 0,
"counters": {
"attachments.count_pending_direct": 24,
"attachments.insert_pending": 24,
"attachments.direct.initiated": 24,
"attachments.find_for_complete": 26,
"attachments.direct.verify_bytes": 27262976,
"attachments.decode.ms": 152.01662400003988,
"attachments.mark_ready": 26,
"attachments.direct.completed": 26
}
}
],
"total_delta_rx_bytes": 52816396,
"total_delta_tx_bytes": 373684,
"rx_bytes_per_upload": 1056328,
"tx_bytes_per_upload": 7474,
"max_delta_rss_bytes": 1835008
}
]
}