-
-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test performance for queries with multiple disk chunks #2318
Test performance for queries with multiple disk chunks #2318
Conversation
clt-amd64👎 CLT tests in test/clt-tests/core/test-performance-for-queries-with-multiple-disk-chunks.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
mysql -h0 -P9306 -e "select count(*) from name;"
––– output –––
+----------+
| count(*) |
+----------+
| 10000000 |
+----------+
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export multiple_disk_chunks=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
- | disk_chunks | 7 |
+ | disk_chunks | 6 |
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION cutoff=1, sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
| disk_chunks | 1 |
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export optimize=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
echo "Duration: ${optimize} ${multiple_disk_chunks} ms"
––– output –––
Duration: %{NUMBER} %{NUMBER} ms
––– input –––
php -r "exit(round(abs($multiple_disk_chunks - $optimize) / ($multiple_disk_chunks + $optimize)/2 * 100, 0) >= 15);" 2>\dev\null && echo "----$?----"
––– output –––
----0----
|
clt👎 CLT tests in test/clt-tests/core/test-performance-for-queries-with-multiple-disk-chunks.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
mysql -h0 -P9306 -e "select count(*) from name;"
––– output –––
+----------+
| count(*) |
+----------+
| 10000000 |
+----------+
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export multiple_disk_chunks=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
- | disk_chunks | 7 |
+ | disk_chunks | 6 |
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION cutoff=1, sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
| disk_chunks | 1 |
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export optimize=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
echo "Duration: ${optimize} ${multiple_disk_chunks} ms"
––– output –––
Duration: %{NUMBER} %{NUMBER} ms
––– input –––
php -r "exit(round(abs($multiple_disk_chunks - $optimize) / ($multiple_disk_chunks + $optimize)/2 * 100, 0) >= 15);" 2>\dev\null && echo "----$?----"
––– output –––
----0----
|
clt-amd64👎 CLT tests in test/clt-tests/core/test-performance-for-queries-with-multiple-disk-chunks.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
mysql -h0 -P9306 -e "select count(*) from name;"
––– output –––
+----------+
| count(*) |
+----------+
| 10000000 |
+----------+
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export multiple_disk_chunks=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Syntax(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex parse error:
{7,6}
^
error: repetition operator missing expression
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
)', src/main.rs:210:62
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
clt👎 CLT tests in test/clt-tests/core/test-performance-for-queries-with-multiple-disk-chunks.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
mysql -h0 -P9306 -e "select count(*) from name;"
––– output –––
+----------+
| count(*) |
+----------+
| 10000000 |
+----------+
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export multiple_disk_chunks=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Syntax(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex parse error:
{7,6}
^
error: repetition operator missing expression
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
)', src/main.rs:210:62
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
Update regex to test-performance-for-queries-with-multiple-disk-chunks.rec
clt👎 CLT tests in test/clt-tests/core/test-performance-for-queries-with-multiple-disk-chunks.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
mysql -h0 -P9306 -e "select count(*) from name;"
––– output –––
+----------+
| count(*) |
+----------+
| 10000000 |
+----------+
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export multiple_disk_chunks=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
- | disk_chunks | %{NUMBER} |
+ | disk_chunks | 6 |
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION cutoff=1, sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
| disk_chunks | 1 |
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export optimize=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
echo "Duration: ${optimize} ${multiple_disk_chunks} ms"
––– output –––
Duration: %{NUMBER} %{NUMBER} ms
––– input –––
php -r "exit(round(abs($multiple_disk_chunks - $optimize) / ($multiple_disk_chunks + $optimize)/2 * 100, 0) >= 15);" 2>\dev\null && echo "----$?----"
––– output –––
----0----
|
clt-amd64👎 CLT tests in test/clt-tests/core/test-performance-for-queries-with-multiple-disk-chunks.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
mysql -h0 -P9306 -e "set global auto_optimize=0;"
––– output –––
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
mysql -h0 -P9306 -e "select count(*) from name;"
––– output –––
+----------+
| count(*) |
+----------+
| 10000000 |
+----------+
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export multiple_disk_chunks=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
mysql -P9306 -h0 -e "select count(*) from name.@status;"
––– output –––
+----------+
| count(*) |
+----------+
- | 8 |
+ | 7 |
+----------+
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION cutoff=1, sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
| disk_chunks | 1 |
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export optimize=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
echo "Duration: ${optimize} ${multiple_disk_chunks} ms"
––– output –––
Duration: %{NUMBER} %{NUMBER} ms
––– input –––
php -r "exit(round(abs($multiple_disk_chunks - $optimize) / ($multiple_disk_chunks + $optimize)/2 * 100, 0) >= 20);" 2>\dev\null && echo "----$?----"
––– output –––
----0----
|
clt👎 CLT tests in test/clt-tests/core/test-performance-for-queries-with-multiple-disk-chunks.rec––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
mysql -h0 -P9306 -e "set global auto_optimize=0;"
––– output –––
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
mysql -h0 -P9306 -e "select count(*) from name;"
––– output –––
+----------+
| count(*) |
+----------+
| 10000000 |
+----------+
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export multiple_disk_chunks=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
mysql -P9306 -h0 -e "select count(*) from name.@status;"
––– output –––
+----------+
| count(*) |
+----------+
- | 8 |
+ | 7 |
+----------+
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION cutoff=1, sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "show table name status" | grep "disk_chunks"
––– output –––
| disk_chunks | 1 |
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from name where match('*on*');" > /dev/null; echo $?
––– output –––
0
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export optimize=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
echo "Duration: ${optimize} ${multiple_disk_chunks} ms"
––– output –––
Duration: %{NUMBER} %{NUMBER} ms
––– input –––
php -r "exit(round(abs($multiple_disk_chunks - $optimize) / ($multiple_disk_chunks + $optimize)/2 * 100, 0) >= 20);" 2>\dev\null && echo "----$?----"
––– output –––
----0----
|
* Create test-performance-for-queries-with-multiple-disk-chunks.rec --------- Co-authored-by: Pavel_Shilin <work@pavelshilin.com>
Created a test to check performance for wildcard queries with many matches when disk_chunks > 1 and disk_chunks = 1