Skip to content

Commit b15cbc2

Browse files
committed
Remove parallel > 1
1 parent 844992a commit b15cbc2

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

experiments/configurations/chroma-single-node.json

+6-12
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
}
2424
},
2525
"search_params": [
26-
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } },
27-
{ "parallel": 100, "config": {"hnsw:search_ef": 128 } }, { "parallel": 100, "config": {"hnsw:search_ef": 256 } }, { "parallel": 100, "config": {"hnsw:search_ef": 512 } }
26+
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } }
2827
],
2928
"upload_params": { "parallel": 16 }
3029
},
@@ -39,8 +38,7 @@
3938
}
4039
},
4140
"search_params": [
42-
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } },
43-
{ "parallel": 100, "config": {"hnsw:search_ef": 128 } }, { "parallel": 100, "config": {"hnsw:search_ef": 256 } }, { "parallel": 100, "config": {"hnsw:search_ef": 512 } }
41+
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } }
4442
],
4543
"upload_params": { "parallel": 16 }
4644
},
@@ -55,8 +53,7 @@
5553
}
5654
},
5755
"search_params": [
58-
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } },
59-
{ "parallel": 100, "config": {"hnsw:search_ef": 128 } }, { "parallel": 100, "config": {"hnsw:search_ef": 256 } }, { "parallel": 100, "config": {"hnsw:search_ef": 512 } }
56+
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } }
6057
],
6158
"upload_params": { "parallel": 16 }
6259
},
@@ -71,8 +68,7 @@
7168
}
7269
},
7370
"search_params": [
74-
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } },
75-
{ "parallel": 100, "config": {"hnsw:search_ef": 128 } }, { "parallel": 100, "config": {"hnsw:search_ef": 256 } }, { "parallel": 100, "config": {"hnsw:search_ef": 512 } }
71+
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } }
7672
],
7773
"upload_params": { "parallel": 16 }
7874
},
@@ -87,8 +83,7 @@
8783
}
8884
},
8985
"search_params": [
90-
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } },
91-
{ "parallel": 100, "config": {"hnsw:search_ef": 128 } }, { "parallel": 100, "config": {"hnsw:search_ef": 256 } }, { "parallel": 100, "config": {"hnsw:search_ef": 512 } }
86+
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } }
9287
],
9388
"upload_params": { "parallel": 16 }
9489
},
@@ -103,8 +98,7 @@
10398
}
10499
},
105100
"search_params": [
106-
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } },
107-
{ "parallel": 100, "config": {"hnsw:search_ef": 128 } }, { "parallel": 100, "config": {"hnsw:search_ef": 256 } }, { "parallel": 100, "config": {"hnsw:search_ef": 512 } }
101+
{ "parallel": 1, "config": {"hnsw:search_ef": 128 } }, { "parallel": 1, "config": {"hnsw:search_ef": 256 } }, { "parallel": 1, "config": {"hnsw:search_ef": 512 } }
108102
],
109103
"upload_params": { "parallel": 16 }
110104
}

experiments/configurations/chroma-single-node.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ See https://cookbook.chromadb.dev/core/configuration/#hnsw-configuration
66
`hnsw:construction_ef` cannot be changed after index creation.
77
`hnsw:search_ef` can be changed.
88

9+
Parallel > 1 for searching is currently not supported because Chroma is not process-safe (see https://github.com/qdrant/vector-db-benchmark/pull/205#discussion_r1781471419).
10+
911
## collection_params
1012
"metadata": {
1113
"hnsw:M": 16,32,64,
1214
"hnsw:construction_ef": 128,256,512
1315
}
1416

1517
## search_params
16-
"parallel": 1, 8, 100 # implemented in base_client
18+
"parallel": 1 # implemented in base_client
1719
"top": / # implemented in base_client
1820
"metadata": {
1921
"hnsw:search_ef": 128,256,512

0 commit comments

Comments
 (0)