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
+122 -120
View File
@@ -1,213 +1,215 @@
{
"date": "2026-10-23T13:37:23+00:00",
"git": "4badd5a",
"date": "2026-10-23T14:13:55+00:00",
"git": "4b53e03",
"params": {
"mode": "direct",
"size_bytes": 131072,
"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.413,
"duration_s": 0.243,
"latency_ms": {
"p50": 72.1,
"p95": 114.3,
"p99": 142.9
"p50": 43.7,
"p95": 53.9,
"p99": 61.8
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 3172654,
"delta_tx_bytes": 183439,
"baseline_rss_bytes": 224358400,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 3172400,
"delta_tx_bytes": 183678,
"baseline_rss_bytes": 156618752,
"peak_memory_bytes": {
"rss": 224620544,
"heap_used": 49708416,
"external": 6066500,
"array_buffers": 2276156
"rss": 158715904,
"heap_used": 54191144,
"external": 9449376,
"array_buffers": 5653126
},
"delta_rss_bytes": 262144,
"delta_rss_bytes": 2097152,
"counters": {
"attachments.count_pending_direct": 27,
"attachments.insert_pending": 27,
"attachments.direct.initiated": 27,
"attachments.find_for_complete": 23,
"attachments.direct.verify_bytes": 3014656,
"attachments.decode.ms": 395.56102700001793,
"attachments.decode.ms": 76.10400699995807,
"attachments.mark_ready": 23,
"attachments.direct.completed": 23
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 3707235,
"delta_tx_bytes": 187659,
"baseline_rss_bytes": 255918080,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 3707187,
"delta_tx_bytes": 186902,
"baseline_rss_bytes": 156594176,
"peak_memory_bytes": {
"rss": 257359872,
"heap_used": 50212920,
"external": 8800241,
"array_buffers": 5009897
"rss": 157773824,
"heap_used": 53887688,
"external": 8848676,
"array_buffers": 5052846
},
"delta_rss_bytes": 1441792,
"delta_rss_bytes": 1179648,
"counters": {
"attachments.count_pending_direct": 23,
"attachments.insert_pending": 23,
"attachments.direct.initiated": 23,
"attachments.find_for_complete": 27,
"attachments.direct.verify_bytes": 3538944,
"attachments.decode.ms": 743.5491730003268,
"attachments.decode.ms": 104.25295099997311,
"attachments.mark_ready": 27,
"attachments.direct.completed": 27
}
}
],
"total_delta_rx_bytes": 6879889,
"total_delta_tx_bytes": 371098,
"rx_bytes_per_upload": 137598,
"tx_bytes_per_upload": 7422,
"max_delta_rss_bytes": 1441792
"total_delta_rx_bytes": 6879587,
"total_delta_tx_bytes": 370580,
"rx_bytes_per_upload": 137592,
"tx_bytes_per_upload": 7412,
"max_delta_rss_bytes": 2097152
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.434,
"duration_s": 0.277,
"latency_ms": {
"p50": 82.0,
"p95": 119.6,
"p99": 136.5
"p50": 44.7,
"p95": 89.7,
"p99": 95.4
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 3572309,
"delta_tx_bytes": 186069,
"baseline_rss_bytes": 224620544,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 3172155,
"delta_tx_bytes": 182647,
"baseline_rss_bytes": 158715904,
"peak_memory_bytes": {
"rss": 224751616,
"heap_used": 49977872,
"external": 6204496,
"array_buffers": 2414152
"rss": 159240192,
"heap_used": 54550992,
"external": 9440830,
"array_buffers": 5644565
},
"delta_rss_bytes": 131072,
"delta_rss_bytes": 524288,
"counters": {
"attachments.count_pending_direct": 24,
"attachments.insert_pending": 24,
"attachments.direct.initiated": 24,
"attachments.find_for_complete": 26,
"attachments.direct.verify_bytes": 3407872,
"attachments.decode.ms": 610.345750999928,
"attachments.mark_ready": 26,
"attachments.direct.completed": 26
"attachments.count_pending_direct": 27,
"attachments.insert_pending": 27,
"attachments.direct.initiated": 27,
"attachments.find_for_complete": 23,
"attachments.direct.verify_bytes": 3014656,
"attachments.decode.ms": 78.99052299992763,
"attachments.mark_ready": 23,
"attachments.direct.completed": 23
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 3306233,
"delta_tx_bytes": 183451,
"baseline_rss_bytes": 257359872,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 3706467,
"delta_tx_bytes": 186009,
"baseline_rss_bytes": 157396992,
"peak_memory_bytes": {
"rss": 262864896,
"heap_used": 53884096,
"external": 9284140,
"array_buffers": 5493796
"rss": 157790208,
"heap_used": 54303864,
"external": 8848749,
"array_buffers": 5052919
},
"delta_rss_bytes": 5505024,
"delta_rss_bytes": 393216,
"counters": {
"attachments.count_pending_direct": 26,
"attachments.insert_pending": 26,
"attachments.direct.initiated": 26,
"attachments.find_for_complete": 24,
"attachments.direct.verify_bytes": 3145728,
"attachments.decode.ms": 675.0934380001272,
"attachments.mark_ready": 24,
"attachments.direct.completed": 24
"attachments.count_pending_direct": 23,
"attachments.insert_pending": 23,
"attachments.direct.initiated": 23,
"attachments.find_for_complete": 27,
"attachments.direct.verify_bytes": 3538944,
"attachments.decode.ms": 96.7698720000626,
"attachments.mark_ready": 27,
"attachments.direct.completed": 27
}
}
],
"total_delta_rx_bytes": 6878542,
"total_delta_tx_bytes": 369520,
"rx_bytes_per_upload": 137571,
"tx_bytes_per_upload": 7390,
"max_delta_rss_bytes": 5505024
"total_delta_rx_bytes": 6878622,
"total_delta_tx_bytes": 368656,
"rx_bytes_per_upload": 137572,
"tx_bytes_per_upload": 7373,
"max_delta_rss_bytes": 524288
},
{
"uploads": 50,
"succeeded": 50,
"failed": 0,
"duration_s": 0.457,
"duration_s": 0.266,
"latency_ms": {
"p50": 69.4,
"p95": 160.1,
"p99": 168.0
"p50": 46.8,
"p95": 70.1,
"p99": 72.4
},
"replicas": [
{
"instance_id": "7c7cf67931e5",
"delta_rx_bytes": 3973401,
"delta_tx_bytes": 186806,
"baseline_rss_bytes": 224751616,
"instance_id": "90e2e1d73b23",
"delta_rx_bytes": 3839887,
"delta_tx_bytes": 184887,
"baseline_rss_bytes": 159240192,
"peak_memory_bytes": {
"rss": 231305216,
"heap_used": 52952680,
"external": 7971474,
"array_buffers": 4181130
"rss": 165924864,
"heap_used": 56746264,
"external": 9177437,
"array_buffers": 5381598
},
"delta_rss_bytes": 6553600,
"delta_rss_bytes": 6684672,
"counters": {
"attachments.count_pending_direct": 21,
"attachments.insert_pending": 21,
"attachments.direct.initiated": 21,
"attachments.find_for_complete": 29,
"attachments.direct.verify_bytes": 3801088,
"attachments.decode.ms": 828.3032130000065,
"attachments.mark_ready": 29,
"attachments.direct.completed": 29
"attachments.count_pending_direct": 22,
"attachments.insert_pending": 22,
"attachments.direct.initiated": 22,
"attachments.find_for_complete": 28,
"attachments.direct.verify_bytes": 3670016,
"attachments.decode.ms": 115.71663299991633,
"attachments.mark_ready": 28,
"attachments.direct.completed": 28
}
},
{
"instance_id": "ff9a363e52b1",
"delta_rx_bytes": 2904621,
"delta_tx_bytes": 180542,
"baseline_rss_bytes": 262864896,
"instance_id": "9bb9a19b4693",
"delta_rx_bytes": 3037580,
"delta_tx_bytes": 179535,
"baseline_rss_bytes": 157790208,
"peak_memory_bytes": {
"rss": 262995968,
"heap_used": 53715664,
"external": 7518119,
"array_buffers": 3727743
"rss": 159514624,
"heap_used": 55134936,
"external": 8340329,
"array_buffers": 4545339
},
"delta_rss_bytes": 131072,
"delta_rss_bytes": 1724416,
"counters": {
"attachments.count_pending_direct": 29,
"attachments.insert_pending": 29,
"attachments.direct.initiated": 29,
"attachments.find_for_complete": 21,
"attachments.direct.verify_bytes": 2752512,
"attachments.decode.ms": 312.0048850000021,
"attachments.mark_ready": 21,
"attachments.direct.completed": 21
"attachments.count_pending_direct": 28,
"attachments.insert_pending": 28,
"attachments.direct.initiated": 28,
"attachments.find_for_complete": 22,
"attachments.direct.verify_bytes": 2883584,
"attachments.decode.ms": 78.47993500009761,
"attachments.mark_ready": 22,
"attachments.direct.completed": 22
}
}
],
"total_delta_rx_bytes": 6878022,
"total_delta_tx_bytes": 367348,
"rx_bytes_per_upload": 137560,
"tx_bytes_per_upload": 7347,
"max_delta_rss_bytes": 6553600
"total_delta_rx_bytes": 6877467,
"total_delta_tx_bytes": 364422,
"rx_bytes_per_upload": 137549,
"tx_bytes_per_upload": 7288,
"max_delta_rss_bytes": 6684672
}
]
}