simnv
simnv
Thank you for the suggestion. Metrics were batched in 500 points per host. I have set batches to about 10000 points per host, depending on a host, but still have...
After upgrading from 0.10.3 to 0.11.0 the problem has gone away:  With on-disk WAL folder write ops grew only slightly.
I don't understand. Influx was working fine with little above than 20 write ops per second for several days, then after restart it has returned to 3k+ write ops: ![iops...
Now, after upgrading to 0.12, I have not only high wal write ops, but also a high write ops on the fs with data directory.
Attached strace to influxdb process. Most iops are for wal files (3k+ write iops, understandable) and for meta/meta.dbtmp file (2k+ write iops, each time for 4754 bytes). Last part is...
Dug a little deeper. Every operation leads to `cacheData.Index` increment, which leads to `meta.db` flush on disk. It is flushed with `f.Sync()` command, so no help in write caching: https://github.com/influxdata/influxdb/blob/master/services/meta/client.go#L979...
Updated to 0.12.1, problem has gone. Storing 9k+ metrics per second I have only 25 write operations per second to wal partition and occasional writes to data partition. Thanks!
I also have this problem. strace shows that it is a constant writing to `meta/meta.dbtmp` file. It's funny how such small file is responsible for a most of disk io.
My adventures with influxdb I/O: #6058