Skip to contentSkip to conversation

periodic iowait spike

DISCUSSION Toralf Förster 2 participants 4 messages May 3, 2015 – May 13, 2015

lore
Share & tools
lore
#0 lore raw

The picture in [1], created with isag from the sysstat package, shows a periodic spike in the iowait of my tinderbox server (hardened Gentoo 3.19.6-r1), correlating to write transactions per seconds from a similar graph.

I'm wondering what (kernel, btrfs or ?) is causing this.

[1] http://www.zwiebeltoralf.de/pub/sar_cpu_3rdMay.png

Signature · 5 lines
Toralf
pgp key: 7B1A 07F4 EC82 0F90 D4C2  8936 872A E508 0076 E94E
--
"; the past is all dirty and cruel in the modern popular imagination, with the exception of the Romans, who are just cruel"
Ian Mortimer, 2008, "The Time Traveller's Guide to Medieval England"
#1 lore raw
Quoted 6 lines · Toralf Förster

The picture in [1], created with isag from the sysstat package, shows a periodic spike in the iowait of my tinderbox server (hardened Gentoo 3.19.6-r1), correlating to write transactions per seconds from a similar graph.

I'm wondering what (kernel, btrfs or ?) is causing this.

Could be btrfs and the transaction commit, 30 seconds by default. The plot roughly matches to the ~30 seconds delay, but not everywhere. Raw numbers would could tell you more. Also, you could try to change the commit interval (mount option 'commit') and see if the iowait spikes change as well.

#2 lore raw
Quoted 3 lines · David Sterba

Also, you could try to change the
commit interval (mount option 'commit') and see if the iowait spikes change as well.

I changed that option between 10 sec and 299 seconds - same picture.

Signature · 5 lines
Toralf
pgp key: 7B1A 07F4 EC82 0F90 D4C2  8936 872A E508 0076 E94E
--
"; the past is all dirty and cruel in the modern popular imagination, with the exception of the Romans, who are just cruel"
Ian Mortimer, 2008, "The Time Traveller's Guide to Medieval England"
#3 lore raw
In reply to Toralf Förster
Quoted 7 lines · Toralf Förster

The picture in [1], created with isag from the sysstat package, shows a periodic spike in the iowait of my tinderbox server (hardened Gentoo 3.19.6-r1), correlating to write transactions per seconds from a similar graph.

I'm wondering what (kernel, btrfs or ?) is causing this.

[1] http://www.zwiebeltoralf.de/pub/sar_cpu_3rdMay.png

After I deleted from that 3 TB drive (1.2 TB were filled, 1.6 TB were free) about 0.5 TB, the spikes went away. I'm wondering that such spikes happen although the drive had more than 50 % free space ...

Signature · 5 lines
Toralf
pgp key: 7B1A 07F4 EC82 0F90 D4C2  8936 872A E508 0076 E94E
--
"; the past is all dirty and cruel in the modern popular imagination, with the exception of the Romans, who are just cruel"
Ian Mortimer, 2008, "The Time Traveller's Guide to Medieval England"