Open vagetablechicken opened 1 year ago
Update 23/08/07
下载使用tar压缩包,分文件下载能下14h+ Q3等dataset必然要使用超过1g默认memory配置,文档写明测试前必须要检查spark配置,而不是错误了再修正配置。local需要改driver memory,yarn需要改execute memory
Setup
- Dir /data just a readme doc, and /dataset is empty. Not good. And the way downloading data
wget -r -np -R "index.html*" http://43.138.115.238/download/data/; cp -r <dataset directory> ./dataset
is not good too. Usewget -r -np -R "index.html*" http://43.138.115.238/download/data/ -P ./dataset
- Give the openmldb quickstart url, users don't know how to start OpenMLDB cluster. https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L55-L56
OpenMLDB cluster settings
- https://openmldb.ai/docs/zh/main/maintain/faq.html#java-lang-outofmemoryerror-java-heap-space default setting is not enough, set bigger
- zk config
maxClientCnxns
default 60, need to set bigger?Give a script to convert. And mention that we should generate a new file named 'conf.properties' from 'conf.properties.template'. https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L58
e.g. sed '' xx.template > xx
- Comment about the
DATASET_ID
will be set by compile_test.sh/test.sh. https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/conf/conf.properties.template#L4- default thread is 1? The result will show poor performance. https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L56
Test Code
- even we do sync load data, but if failed, won't stop the whole test. https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L208
- readParquetFolder is for insert, give the explaination about it, how many file we used in each dataset, and why? e.g. why dataset 0 reads 40 files, but dataset 1,2,3... only read 1 file. https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L511-L512
- what's this? https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L542
error handle
- if create table throws exception, abort the test, don't just print error. https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L103
- check returned value, if false, there's no deployment, test can't continue. Make sure deployments exist. https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L171
updated :)
docker needs update after code improved
not step 5, start from step 4(modify conf file)
sbin style for openmldb cluster deploy
导入需要注意物理内存,测试Q3 local 32会吃多少内存,以此为参考,用户物理内存少的,必须调整local核数
Setup
Dir /data just a readme doc, and /dataset is empty. Not good. And the way downloading data
wget -r -np -R "index.html*" http://43.138.115.238/download/data/; cp -r <dataset directory> ./dataset
is not good too. Usewget -r -np -R "index.html*" http://43.138.115.238/download/data/ -P ./dataset
Give the openmldb quickstart url, users don't know how to start OpenMLDB cluster. https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L55-L56
OpenMLDB cluster settings
maxClientCnxns
default 60, need to set bigger?Give a script to convert. And mention that we should generate a new file named 'conf.properties' from 'conf.properties.template'. https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L58 e.g. sed '' xx.template > xx
Comment about the
DATASET_ID
will be set by compile_test.sh/test.sh. https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/conf/conf.properties.template#L4default thread is 1? The result will show poor performance. https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L56
Test Code
error handle