Skip to content

Best practices for improving performance #33659

Discussion options

You must be logged in to vote

Memory usage is 27GB.
Query nodes RAM = 64 * 4GB = 256GB, CPU cores = 64 * 2 = 128

Some suggestions:

  1. In my opinion, no need deploy so many query nodes. 16 query nodes is better, assign 8 processes and 16GB to each node.
  2. No need to deploy so many proxies, 8 proxies with 2 CPU for each is enough. Build a upper layer balancer to balance the requests to proxies.
  3. Since the total RAM(256GB) of query nodes is much larger than the memory usage(27GB), you can use milvus replica to increase QPS. Milvus replica is: how many copies of the data in memory. Replica is assigned when you call the collection.load() method. Default replica number is 1, which means only 1 copy of the data in memory. To chan…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@Dmitry-Evsyukov
Comment options

@yhmo
Comment options

@Dmitry-Evsyukov
Comment options

@yhmo
Comment options

@Dmitry-Evsyukov
Comment options

Answer selected by Dmitry-Evsyukov
Comment options

You must be logged in to vote
2 replies
@yhmo
Comment options

@xiaofan-luan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants