0

使用3台配置为E5-2630 v4 DDR3 128G的服务器,搭建3分片(每个分片3副本)的集群,用ycsb插入10亿数据(每条数据约1k大小,使用40线程,批量插入),前1亿吞吐量达到3w多,到了3亿就查看mongostat发现araw进行很大,dirty经常达到20%,请问这是什么原因?
以下是我的启动配置参数:
pidfilepath = /data/mongodb/data/shard1/log/shard1.pid
dbpath = /data/mongodb/data/shard1/data
logpath = /data/mongodb/data/shard1/log/shard1.log
logappend = true
bind_ip = 0.0.0.0
port = 27001
fork = true
wiredTigerCacheSizeGB=20
replSet = shard1
shardsvr = true
maxConns = 20000
wiredTigerDirectoryForIndexes=true