Re: Help diagnosing kworker 'bug'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Aug 6, 2014 at 10:40 AM, Anatol Pomozov
<anatol.pomozov@xxxxxxxxx> wrote:
> Hi
>
> On Tue, Aug 5, 2014 at 4:37 PM, Oon-Ee Ng <ngoonee.talk@xxxxxxxxx> wrote:
>> This is after roughly 6-7 seconds, and 65 MB has already been written
>> by that kworker thread.
>
> How long this IO activity takes? Could it be some kind of automatic
> defragmentation or some other internal btrfs background optimization?
> A good idea is to check btrfs changelog for 3.16 kernel release.

It's continuous and ran for at least 2 hours at most.

>
> 'perf' is a great and very powerful tool that allow to debug problems
> like this. Run '# perf top -g -p $PID' and it will show where the
> process spends *cpu cycles*. It should be enough to understand what
> kworker thread does. For all curious minds I highly recommend to read
> this tutorial https://perf.wiki.kernel.org/index.php/Tutorial

Thanks, if my boy gets to sleep early tonight I'll do that.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux