hi veryone i setup cassandra 2.2.3 on a node , the machine 's environment is openjdk-1.8.0 , 512G memory , 128core cpu , 3T ssd . the token num is 256 on a node , the program use datastax driver 2.1.8 and use 5 thread to insert data to cassandra on the same machine , the data 's capcity is 6G and 1157000 line .
why is the throughput 20000/s on the node ? # Per-thread stack size. JVM_OPTS="$JVM_OPTS -Xss512k" # Larger interned string table, for gossip's benefit (CASSANDRA-6410) JVM_OPTS="$JVM_OPTS -XX:StringTableSize=1000003" # GC tuning options JVM_OPTS="$JVM_OPTS -XX:+CMSIncrementalMode" JVM_OPTS="$JVM_OPTS -XX:+DisableExplicitGC" JVM_OPTS="$JVM_OPTS -XX:+CMSConcurrentMTEnabled" JVM_OPTS="$JVM_OPTS -XX:+UseParNewGC" JVM_OPTS="$JVM_OPTS -XX:+UseConcMarkSweepGC" JVM_OPTS="$JVM_OPTS -XX:+CMSParallelRemarkEnabled" JVM_OPTS="$JVM_OPTS -XX:SurvivorRatio=4" JVM_OPTS="$JVM_OPTS -XX:MaxTenuringThreshold=2" JVM_OPTS="$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75" JVM_OPTS="$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly" JVM_OPTS="$JVM_OPTS -XX:+UseTLAB" JVM_OPTS="$JVM_OPTS -XX:CompileCommandFile=$CASSANDRA_CONF/hotspot_compiler" JVM_OPTS="$JVM_OPTS -XX:CMSWaitDuration=60000" memtable_heap_space_in_mb: 1024 memtable_offheap_space_in_mb: 10240 memtable_cleanup_threshold: 0.55 memtable_allocation_type: heap_buffers 以上 谢谢 郝加来 金融华东事业部 东软集团股份有限公司 上海市闵行区紫月路1000号东软软件园 Postcode:200241 Tel:(86 21) 33578591 Fax:(86 21) 23025565-111 Mobile:13764970711 Email:ha...@neusoft.com Http://www.neusoft.com --------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---------------------------------------------------------------------------------------------------