Skip to content

Commit

Permalink
Merge pull request #4302 from vespa-engine/geirst/mmap-directio-param…
Browse files Browse the repository at this point in the history
…eters

Add more variants tested on Vespa Cloud.
  • Loading branch information
hmusum authored Dec 18, 2024
2 parents c5f059c + 2b7a02c commit f0ea7f0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
10 changes: 9 additions & 1 deletion tests/performance/mmap_vs_directio/app/schemas/wikimedia.sd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ schema wikimedia {
rank-profile use_bitvectors inherits default {
rank-properties {
# This is set to 1/64 which is the limit for generating bitvectors.
vespa.matching.diskindex.bitvector_limit: 0.015625
vespa.matching.diskindex.bitvector_limit: 0.05
}
}

Expand All @@ -41,6 +41,14 @@ schema wikimedia {
}
}

rank-profile weakand_stop_word_use_bitvectors inherits default {
rank-properties {
vespa.matching.weakand.stop_word_drop_limit: 0.6
vespa.matching.weakand.stop_word_adjust_limit: 0.01
vespa.matching.diskindex.bitvector_limit: 0.05
}
}

document-summary minimal {
summary id {}
}
Expand Down
12 changes: 10 additions & 2 deletions tests/performance/mmap_vs_directio/app/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<search/>
<nodes deploy:environment="perf" deploy:region="aws-us-east-1c" count="1">
<resources vcpu="8.0" memory="16Gb" architecture="arm64" storage-type="remote" disk="48Gb"/>
<!-- <resources vcpu="1.0" memory="8Gb" architecture="arm64" storage-type="remote" disk="48Gb"/> -->
</nodes>
</container>

Expand All @@ -23,6 +24,9 @@
<config name='vespa.config.search.core.proton'>
<search>
<!-- <io>DIRECTIO</io> -->
<mmap>
<!-- <advise>SEQUENTIAL</advise> -->
</mmap>
</search>
<index>
<cache>
Expand All @@ -35,16 +39,20 @@
<!-- <maxbytes>1299334981</maxbytes> -->
<!-- 20% : 2480 MiB -->
<!-- <maxbytes>2598669962</maxbytes> -->
<!-- Force MMAP -->
<!-- <maxbytes>-1</maxbytes> -->
</postinglist>
<bitvector>
<!-- 0.25% : 31 MiB -->
<!-- <maxbytes>32483374</maxbytes> -->
<!-- 0.5% : 62 MiB -->
<!-- <maxbytes>64966749</maxbytes> -->
<!-- 0.1% : 124 MiB -->
<!-- 1% : 124 MiB -->
<!-- <maxbytes>129933498</maxbytes> -->
<!-- 0.2% : 248 MiB -->
<!-- 2% : 248 MiB -->
<!-- <maxbytes>259866996</maxbytes> -->
<!-- 5% : 620 MiB -->
<!-- <maxbytes>649667490</maxbytes> -->
</bitvector>
</cache>
</index>
Expand Down

0 comments on commit f0ea7f0

Please sign in to comment.