[pve-devel] [PATCH manager] fix #3629: ui: rng: increase default ratelimit to 2048 B/s

Stefan Reiter s.reiter at proxmox.com
Mon Sep 20 10:55:51 CEST 2021


FreeBSD 13 VMs will bug out and consume loads of idle CPU time if the
ratelimit is 1024 B/s or lower. Increasing to 2048 fixes the issue,
confirmed experimentally, and doesn't seem much worse as a default.

Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---

On the one hand this *really* sounds like a FreeBSD bug to me, even reading
through their bugtracker linked from the report in ours.

But on the other, 2048 doesn't sound much worse as a limit either, and since
this appears to be a rather new bug I think it's enough to change it in the GUI
and avoid any hassle with API default changes.

An "ostype" for BSDs might be nice too I suppose. Not sure "Other" would cover
this, I personally use "Linux" for my BSD VMs...

 www/manager6/qemu/RNGEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/qemu/RNGEdit.js b/www/manager6/qemu/RNGEdit.js
index e34e2c08..84fdf585 100644
--- a/www/manager6/qemu/RNGEdit.js
+++ b/www/manager6/qemu/RNGEdit.js
@@ -63,7 +63,7 @@ Ext.define('PVE.qemu.RNGInputPanel', {
 	name: 'max_bytes',
 	minValue: 0,
 	step: 1,
-	value: 1024,
+	value: 2048,
 	fieldLabel: gettext('Limit (Bytes/Period)'),
 	labelWidth: 130,
 	emptyText: gettext('unlimited'),
-- 
2.30.2






More information about the pve-devel mailing list