From nobody Sun Aug 20 19:29:47 2023 X-Original-To: current@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 4RTQgS5Tmmz4qcW0 for ; Sun, 20 Aug 2023 19:30:28 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (P-256)) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTQgS4WYCz3Lqh for ; Sun, 20 Aug 2023 19:30:28 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none Received: from webmail2.leidinger.net (roundcube.Leidinger.net [192.168.1.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: Alexander@Leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id DE0162C8; Sun, 20 Aug 2023 21:29:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1692559822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UxcJ8VacR93uwsBrYTrJn0PSDg8RaBx2oFp3Moz5W7Y=; b=u6h6CI6P+k1hdHWggHYFosSB6qUXc8RS2EXunC2kP4VKRmIEbH6xED/fthaf04OxMmXQhN HAbT3SpBjQyERNIZgDhef3bf2t6AJtucYq3GTdf8lgYuEuZTH8Z3hwhROBTeDs3XU4YmBk Xt/nLlQ7uVW2qoJxCa3AdpdpedDCvXpo7K0ZNktkr8I/mB9rEU1dv3mUE/mpC3Y+5pqtCj 1+te8kF3rUnDxSXLsc5J2ytSZ18gPDIUnIGWBsM3AwWsRE7mV87fc6UChZVQVWLu7aLiCY o4SfuSzMgTdC1ofMRmfCjc4audXrTQvkVjG3vHctKzvBHQDmUxRRlACj3hFKlQ== List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Sun, 20 Aug 2023 21:29:47 +0200 From: Alexander Leidinger To: Mateusz Guzik Cc: current@freebsd.org Subject: Re: Speed improvements in ZFS In-Reply-To: References: <61ca9df1b15c0e5477ff51196d0ec073@Leidinger.net> <88e837aeb5a65c1f001de2077fb7bcbd@Leidinger.net> <4d60bd12b482e020fd4b186a9ec1a250@Leidinger.net> Message-ID: <73f7c9d3db8f117deb077fb17b1e352a@Leidinger.net> X-Sender: Alexander@Leidinger.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4RTQgS4WYCz3Lqh X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE] Am 2023-08-20 19:10, schrieb Mateusz Guzik: > On 8/18/23, Alexander Leidinger wrote: >> I have a 51MB text file, compressed to about 1MB. Are you interested >> to >> get it? >> > > Your problem is not the vnode limit, but nullfs. > > https://people.freebsd.org/~mjg/netchild-periodic-find.svg 122 nullfs mounts on this system. And every jail I setup has several null mounts. One basesystem mounted into every jail, and then shared ports (packages/distfiles/ccache) across all of them. > First, some of the contention is notorious VI_LOCK in order to do > anything. > > But more importantly the mind-boggling off-cpu time comes from > exclusive locking which should not be there to begin with -- as in > that xlock in stat should be a slock. > > Maybe I'm going to look into it later. That would be fantastic. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF