CPUmilvus 0.10.2 CPU resources are not released immediately after the comparison operation #3981
-
Stress test, call 100 times in a row for feature comparison |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Milvus loads vector data or index into memory according to the So it's not normal for worse performance to occur with 1-second sleep, can you describe it specifically? And how much data do you have? And what is the |
Beta Was this translation helpful? Give feedback.
-
You can refer this article: https://zhuanlan.zhihu.com/p/148274838 If you sent 100 search requests at same time, milvus will combine some of them to be one request. Assume each request time cost 600 ms, and milvus combine 30 requests into one, the combined request time cost is less than 30x600 ms, maybe 30x200 ms, so you see the average time is 200 ms. But if each request sleep for 1 second, milvus won't combine them, so the average time is 600 ms. |
Beta Was this translation helpful? Give feedback.
You can refer this article: https://zhuanlan.zhihu.com/p/148274838
All search request are put into a queue, processed one by one. For requests with same parameters, milvus could combine multiple requests into one request to execute. Before current request is finished, all other requests will be pending and waiting.
If you sent 100 search requests at same time, milvus will combine some of them to be one request. Assume each request time cost 600 ms, and milvus combine 30 requests into one, the combined request time cost is less than 30x600 ms, maybe 30x200 ms, so you see the average time is 200 ms.
But if each request sleep for 1 second, milvus won't combine them, so the average time is 60…