From: jay.aurabind@gmail.com (Jay Aurabind)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Kworker and jbd2 constantly writing to hdd
Date: Fri, 25 Apr 2014 19:41:04 +0530 [thread overview]
Message-ID: <535A6CF8.6030901@gmail.com> (raw)
In-Reply-To: <CAGdaadY4hbnDuEazPHFxMbPCHvkeRh-9hsG8qMMCg2G4zxT+9g@mail.gmail.com>
On Friday 25 April 2014 05:48 PM, Mulyadi Santosa wrote:
>
>
> Could it be a power management system trying to spin down your disk to
> save power?
>
> Try to alter the power management variable from your desktop
> environment settings. Try to make it less aggresive.
Tried setting APM to 254, so as not to attempt a spin down, but no
change in the situation. But even if its the system trying to spin down,
would it get listed as a write operation? Isnt it supposed to be an
ioctl ? Does iotop consider ioctls as a write ? Its man page doesnt
mention anything about ioctls.
>
>
> ALso, it could be the I/O scheduler too. Try to switch to noop and see
> if it change the situation
>
Under noop, deadline and cfq, the situation remains the same. Dont have
any other schedulers.
The kworker I mentioned was spotted from the output of iotop -o. I kept
"watching" /proc/meminfo while kworker was popping up. I found that even
though the same kworker showed up periodically at 1 second, meminfo's
"dirty" entry was getting modified only at about 45 seconds, with 8KB,
and subsequently after 1 minute, dirty would roll back to zero,
(probably indicating a real disk write?).
Iotop says it reports acutal I/O happening, and this seems consistent
with the above observation. But in reality, my HDD indicator is blinking
at 1 second, synchronous to kworker. Does the hdd indicator blink under
any circumstances other than a read or write? BTW its a light blink, not
a strong one like when we do some serious I/O. Can you please do an
"iotop -o" and see if you also have the same kworker popping up?
Thanks and Regards,
Jay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 278 bytes
Desc: OpenPGP digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140425/48565801/attachment.bin
prev parent reply other threads:[~2014-04-25 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-25 6:52 Kworker and jbd2 constantly writing to hdd Jay Aurabind
2014-04-25 12:18 ` Mulyadi Santosa
2014-04-25 14:11 ` Jay Aurabind [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=535A6CF8.6030901@gmail.com \
--to=jay.aurabind@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.