[PATCH 2/3] ext4: Make cache hits/misses per-cpu counts

2016-06-03 Thread Waiman Long
This patch changes the es_stats_cache_hits and es_stats_cache_misses statistics counts to percpu counters to reduce cacheline contention issues whem multiple threads are trying to update those counts simultaneously. With a 38-threads fio I/O test with 2 shared files (on DAX-mount ext4 formatted

[PATCH 2/3] ext4: Make cache hits/misses per-cpu counts

2016-06-03 Thread Waiman Long
This patch changes the es_stats_cache_hits and es_stats_cache_misses statistics counts to percpu counters to reduce cacheline contention issues whem multiple threads are trying to update those counts simultaneously. With a 38-threads fio I/O test with 2 shared files (on DAX-mount ext4 formatted