From nobody Sun Feb 26 13:50:33 2023 X-Original-To: dev-commits-ports-main@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 4PPlQ42bqsz3tc6y; Sun, 26 Feb 2023 13:50:36 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PPlQ409Syz3hKy; Sun, 26 Feb 2023 13:50:36 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677419436; 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: in-reply-to:in-reply-to:references:references; bh=lr1TknBnECP75ZEG/2lG7uE7HclYcDIzp5iBPv8Xz30=; b=PVexNjyrTlA9RT0tIWK9OdcZmRvKdfYyv5mr4N6vhCWYjX4tD63O+8THjxXc9PCEgZ0kGu jI6GuAds2D/dDD/8y3pVqCtAvjLETY38xhzm9NwdEvk4LtmemjdRJXoorLVjM9r/Ts/dQm 4h4Pdb6AuT0vcFhEXydqVsDA/3HTGtuWK9kvwAj5wxv6Ybt6jAfh3xEJed6oiB+R/58tNX AJcKkocXZv+9O7bnjBuu+ORX7sF2Ba8b5PeZ9lvrsYyTZxwlfAnFFrmnwrGa7LkKXtu09W wDBdSLj82uDhTReUeP3ZTExElihcXCZuQiLORmzSap2w4npTTwkjoh+81UTsIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677419436; 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: in-reply-to:in-reply-to:references:references; bh=lr1TknBnECP75ZEG/2lG7uE7HclYcDIzp5iBPv8Xz30=; b=LIWVWXjC1EFAjlqbT+mipbbrESoKUYzPj4XqjIcCGAbd1kUYwGFH6sII4zocXLsN+Z4sKK fgPlB+PNZtCvALN0WrpZfg3wpPise3ugyNjeZDqWPfa8SRxcyKaqvUXGKxaiXP2HBHLWcZ nhmsFyWU5f8Kcaxu5FQZY9vSBGA/S6qmEne27WhKT3Bor4shEdBDbXkLVNSiYWfaYzp/6M j1Ai1py52x1cj0YbWvwW1Yo1FqIFneuj2UJbSjRdjI642lputmdQI5rmsmo02qVw0+SFwK t94CkcQZTEB2vgmoLsbk0Hq+Fpvwtio3NhyCg8dm0INwgIs4Zj3xkEsmY6e+Eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677419436; a=rsa-sha256; cv=none; b=w9Lm49SdR2bex+z8+WwzE7cOlpaZgjBkvdnAvBUWgXoXy0SekBZx2P+prpIgD+e8X8H73I IkEGZiZcVbpUZriWzCAPEpJugByKC+YlVfdrwwe0sgNY6EnUpdgEhH/Mgv9v1MCAdZ/neE LAfvaQbVB/eJzciVItmMY99XisYGW8l7PTufysnHLeRR08Jgsw0dFHMgRBMFnwLsPtolLX NmBsxHtMvzmrSPYiD6yNrVMquMEht/maLlKhB6CibRgEZjx29mTRqQwR8hY9WkCUGs1v2i WnYuhv0qKoU9RNosPbgox0pTnMfqLp3XKbrnvoA32DBcLSoeyrbRcz9adaP4Ig== Received: by freefall.freebsd.org (Postfix, from userid 1354) id F2B7812BF; Sun, 26 Feb 2023 13:50:35 +0000 (UTC) From: Jan Beich To: Matthias Andree Cc: Piotr Kubaj , ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: c8c2d4f22536 - main - lang/python3: allow using LTO on powerpc64 In-Reply-To: <98e988fa-9c8b-abee-8357-1cacd7462014@tu-dortmund.de> (Matthias Andree's message of "Sun, 26 Feb 2023 13:00:19 +0100") References: <202302241548.31OFmQ39049727@gitrepo.freebsd.org> <98e988fa-9c8b-abee-8357-1cacd7462014@tu-dortmund.de> Date: Sun, 26 Feb 2023 14:50:33 +0100 Message-ID: List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N Matthias Andree writes: > Am 24.02.23 um 16:48 schrieb Piotr Kubaj: > >> The branch main has been updated by pkubaj: >> URL: >> https://cgit.FreeBSD.org/ports/commit/?id=c8c2d4f2253694802ef720f098c57800570ad2fc >> commit c8c2d4f2253694802ef720f098c57800570ad2fc >> Author: Piotr Kubaj >> AuthorDate: 2023-02-24 15:48:16 +0000 >> Commit: Piotr Kubaj >> CommitDate: 2023-02-24 15:48:16 +0000 >> lang/python3: allow using LTO on powerpc64 >> It was recently fixed and will be available in >> 13.2-RELEASE. >> Since LTO is not enabled by default, it's ok to make it available. > > Careful. LTO causes EXCESSIVE memory use for the build. > I've had to disable it for a low-memory server I operate (amd64 based, > but that's the LTO feature itself, not the CPU). Are you sure 570Mb RAM is EXCESSIVE for amd64 ? For example, # LTO=on (default) $ command time -l poudriere testport -j 131amd64 lang/python311 [...] 239,69 real 337,42 user 28,81 sys 576192 maximum resident set size 31894 average shared memory size 376 average unshared data size 130 average unshared stack size 6421966 page reclaims 722 page faults 0 swaps 264 block input operations 7192 block output operations 492544 messages sent 1601891 messages received 206 signals received 557019 voluntary context switches 94688 involuntary context switches # LTO=off $ command time -l poudriere testport -j 131amd64 lang/python311 [...] 51,74 real 157,36 user 24,55 sys 227632 maximum resident set size 38459 average shared memory size 342 average unshared data size 133 average unshared stack size 5435102 page reclaims 169 page faults 0 swaps 27 block input operations 5922 block output operations 152036 messages sent 841866 messages received 207 signals received 269370 voluntary context switches 86800 involuntary context switches