3.5TB pcie ssd 250G 内存 32 核cluster_name: 'Test Cluster'num_tokens: 256data_file_directories: - /data/scylla/datacommitlog_directory: /data/scylla/commitlogcommitlog_sync: periodiccommitlog_sync_period_in_ms: 10000commitlog_segment_size_in_mb: 32seed_provider: - class_name: org.apache.cassandra.locator.SimpleSeedProvider parameters: - seeds: "10.0.145.49,10.0.135.108,10.0.145.50,10.0.135.109"listen_address: 10.0.145.49native_transport_port: 9042read_request_timeout_in_ms: 5000write_request_timeout_in_ms: 2000endpoint_snitch: SimpleSnitchrpc_address: 10.0.145.49rpc_port: 9160api_port: 10000api_address: 10.0.145.49batch_size_warn_threshold_in_kb: 5partitioner: org.apache.cassandra.dht.Murmur3Partitionercommitlog_total_space_in_mb: -1developer_mode: truemurmur3_partitioner_ignore_msb_bits: 12api_ui_dir: /usr/lib/scylla/swagger-ui/dist/api_doc_dir: /usr/lib/scylla/api/api-doc/#配置文件,scylla_test.yaml
### DDL ##############
# Keyspace Namekeyspace: stresscql
# The CQL for creating a keyspace (optional if it already exists)keyspace_definition: | CREATE KEYSPACE stresscql WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 3};# Table nametable: blogposts
# The CQL for creating a table you wish to stress (optional if it already exists)table_definition: | CREATE TABLE blogposts ( domain text, body text, PRIMARY KEY(domain) )
### Column Distribution Specifications #############################################
columnspec: - name: domain size: gaussian(5..20) #domain names are relatively short
- name: body size: gaussian(100..1000) #the body of the blog post can be long ### Batch Ratio Distribution Specifications ##################################################
insert: #每个batch只插入一次(?), 比如可以用insert=1,或者insert=2,... partitions: fixed(1) #Our partition key is the domain so only insert one per batch select: fixed(1)/1000 #We have 1000 posts per domain so 1/1000 will allow 1 post per batch batchtype: UNLOGGED #Unlogged batches
### A list of queries you wish to run against the schema ###############################################################
queries: singlepost: cql: select * from blogposts where domain = ? LIMIT 1 fields: samerow
#测试脚本 test_scylla.sh
#!/bin/bash
PROFILE="./scylla_test.yaml"SEEDS="10.0.145.49,10.0.135.108,10.0.145.50,10.0.135.109"TIME=`date +"%Y%m%d-%H%M%S"`LOGSUFFIX="$TIME.log"LINENUM=100000000
for ((var=300; var <= 1000; var=var+100))do cassandra-stress user profile=$PROFILE n=$LINENUM ops\(insert=1\) cl=QUORUM -rate threads=$var -node $SEEDS -log file="w-thread"$var"_"$LOGSUFFIX cassandra-stress user profile=$PROFILE n=$LINENUM ops\(singlepost=1\) cl=QUORUM -rate threads=$var -node $SEEDS -log file="r-thread"$var"_"$LOGSUFFIXdone
打算使用scylladb,现在在测试稳定性和性能阶段,昨晚一晚的测试结果显示,insert很不稳定,效率也上不去自己没有cassandra的经验,所以调起来比较吃力,还望各位给予指导,不胜感激!!4台服务器,一样的硬件配置,都是:3.5TB pcie ssd250G 内存32 核每一台部署一个scylladb,总共四个节点scylladb配置一样,如下:cluster_name: 'Test Cluster'num_tokens: 256data_file_directories:- /data/scylla/datacommitlog_directory: /data/scylla/commitlogcommitlog_sync: periodiccommitlog_sync_period_in_ms: 10000commitlog_segment_size_in_mb: 32seed_provider:- class_name: org.apache.cassandra.locator.SimpleSeedProviderparameters:- seeds: "10.0.145.49,10.0.135.108,10.0.145.50,10.0.135.109"
--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/4394a270-7778-40a5-921f-58f435f77016%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/c833e70e-51bd-4349-af7b-329a8619526e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/c833e70e-51bd-4349-af7b-329a8619526e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to scyllad...@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/c833e70e-51bd-4349-af7b-329a8619526e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
----Asias
You received this message because you are subscribed to a topic in the Google Groups "ScyllaDB users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scylladb-users/gGDtBLKvdeU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/CAO1GqFbtrpHpL3sGzds%3DpK6-Zq3e9LbPW6Gm2r6Um3c_g2N-aw%40mail.gmail.com.
To post to this group, send email to scyllad...@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/c833e70e-51bd-4349-af7b-329a8619526e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
----Asias
You received this message because you are subscribed to a topic in the Google Groups "ScyllaDB users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scylladb-users/gGDtBLKvdeU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/CAO1GqFbtrpHpL3sGzds%3DpK6-Zq3e9LbPW6Gm2r6Um3c_g2N-aw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/CAO1GqFbtrpHpL3sGzds%3DpK6-Zq3e9LbPW6Gm2r6Um3c_g2N-aw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "ScyllaDB users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scylladb-users+unsubscribe@googlegroups.com.
To post to this group, send email to scylladb-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/CAOck73pC2KHnZAO7f5zP5kR%3DP6CcGZPatO8F_J5Yy5vOtEa31w%40mail.gmail.com.