Questions for not having a performance as expected #5986
Replies: 4 comments 43 replies
-
This item default value is "false", set it to "true", milvus can hold data in GPU memory.
|
Beta Was this translation helpful? Give feedback.
-
To improve QPS, you also can use multi-threads in client to send search request.
I run this script on my machine, with
My machine environment:
|
Beta Was this translation helpful? Give feedback.
-
Ok, let compare the log.
On my machine, each insert action(10000 vectors) cost 4 ~ 5 milliseconds. (the metadata backend is SQLite) For each search request, the debug.log will print these lines:
On my machine, each search action(nq=1, k=20) cost 4 ~ 8 milliseconds |
Beta Was this translation helpful? Give feedback.
-
And for the poor insertion performance, you can try disable WAL in the server_config.yaml:
|
Beta Was this translation helpful? Give feedback.
-
Hello,
We are testing milvus to implement it into our project, as we're now using Faiss. But Milvus performs strangely according to my test result. The QPS is much slower than Faiss. For the proof of concept, I am using a dataset of 4 million vectors with 128dim. The QPS for nq = 1 in this situation is about 120, where as Faiss goes up to 644. The details of my concept is as follows.
Milvus 1.1.1 gpu
Hardware Config:
Milvus server config:
Insert and search config:
With this configuration, I got thes questions:
Beta Was this translation helpful? Give feedback.
All reactions