All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henrik Riomar <rio@riomar.se>
To: xen-devel@lists.xenproject.org
Subject: xen-balloon and 5.10.70
Date: Sun, 3 Oct 2021 11:52:13 +0200	[thread overview]
Message-ID: <20211003115213.d7d9d4c1a1bc371cd4b7dc76@riomar.se> (raw)

Hi,

Running 5.10.70 on a dom0 shows 100% load on one core for the
xen-balloon kernel thread (was a workqueue before 5.10.70).

I have upgraded two dom0's to 5.10.70 and both of them shows this issue.

Xen version is 4.15.1.

To trigger the problem:
 dom_mem=3000M,max:3000M

Does not trigger the problem:
 dom_mem=3000M

(the other system with the issue has "dom0_mem=4096M,max:4096M")

/etc/xl/xl.conf:
 #autoballon="auto" 
 or
 autoballon="off"
 or 
 autoballon="on"

does not matter, in trigging the problem (i.e. autoballon="off", still
gets [xen-ballon] to hog down one core).

Can not see the problem before starting the first domU, and shutting
down all domUs stops xen-balloon to hog the core.

Workaround in a running system is to lower
 /sys/devices/system/xen_memory/xen_memory0/target_kb.

With max:3000M this was 3072000 (kb), and just lowering it to 3069952
(i.e. by 2 meg) "solved" the issue, and stopped the fan in my laptop :-)

/ Henrik


                 reply	other threads:[~2021-10-03 10:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20211003115213.d7d9d4c1a1bc371cd4b7dc76@riomar.se \
    --to=rio@riomar.se \
    --cc=xen-devel@lists.xenproject.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.