From nobody Mon Dec 08 11:47:41 2025 X-Original-To: freebsd-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 4dQ0bN6cvyz6JgGM; Mon, 08 Dec 2025 11:47:44 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4dQ0bN4K4gz3Mvf; Mon, 08 Dec 2025 11:47:44 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 8BC1AD7892; Mon, 08 Dec 2025 11:47:42 +0000 (UTC) Received: (from phk@localhost) by critter.freebsd.dk (8.18.1/8.16.1/Submit) id 5B8BlfDs027094; Mon, 8 Dec 2025 11:47:41 GMT (envelope-from phk) Message-Id: <202512081147.5B8BlfDs027094@critter.freebsd.dk> To: Konstantin Belousov cc: Rozhuk Ivan , Mateusz Guzik , Warner Losh , Mark Millard , FreeBSD Current , FreeBSD-STABLE Mailing List , brooks@freebsd.org Subject: Re: performance regressions in 15.0 In-reply-to: From: "Poul-Henning Kamp" References: <18FB2858-5CBB-4B7A-8089-224A58C6A160@yahoo.com> <20251208035105.2313075d@rimwks.local> <202512080745.5B87jeIN025646@critter.freebsd.dk> 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 Content-Type: text/plain; charset="us-ascii" Content-ID: <27092.1765194461.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Mon, 08 Dec 2025 11:47:41 +0000 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU]; TAGGED_RCPT(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dQ0bN4K4gz3Mvf -------- Konstantin Belousov writes: > On Mon, Dec 08, 2025 at 07:45:40AM +0000, Poul-Henning Kamp wrote: > > -------- > > Konstantin Belousov writes: > > = > > > JFYI, shared llvm libs are required for lot of things. The incomple= te > > > list of examples that I am aware of are dri drivers and ispc Intel c= ompiler. > > = > > But installing the shared libs for those other users, does not mean we= have > > to link the compiler itself against the shared lib ? > > Sure, we do not have to. > > But there are other benefits from linking the libraries dynamically. > E.g. the same (?) user shed crocodile tears over memory usage by 64bit > system, and linking libllvm dynamically exactly reduces the memory profi= le > by sharing significant part of text for cc, lld, and minor binutils. We can offer it as an builtime option, but unless some RAM factory or othe= r burns down, it should not be our default. -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .