GNU bug report logs - #47225
QEMU warning about performance

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Thu, 18 Mar 2021 06:26:01 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47225 in the body.
You can then email your comments to 47225 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#47225; Package guix. (Thu, 18 Mar 2021 06:26:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 18 Mar 2021 06:26:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: QEMU warning about performance
Date: Thu, 18 Mar 2021 02:25:26 -0400
While using `guix system vm`, I noticed this warning. I think it's new,
maybe from the 5.2.0 update?

------
qemu-system-x86_64: warning: 9p: degraded performance: a reasonable high msize should be chosen on client/guest side (chosen msize is <= 8192). See https://wiki.qemu.org/Documentation/9psetup#msize for details.
------

That web page suggests that we increase the virtio packet size when
declaring the 9p file-systems, I think in %linux-vm-file-systems of (gnu
system vm).




Added indication that bug 47225 blocks47297 Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Tue, 06 Apr 2021 19:46:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#47225; Package guix. (Tue, 06 Apr 2021 21:43:02 GMT) Full text and rfc822 format available.

Message #10 received at 47225 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 47225 <at> debbugs.gnu.org
Subject: Re: bug#47225: QEMU warning about performance
Date: Tue, 06 Apr 2021 17:42:15 -0400
[Message part 1 (text/plain, inline)]
Hi Leo,

Leo Famulari <leo <at> famulari.name> writes:

> While using `guix system vm`, I noticed this warning. I think it's new,
> maybe from the 5.2.0 update?
>
> ------
> qemu-system-x86_64: warning: 9p: degraded performance: a reasonable
> high msize should be chosen on client/guest side (chosen msize is <=
> 8192). See https://wiki.qemu.org/Documentation/9psetup#msize for
> details.
> ------
>
> That web page suggests that we increase the virtio packet size when
> declaring the 9p file-systems, I think in %linux-vm-file-systems of (gnu
> system vm).

The attached patch should fix it (it does for me at least!).

[0001-system-vm-Set-a-larger-value-for-the-msize-option-of.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
Thank you for the report,

Maxim

Information forwarded to bug-guix <at> gnu.org:
bug#47225; Package guix. (Tue, 06 Apr 2021 22:16:02 GMT) Full text and rfc822 format available.

Message #13 received at 47225 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 47225 <at> debbugs.gnu.org
Subject: Re: bug#47225: QEMU warning about performance
Date: Tue, 6 Apr 2021 18:15:19 -0400
On Tue, Apr 06, 2021 at 05:42:15PM -0400, Maxim Cournoyer wrote:
> From c720e68229322e5c38c0321b021e8d6430636111 Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
> Date: Tue, 6 Apr 2021 17:37:33 -0400
> Subject: [PATCH] system: vm: Set a larger value for the msize option of the 9p
>  file system.
> 
> Fixes <https://issues.guix.gnu.org/47225>.
> 
> * gnu/system/vm.scm (mapping->file-system): Set the msize option to a value of
> 100 MiB (from the default 8 KiB).
> 
> Reported-by: Leo Famulari <leo <at> famulari.name>

Thanks! I'll test and push along with the next kernel update (that's
when I noticed this warning). Feel free to push sooner if you like.




Information forwarded to bug-guix <at> gnu.org:
bug#47225; Package guix. (Wed, 07 Apr 2021 00:43:01 GMT) Full text and rfc822 format available.

Message #16 received at 47225 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 47225 <at> debbugs.gnu.org
Subject: Re: bug#47225: QEMU warning about performance
Date: Tue, 06 Apr 2021 20:42:38 -0400
[Message part 1 (text/plain, inline)]
Hi Leo!

Leo Famulari <leo <at> famulari.name> writes:

> On Tue, Apr 06, 2021 at 05:42:15PM -0400, Maxim Cournoyer wrote:
>> From c720e68229322e5c38c0321b021e8d6430636111 Mon Sep 17 00:00:00 2001
>> From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
>> Date: Tue, 6 Apr 2021 17:37:33 -0400
>> Subject: [PATCH] system: vm: Set a larger value for the msize option of the 9p
>>  file system.
>> 
>> Fixes <https://issues.guix.gnu.org/47225>.
>> 
>> * gnu/system/vm.scm (mapping->file-system): Set the msize option to a value of
>> 100 MiB (from the default 8 KiB).
>> 
>> Reported-by: Leo Famulari <leo <at> famulari.name>
>
> Thanks! I'll test and push along with the next kernel update (that's
> when I noticed this warning). Feel free to push sooner if you like.

I hope I'm timely; I've made a revised version of the patch, that should
cover more cases (and actually uses 100 MiB rather than 1 MiB :-)).

Thank you,

[0001-system-vm-Set-a-larger-value-for-the-msize-option-of.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47225; Package guix. (Wed, 07 Apr 2021 17:47:01 GMT) Full text and rfc822 format available.

Message #19 received at 47225 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 47225 <at> debbugs.gnu.org
Subject: Re: bug#47225: QEMU warning about performance
Date: Wed, 7 Apr 2021 13:46:23 -0400
[Message part 1 (text/plain, inline)]
On Tue, Apr 06, 2021 at 08:42:38PM -0400, Maxim Cournoyer wrote:
> I hope I'm timely; I've made a revised version of the patch, that should
> cover more cases (and actually uses 100 MiB rather than 1 MiB :-)).

Yes, you're in time :) Thanks for the revised patch.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Thu, 08 Apr 2021 19:19:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Thu, 08 Apr 2021 19:19:01 GMT) Full text and rfc822 format available.

Message #24 received at 47225-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 47225-done <at> debbugs.gnu.org
Subject: Re: bug#47225: QEMU warning about performance
Date: Thu, 8 Apr 2021 15:17:55 -0400
[Message part 1 (text/plain, inline)]
On Tue, Apr 06, 2021 at 08:42:38PM -0400, Maxim Cournoyer wrote:
> I hope I'm timely; I've made a revised version of the patch, that should
> cover more cases (and actually uses 100 MiB rather than 1 MiB :-)).
> 
> Thank you,
> 

> From eb600c4ffbc8016709db9471f9dc0be1d60167a7 Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
> Date: Tue, 6 Apr 2021 17:37:33 -0400
> Subject: [PATCH] system: vm: Set a larger value for the msize option of the 9p
>  file system.
> 
> Fixes <https://issues.guix.gnu.org/47225>.
> 
> * gnu/system/vm.scm (%default-msize-value): New variable.
> (%linux-vm-file-systems): Use it as the value of the msize option.
> (mapping->file-system): Likewise.
> 
> Reported-by: Leo Famulari <leo <at> famulari.name>

Pushed as bdc96f6e0e7fbf502f368d3381297ec0b75216d7

Thanks!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 May 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.