From nobody Thu Oct 17 01:30:50 2024 X-Original-To: freebsd-arm@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 4XTVfM1skHz5ZHXd for ; Thu, 17 Oct 2024 01:31:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-25.consmr.mail.gq1.yahoo.com (sonic311-25.consmr.mail.gq1.yahoo.com [98.137.65.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTVfL1npKz4Z2P for ; Thu, 17 Oct 2024 01:31:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="GDxqIPh/"; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1729128664; bh=k/a6Ly5YYBaVjOMUv9cYV0BvhW2P0fEdQQHnta8xfZE=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=GDxqIPh/NFnfkshnFllIVMT106GVCJF1F3jiGlFRjfm1TLNMwCbnLpDI9FJE1dax4LiRNufHLoryAJP+Gl0opjN/VgJX1Ux2eSPL8iVE1+MetY1qO2eQjTNovt90pfMceZTOoOcob1FOOUysqmsy+XMkH6H8W1/zgeknDXkHPbzmzeMWojawuLWh4TYbmZw+1cT2a9AtSrJ//FegkN4vYYvgtsIxUDCsKZkmgA3hDAWbBWkQng/iYcX4Aqi3kQZPnW3gu+tIAW2o6MHcOjBVLKSj2yHp7gNi+ZE608a2pzKNwA19JtaD7vMo1gnOIDkZuNnAazl/fXnF3BDMhsXGpQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1729128664; bh=70ozNiRf0V+3BnXdNkd325+n4/34UD6wGOVFQLYszPC=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=VCPECe8i+hYjGP6Gh70FKzivc1rdkM0tu+syoHilXC23JCEDJAVYeaF2sMNN0OtVfeKB/plo0jZ0w91xYYNHeyFYviv1fTaEzR4wmkkagYXLUbda5LLHNPuLjfRL9C0bISyXJJMku6iUEEM1qEgRrLeSt8nvDUdL5wLDzwJwySUZvdfgM++dg9c7b/uviN36coz/1+v7yUlOU8kR+p1hLJtaOISV8lmMGT9xyoLcU2vmKs14Y++DmDHSf89n6xNC4BhcOo5R3zQS8ZjayN3cuMGm5S3aynAgqRwHyvJPA7woMu5Zhy8uDnge9FcwqUl92qQRjEPHarXE7I+Qd6FBgA== X-YMail-OSG: .0ONN8sVM1kmpWhOQ1su5eaWwJY9HxDLyJG4eGLUSJAnLNHhmNiea8bFWn2_GkI 60n31Nl.WoW.JyTvHvFztk80F6gX4ahWt4wG0O27AhEqNk3tHtex_BB6mlkzjelDNgu93_Kzt_mI cK7qHjpb_frsySUfoq05ewNnBao3Rl1h_QJZNJpoXE7dfw7r9yfCFG4uMBsxsVhWsOw6lXScArkY VIaYaP0mDeWMQlkNKhfFf98S19TALGNvddYOxgpMCb8_13VfPrAZY0_iTdqXsCQ8XIUH0bn8riNC 0ZSrRfUwXHo5QXNW3jL3MI.e0fJt6KG1YpO.QE8Dz0k52VNONOCtwS08t9Br0MOdbBL36dCqHj4_ SAuzTcKMXlbFSisN3zFjN2iILKUO2Hwuu6DWolm_gEQzcrB4d8ebhcjhuM9OtzDE8IosE0dOut1H 4JP7qXUrLfUlRmEjjusrYA8xpCJyOy4GTgDc0Ac3PWjxGMt2u01XWwwtvdRE0rHyUciB2PVF7mXg zs0pj6lzdewUnzWrW4wk6V50xcA8RBmh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0KmR9.nYF.1q_Dr3QkCBX7EUg0vMIKN 6s2240TeW55G3m_8CNGt86QJ.9ijS3VJIsr2QPyaYHZbWzepbUYLLxVoMhuPm3XUYokkPb5ea7Lf ppmw05PsJeO0vrrdE0HjNNukE.1GGzuwcY0Ie0qAx.frPJINLxtPxF95X0xkEFQiIbFZcbJrtN7v 9Hi3YbL_a5wZnlUzuYSTSkROJN2ZkjcZgmHtCBkhvJhPta3y2tpcmu9K2pjLAPlLpDenGTRRJ_VM At5gZFy4juejfoyHhK0RFk4nsn.dvOItArMdxtHwOFztwUZJFDPcb7OSLR88Pf07LpfpGE38sNfe t1t9fp9g7rJIN_MxXzqly25CJaNSKzUY2PIGVlFxFD8V_H9Af4tgk5tS6jQc.UbFkx0Z9pGULKSz YgWsxr_32u1SHzWy49e_3mrJfJ18GOiqvld6DogFjkS7rdrS4wZEETG3yXkujls9lcsIYoKhZ309 EQd5.2qD_nrinnlRlc8_Z9nSnEGD4z22m4XQbER9amfdVFs_h1iEny.IvIvOJzxpzFMXdcPtO7zu BxTc84Xfq7.de5U3pHFdr1.iAFTHHIxuvzC0qmVwI6kxkLQEpmfGpf_YsptZB12PHOpmRWmAKIIx cSq4VjFm2t04w1ER1bWGU2jNSmm5nV9V7qSNxrAfEN4sl.0E0ojmg99vc2bNVse0aQ2QNOPp9.Ga Q4u1gc2s7pom9jUC5 X-Sonic-MF: X-Sonic-ID: 5810d035-1c59-41c9-bc2d-cb2e5bb24ba6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Thu, 17 Oct 2024 01:31:04 +0000 Received: by hermes--production-gq1-5dd4b47f46-9j75b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7c925cc2a1870c53bd3017ac05cb4121; Thu, 17 Oct 2024 01:31:01 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Error message during a iozone test: "fsync: giving up on dirty . . ." Message-Id: Date: Wed, 16 Oct 2024 18:30:50 -0700 To: FreeBSD ARM List , Current FreeBSD X-Mailer: Apple Mail (2.3776.700.51) References: X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.948]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.206:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.206:from] X-Rspamd-Queue-Id: 4XTVfL1npKz4Z2P X-Spamd-Bar: --- After doing an iozone test run with some basic monitoring ( top use, ls -lodTt /tmp/iozone.* ), I later noticed that the console was displaying message(s). dmesg -a dispalyed them as well: fsync: giving up on dirty (error =3D 35) 0xffffa00087390a50: type VCHR = state VSTATE_CONSTRUCTED op 0xffff000000cb5458 usecount 1, writecount 0, refcount 31 seqc users 0 rdev = 0xffffa00087271400 hold count flags () flags () v_object 0xffffa0008e01de70 ref 0 pages 2185 cleanbuf 28 dirtybuf 1 lock type mntfs: EXCL by thread 0xffff000145b3a900 (pid 17261, = iozone, tid 100423) with exclusive waiters pending Unfortunately, this was based on my personal build, not an official FreeBSD build. I do not know if it is repeatable in either type of context. # uname -apKU FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT #9 = main-n272664-149e1af6ae49-dirty: Sat Oct 5 20:13:13 PDT 2024 = root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src= /arm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500024 1500024 The context was UFS, no ZFS pool in use. The system was a Windows Dev Kit 2023 using a USB3 media: a U.2 Optane via an adaptor. For reference: # iozone -w -i 0 -l 128 -r 4k -s 1g Iozone: Performance Test of File I/O Version $Revision: 3.506 $ Compiled for 64 bit mode. Build: freebsd =20 Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer, Vangel Bojaxhi, Ben England, Vikentsi Lapa, Alexey Skidanov, Sudhir Kumar. Run began: Wed Oct 16 17:09:54 2024 Setting no_unlink Record Size 4 kB File size set to 1048576 kB Command line used: iozone -w -i 0 -l 128 -r 4k -s 1g Output is in kBytes/sec Time Resolution =3D 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. Min process =3D 128 Max process =3D 128 Throughput test with 128 = processes Each process writes a 1048576 kByte file in 4 kByte records Children see throughput for 128 initial writers =3D 209938.09 kB/sec Parent sees throughput for 128 initial writers =3D 130875.72 kB/sec Min throughput per process =3D 863.04 kB/sec Max throughput per = process =3D 4826.54 kB/sec Avg throughput per process =3D 1640.14 kB/sec Min xfer =3D 524736.00 kB Children see throughput for 128 rewriters =3D 214463.62 kB/sec Parent sees throughput for 128 rewriters =3D 214422.18 kB/sec Min throughput per process =3D 805.30 kB/sec Max throughput per = process =3D 1983.41 kB/sec Avg throughput per process =3D 1675.50 kB/sec Min xfer =3D 425788.00 kB iozone test complete. I do not know the relative timing vs. the message, but a: # ls -lodTt /tmp/*=20 load: 3.24 cmd: ls 17508 [ufs] 35.14r 0.00u 0.00s 0% 3056k #0 0xffff0000004fad98 at mi_switch+0xd8 #1 0xffff0000004baafc at sleeplk+0xfc #2 0xffff0000004b951c at lockmgr_slock_hard+0x27c #3 0xffff00000082b474 at ffs_lock+0x64 #4 0xffff0000006007c8 at _vn_lock+0x58 #5 0xffff0000005e80b8 at vget_finish+0x28 #6 0xffff0000005ceae4 at cache_fplookup_final_child+0x54 #7 0xffff0000005cc680 at cache_fplookup+0x4c0 #8 0xffff0000005d8534 at namei+0xd4 #9 0xffff0000005f9154 at kern_statat+0xa4 #10 0xffff0000005f976c at sys_fstatat+0x2c #11 0xffff0000008c00c4 at do_el0_sync+0x634 #12 0xffff00000089a1ac at handle_el0_sync+0x4c load: 10.95 cmd: ls 17508 [ufs] 61.42r 0.00u 0.00s 0% 3064k #0 0xffff0000004fad98 at mi_switch+0xd8 #1 0xffff0000004baafc at sleeplk+0xfc #2 0xffff0000004b951c at lockmgr_slock_hard+0x27c #3 0xffff00000082b474 at ffs_lock+0x64 #4 0xffff0000006007c8 at _vn_lock+0x58 #5 0xffff0000005e80b8 at vget_finish+0x28 #6 0xffff0000005ceae4 at cache_fplookup_final_child+0x54 #7 0xffff0000005cc680 at cache_fplookup+0x4c0 #8 0xffff0000005d8534 at namei+0xd4 #9 0xffff0000005f9154 at kern_statat+0xa4 #10 0xffff0000005f976c at sys_fstatat+0x2c #11 0xffff0000008c00c4 at do_el0_sync+0x634 #12 0xffff00000089a1ac at handle_el0_sync+0x4c ^C seemed to have been unable to make progress during the "rewriters" activity. =3D=3D=3D Mark Millard marklmi at yahoo.com