From nobody Mon Dec 08 11:38:57 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 4dQ0PT0PSZz6JfTB; Mon, 08 Dec 2025 11:39:09 +0000 (UTC) (envelope-from kib@freebsd.org) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 4dQ0PS2lQpz3K9R; Mon, 08 Dec 2025 11:39:08 +0000 (UTC) (envelope-from kib@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 5B8BcwBm010112; Mon, 8 Dec 2025 13:39:01 +0200 (EET) (envelope-from kib@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 5B8BcwBm010112 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 5B8Bcv95010107; Mon, 8 Dec 2025 13:38:57 +0200 (EET) (envelope-from kib@freebsd.org) X-Authentication-Warning: tom.home: kostik set sender to kib@freebsd.org using -f Date: Mon, 8 Dec 2025 13:38:57 +0200 From: Konstantin Belousov To: Poul-Henning Kamp 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 Message-ID: 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-Disposition: inline In-Reply-To: <202512080745.5B87jeIN025646@critter.freebsd.dk> X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=4.0.2 X-Spam-Checker-Version: SpamAssassin 4.0.2 (2025-08-27) on tom.home X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dQ0PS2lQpz3K9R 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 incomplete > > list of examples that I am aware of are dri drivers and ispc Intel compiler. > > 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 profile by sharing significant part of text for cc, lld, and minor binutils.