Thanks a lot, Will. I'll read that blog.
My VMs are configured 4vCPUs, 3GB, 16+ 50GB Disk, and the host is 48 CPUs x 2.2 GHz and 256GB memory on ESXi 5.5. The MongoDB version is 2.6.1. There is no network delay, so in my particular case, nearest is used as "random" read preference. The CPU usage for mongod is no more than 30%. Mongos CPU usage is high and close to 100%. But if mongos is the bottleneck for nearest, shouldn't it slow down both read and write latency? There may be resource contention, but how does nearest or secondary read preference make it worse? My understanding for nearest read preference is it should improve read performance(and it did) and have little influence on write performance. Is this correct? Or anything I'm missing?
Thanks,
Wenting.