From nobody Thu Feb 22 17:18:08 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tgfww3bDnz5B1df for ; Thu, 22 Feb 2024 17:18:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tgfww2ShPz4TnF for ; Thu, 22 Feb 2024 17:18:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708622288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7JY12Lt94BnmX+5X0fiR0jTdubON4uf8ku70kjcyngs=; b=tCkyjLYTOLbFWiHQc5vEuYx8grtqti6xnleGWyEMbMDPjZh/8h0t3VrAhwjG4JtEjqvB+X pAiMsXr+uOsV79Mjj14WYIgzxQrKVDyQalZpJH/6VH+CKQxH9F6VDdZ87uHTwJ4dJyAAmv fiWUZAXr78yA1vKbW2g3sag+mqB5n+qog++4wWJmud8OpL/5K5ShXKuGV99deQI0VuvZPo 1pAjyzMUEabmK/38MaJ/F2hbC9Vo+zUiEfzWvUx61tWTdgu+KLnqa5Amm+bMhg8nTnrWbC s7DzL1j8Wcfbkei+D0NNo8GTXBc/EMdof1eCxC2e0IeowhwuyI53Xem0nNzzwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708622288; a=rsa-sha256; cv=none; b=FWMJnoCZjx+n4fwbkvit8FoJlP5Bb333ZhDx9EaFN/E3AYWsnLfUnlRomDiSk9gWOCU9LG FXmU7HhlH5I2LCpp/CqmSenRrFlVolEoyAmvLJGW4iJmU7ncLDHLPvN1cacYwkhN4oaDuT 5Q6k6AwaDl5P6B4TIOF1OIkhLpoA2ULPHYcBkTvcdbycwx3/6/Uqe2+3QHKzV8VU1VS09d +ip3K50/3dlIDnxgiVsBnf5JLakQ4Mo+/T+GglPi30gbwnj+QQxGbjKKk2TD0Gy91aRLUS q4MXfv2c1f+hqI3I3TzpNJGGiR4SHGYF+LMCt5/MSL5fGCczetuUrY3KBVmlow== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tgfww1SCFzgW1 for ; Thu, 22 Feb 2024 17:18:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41MHI8fG016816 for ; Thu, 22 Feb 2024 17:18:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41MHI8F3016811 for ports-bugs@FreeBSD.org; Thu, 22 Feb 2024 17:18:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277225] emulators/xen-kernel - poor disk performance Date: Thu, 22 Feb 2024 17:18:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mgrooms@shrew.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: royger@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277225 Bug ID: 277225 Summary: emulators/xen-kernel - poor disk performance Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: royger@freebsd.org Reporter: mgrooms@shrew.net Flags: maintainer-feedback?(royger@freebsd.org) Assignee: royger@freebsd.org I've been doing some testing with Xen using a FreeBSD as a control domain a= nd have observed a dramatic difference between dom0 disk performance and domU. Here is what I'm using as a testbed: Xeon 8336 ( 32c/64t ) 256G 3200mhz ECC RAM 16x SSD in RAID10 The difference between dom0 and bare metal disk I/O is pretty much the same= so I didn't bother including it here. However, a single domU only seems to per= form at around 10% the speed of the dom0 ... FreeBSD 13.2 Dom0 - UFS ---------------------------------------------------------------------------= ----- Version 1.98 ------Sequential Output------ --Sequential Input- --Ran= dom- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --See= ks-- Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP test2.shrew.lab 32G 745k 99 1.5g 98 1.1g 75 1985k 98 1.3g 48 +++++= +++ Latency 11285us 8916us 539ms 8359us 464ms 4482= us Version 1.98 ------Sequential Create------ --------Random Create----= ---- test2.shrew.lab -Create-- --Read--- -Delete-- -Create-- --Read--- -Dele= te-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++= +++ Latency 39572us 20us 28us 24095us 15us 25= us FreeBSD 13.2 Dom0 - ZFS ---------------------------------------------------------------------------= ----- Version 1.98 ------Sequential Output------ --Sequential Input- --Ran= dom- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --See= ks-- Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP test2.shrew.lab 32G 301k 99 1.2g 88 842m 94 673k 99 1.8g 98 +++++= +++ Latency 26165us 134ms 11993us 12551us 5559us 4839= us Version 1.98 ------Sequential Create------ --------Random Create----= ---- test2.shrew.lab -Create-- --Read--- -Delete-- -Create-- --Read--- -Dele= te-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP 16 +++++ +++ +++++ +++ 25662.595077 49 +++++ +++ +++++ +++ +++++ +++ Latency 1878us 61us 315ms 1811us 22us 2567= us Rocky Linux 9.3 DomU - UFS img ---------------------------------------------------------------------------= ----- Version 2.00 ------Sequential Output------ --Sequential Input- --Ran= dom- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --See= ks-- Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP linux2.shrew.la 31G 1294k 97 112m 5 89.7m 6 2421k 98 159m 7 3009= 76 Latency 6158us 12484us 31509us 3993us 9576us 33077= us Version 2.00 ------Sequential Create------ --------Random Create----= ---- linux2.shrew.lab -Create-- --Read--- -Delete-- -Create-- --Read--- -Dele= te-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++= +++ Latency 678us 561us 533us 737us 15us 587= us Rocky Linux 9.3 DomU - ZFS img ---------------------------------------------------------------------------= ----- Delete files in random order...done. Version 2.00 ------Sequential Output------ --Sequential Input- --Ran= dom- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --See= ks-- Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP linux3.shrew.la 31G 1307k 98 145m 7 98.8m 7 2389k 98 196m 9 2584= 66 Latency 6420us 15877us 132ms 4481us 5128us 28223= us Version 2.00 ------Sequential Create------ --------Random Create----= ---- linux3.shrew.lab -Create-- --Read--- -Delete-- -Create-- --Read--- -Dele= te-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++= +++ Latency 926us 102us 287us 996us 162us 571= us FreeBSD 14 DomU - UFS img ---------------------------------------------------------------------------= ----- Version 1.98 ------Sequential Output------ --Sequential Input- --Ran= dom- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --See= ks-- Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP freebsd2.shrew. 32G 748k 5 195m 0 87.9m 0 1991k 13 151m 0 3845= 0 Latency 11178us 93012us 43601us 8594us 30453us 159= ms Version 1.98 ------Sequential Create------ --------Random Create----= ---- freebsd2.shrew.lab -Create-- --Read--- -Delete-- -Create-- --Read--- -Dele= te-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++= +++ Latency 38388us 17us 20us 37807us 13us 19= us FreeBSD 14 DomU - ZFS img ---------------------------------------------------------------------------= ----- Version 1.98 ------Sequential Output------ --Sequential Input- --Ran= dom- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --See= ks-- Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP freebsd3.shrew. 32G 750k 4 189m 0 95.6m 0 2043k 9 188m 0 2446= 1 Latency 11275us 211ms 160ms 8840us 28129us 323= ms Version 1.98 ------Sequential Create------ --------Random Create----= ---- freebsd3.shrew.lab -Create-- --Read--- -Delete-- -Create-- --Read--- -Dele= te-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec= %CP 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++= +++ Latency 39562us 14us 19us 36463us 14us 25= us I assumed there would be overhead but 1/10th the performance doesn't feel right. Is there a problem here or are my expectations just way off? --=20 You are receiving this mail because: You are the assignee for the bug.=