From owner-freebsd-xen@freebsd.org Wed Sep 14 15:04:19 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EAF4BDA5FF for ; Wed, 14 Sep 2016 15:04:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAF67159C for ; Wed, 14 Sep 2016 15:04:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8EF4HYX084110 for ; Wed, 14 Sep 2016 15:04:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-xen@FreeBSD.org Subject: [Bug 212681] I/O is slow for FreeBSD DOMu on XenServer Date: Wed, 14 Sep 2016 15:04:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rainer@ultra-secure.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-xen@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 15:04:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212681 --- Comment #5 from rainer@ultra-secure.de --- 10.3-RELEASE-p5: (server ) 0 # time dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count=3D2= 0480 20480+0 records in 20480+0 records out 1342177280 bytes transferred in 1.769942 secs (758317078 bytes/sec) dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count=3D20480 0.02s user 1.75s sy= stem 99% cpu 1.775 total (server ) 0 # time dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count=3D2= 04800 204800+0 records in 204800+0 records out 13421772800 bytes transferred in 17.266468 secs (777331701 bytes/sec) dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count=3D204800 0.15s user 17.06s = system 99% cpu 17.271 total This is ZFS. Probably due to compression on. root@other-server:/srv# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty root@other-server:/srv# time dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count= =3D20480 20480+0 records in 20480+0 records out 1342177280 bytes (1.3 GB) copied, 2.5559 s, 525 MB/s real 0m2.571s user 0m0.041s sys 0m2.125s root@other-server:/srv# time dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count= =3D204800 204800+0 records in 204800+0 records out 13421772800 bytes (13 GB) copied, 93.6892 s, 143 MB/s real 1m33.940s user 0m0.219s sys 0m26.136s root@yet-another-server:/srv# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial root@yet-another-server:/srv# time dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count=3D20480 20480+0 records in 20480+0 records out 1342177280 bytes (1.3 GB, 1.2 GiB) copied, 1.62124 s, 828 MB/s real 0m1.652s user 0m0.004s sys 0m1.616s root@yet-another-server:/srv# time dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count=3D204800 204800+0 records in 204800+0 records out 13421772800 bytes (13 GB, 12 GiB) copied, 100.348 s, 134 MB/s real 1m40.711s user 0m0.172s sys 0m25.004s So, in this particular test, it's actually faster. But I can assure you, in practical use, it's not. 10.3-RELEASE-p7, UFS: (freebsd-srv2 ) 0 # time dd if=3D/dev/zero of=3Dtest.dat bs=3D64k cou= nt=3D20480 20480+0 records in 20480+0 records out 1342177280 bytes transferred in 8.746548 secs (153452229 bytes/sec) dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count=3D20480 0.02s user 1.65s sy= stem 19% cpu 8.756 total (freebsd-srv2 ) 0 # time dd if=3D/dev/zero of=3Dtest.dat bs=3D64k cou= nt=3D204800 204800+0 records in 204800+0 records out 13421772800 bytes transferred in 99.078364 secs (135466233 bytes/sec) dd if=3D/dev/zero of=3Dtest.dat bs=3D64k count=3D204800 0.22s user 18.20s = system 18% cpu 1:39.30 total --=20 You are receiving this mail because: You are the assignee for the bug.=