From nobody Sat Apr 27 18:36:38 2024 X-Original-To: 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 4VRdbW1fHYz5Jddk for ; Sat, 27 Apr 2024 18:36:39 +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 4VRdbV6Q1vz4j0k for ; Sat, 27 Apr 2024 18:36:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714242998; a=rsa-sha256; cv=none; b=my5NGEra9rvIOOlW2mJVxLV7J+c1vKfovHmC1cvHvEajPHpRVOZkFgXtezCdP/E/10pm8P 2fugfr8rMyZ7c9yR/eK8R4kjyyCCLhQlPqmxsmaGXMEVnaqar/HOOLyLLl+IwvMPWZKKr+ CFF7ehRS/gKYoW3Xs9DlBRnUpemO1dSDXY/Rpc+/yhJG1A9R6DLdmaEQJk/FyMxj7tefQT KyrAF/z3qAbQ+Vw56116dpELhdi+v6PwNSkVzEgYUnhYCLdLWqKoqp+BziO7VhtNyXPQ82 BYz3YVamS+clXei+NjCWyjIzLdmzqcSVgHamUvEwuc/VldXRyeSHm2tYJjU5Ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714242998; 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: in-reply-to:in-reply-to:references:references; bh=F60cbx5OLBT/jdXniOidZFnBtwhHcgQ0eMV20KJVfkE=; b=bQ1Dy57xkXGHQNx7bm1wiwe4d92PoyTiybmUiYL3uWotcuOjJv7C34tjxggh/dGLkrlwUs WT9R/p356SSndZsasaerTlBWHmGwwqSLIfV6dW5hplmSvF6y9taItSSamlLnzsnUE5Sg4j olmAkb4qtgpHhFDtkCzVUB/0nW9LS5EFUTj+ibaCzLAnZFL6LqsRfL/56L9hQNyK0/tO3K QzyKxUbZVSncy9I/kUsnwWXoLWm6SgHT6FzBJkCMhaWC+xmabdJIt14CDFYji7D/skBVbF axRjXJc/S9kdYpVmYmOktBW2u8b2yxwexx/eANKnwowhByTz6VQswGUcQVS7tw== 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 4VRdbV622qzsT8 for ; Sat, 27 Apr 2024 18:36:38 +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 43RIackn061726 for ; Sat, 27 Apr 2024 18:36:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43RIaclM061725 for bugs@FreeBSD.org; Sat, 27 Apr 2024 18:36:38 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: bugs@FreeBSD.org Subject: [Bug 277992] mpr and possible trim issues Date: Sat, 27 Apr 2024 18:36:38 +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: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mike@sentex.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277992 --- Comment #9 from mike@sentex.net --- I decided to try the same tests on the exact same hardware but booting true= nas scale to see if the problem persists. If I do a manual trim between zfs se= nd | zfs recv, the performance seems fairly consistent and there are no crashes/resets of the drives in the pool on linux (6.6.20-production+truena= s). Not a linux person so hard to say if there are some quirks for these disks = on linux.=20 root@truenas[/var/log]# hdparm -I /dev/sda | grep -i tri * Data Set Management TRIM supported (limit 8 blocks) * Deterministic read data after TRIM root@truenas[/var/log]#=20 If I dont do the manual TRIM between send|recv (ie zpool trim -w pool), I g= et the same pattern as when I do a manual trim -f /dev/da[x] on each disk one = by one on FreeBSD. I get 3 full speed loops and after that, super slow until a proper trim is done. On FreeBSD I do this to the raidz1 pool by doing a tri= m -f /dev/da[1-4] one by one and resilver. So it does seem to point to TRIM via zfs (be that manual or autotrim) someh= ow broken with this drive on FreeBSD via the mpr driver or via the ATA driver. --=20 You are receiving this mail because: You are the assignee for the bug.=