public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Big I/O latencies, except when iotop is hooked
@ 2012-05-09 16:20 Felipe Contreras
  2012-05-09 17:56 ` Arnd Bergmann
  0 siblings, 1 reply; 9+ messages in thread
From: Felipe Contreras @ 2012-05-09 16:20 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi,

I've been noticing big I/O latencies when doing operations with
notmuch (xapian database), the operations are quite simple and
probably should not need a lot of I/O, however, they seen to take a
long time, sometimes even seconds. But when I hook iotop (-p pid), the
latency goes away, and every operation is reliably instantaneous
(basically).

Do you have any ideas what might be causing this delay, and why is
iotop making it go away?

BTW. This is an ext4 encrypted partition on a USB stick, I tried
different mount options without any noticeable change. I tried to copy
the data to my SSD drive and do the same operations, while it was much
faster, it still seemed to have some delays triggered randomly. This
is with v3.3.5.

Cheers.

-- 
Felipe Contreras

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-05-14  9:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-09 16:20 Big I/O latencies, except when iotop is hooked Felipe Contreras
2012-05-09 17:56 ` Arnd Bergmann
2012-05-09 20:16   ` Felipe Contreras
2012-05-09 20:43     ` Arnd Bergmann
2012-05-09 22:19   ` Felipe Contreras
2012-05-10 10:49     ` Arnd Bergmann
2012-05-14  8:59       ` Arnd Bergmann
2012-05-14  9:08         ` Felipe Contreras
2012-05-10  8:24   ` Felipe Contreras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox