linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans van Kranenburg <hans@knorrie.org>
To: Leszek Dubiel <leszek@dubiel.pl>, linux-btrfs@vger.kernel.org
Subject: Re: btrfs-transacti -- change from be/4 to idle (?)
Date: Wed, 26 Aug 2020 11:47:47 +0200	[thread overview]
Message-ID: <5ec32698-5f49-e870-75cf-ed82c78140d0@knorrie.org> (raw)
In-Reply-To: <806a0681-6a1b-30d0-de28-8f18019913ad@dubiel.pl>

Hi!

On 8/26/20 10:58 AM, Leszek Dubiel wrote:
> 
> Process btrfs-transacti takes 100% CPU time and server get very slow.

Is it slow and not doing much, or is it busy doing things, taking more
time than you would want? Those two things are quite different.

> It runs with priority "best effort be/4".
> 
> Is it a good idea to change priority to "idle"?

> root@wawel:/var/log# df -h  /
> 
> Filesystem      Size  Used Avail Use% Mounted on
> /dev/sda2        20T   11T  7.7T  58% /

Are you using space_cache=v2 already?

https://events.static.linuxfound.org/sites/events/files/slides/vault2016_0.pdf

> [...]

Hans

      parent reply	other threads:[~2020-08-26  9:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-26  8:58 btrfs-transacti -- change from be/4 to idle (?) Leszek Dubiel
2020-08-26  9:39 ` Qu Wenruo
2020-08-26 12:49   ` Leszek Dubiel
2020-08-26  9:47 ` Hans van Kranenburg [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=5ec32698-5f49-e870-75cf-ed82c78140d0@knorrie.org \
    --to=hans@knorrie.org \
    --cc=leszek@dubiel.pl \
    --cc=linux-btrfs@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).