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

Re: "swiotlb buffer is full" in DomU with PCI passthrough is caused by low memory in Dom0


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Leiber <paul@xxxxxxxxxxxxxxxx>
  • Date: Fri, 28 Apr 2023 18:05:08 +0200
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1682697910; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=G2K5ra2gzg2lzhI+fLfXpXzwZsNFNrQYk/85bYLcbL8=; b=E9Zq3dIhhcYLp2ToNu7GuFCQ6xcUzgFgRCxIU8PtDZ9y9ZA06wYYOzUIBedS4IoMJe w1PnLHk58jHJdpOse3zvHJx+QJsFP/Jc6GRwwQWmsolG8/SXBNKMNRvG3sYrfe5uN2Ti 3JUkjOZFznm98H1ZhKBF2RRsHLsLse/QYzXB4QvIlOlBzImilpyIZMeX48OZ2WLE5BPP OniKKABbUH5Gr0yxVakRtIdR9g6H3+N1BBAUcsF4WzxDTAHQI3eqKWDt0qIQULOxXYzk LsHpwE+oz8/XfNHooe3dwZSK/NeSsfLz1n7fNzLKJ+kyYyLeawJ/2piZc/H+LFQ0jfEg YM+Q==
  • Arc-seal: i=1; a=rsa-sha256; t=1682697910; cv=none; d=strato.com; s=strato-dkim-0002; b=Sqttf2BtjzJpBCb+HDDKi26yxL8kxxGjFTDU91t/Ys4mBdKNNZ/3aLXuisMXIeEBr5 0+xpES/nqZstW6s9gy+5KM5pYIGcV7U+OVoIckij3v0OjdmMo62plY140VgtNCoou1W3 bqLZwdH2ZVi6//+6iR97aV/b+ew/ScXVaXmLe6ZdjX+lpl0FlOZwpbJQfLMCwXjHTNaN Q/xFg6+w7rTyjVxLxr2i9+K8cli4jRH8r+1vXnpaxRZzY9f602gRvh03j9VpjfYRcmXV +nCrSaVjVKg0YUrwZ+N5qSPVK1BaSXhF3MOd5lv/x0dLb/rgSSdFhvf2I1sbHdhYC9pT 0TSA==
  • Delivery-date: Fri, 28 Apr 2023 16:05:39 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>



Am 28.04.2023 um 17:28 schrieb zithro:
On 25 Apr 2023 22:30, Paul Leiber wrote:
Hi,

Hi,

I can't rule out that there actually is a log entry in Dom0 for this situation, and my Xen and/or linux knowledge was not good enough to let me find it. If this is the case, I'd appreciate some pointers.

Then why not posting your logs ?

I didn't find anything that seemed relevant, that's why I didn't post any logs. Also, I am not sure which logs are relevant (see below).

As this is from a "production" machine (the family internet connection gateway at home), I need to literally beg for time windows where I can do the testing, hence I am hesitant to promise any logs soon.

That put aside: Which logs would be relevant? The ones below, or more/others?

Did you add "loglvl=all" and/or "guest_loglvl=all" to Xen cmdline ?

Yes.

What logs did you read: "dmesg", "xl dmesg" or logs in /var/log/xen ?

I looked at the logs in /var/log/xen and dmesg, don't remember if a also looked at "xl dmesg".

From the (few) posts I've read, this problems happens on non-virtualized systems, so maybe it's not related to Xen at all.
Maybe it's a driver problem.
(Search query used: "swiotlb buffer is full").

I also noticed that most reports of swiotlib issues are for non-virtualized systems. But: If my reported issue was not Xen related, why would changing the amount of Dom0 memory influence DomU behavior?

Also I found pointers related to the *domU* kernel command line option "swiotlb", like using "swiotlb=1" or "swiotlb=65536"

Interesting, thank you for the hint.

PS: I'm not an expert, just a Xen user ;)

Same, although I still consider myself a Xen beginner. :-)



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.