From nobody Mon Nov 29 01:42:16 2021 X-Original-To: freebsd-hackers@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 1626118AA4E1 for ; Mon, 29 Nov 2021 01:42:11 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J2Sl66hZJz3vTx for ; Mon, 29 Nov 2021 01:42:10 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-qv1-xf33.google.com with SMTP id m17so12971013qvx.8 for ; Sun, 28 Nov 2021 17:42:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=Kdfim5zP21PTzCXOoduTzFjhseT/PWsbTp06YrwgwIs=; b=AMRdBcTyKhy+d/wELT5i5y5URbOTJPE2IXG3dAw1kbyCfVn00EmhLMbFn2E/oc/tKy 3kDp0DQq7skKy+7dl85r42TIbjX1Nc1iO3vDepvb07L+w10qFEoWyCT9I8ZABAO9ytyz RHGP23ylfILWxc1Ml41wa27sKxw6SHjemdZnD4AG4MacjfUwKF15drm8Wf8Vi9qiePPg gMIQSbCr4F2wkB9Vx5YwWEJ4da8D6ngbuM8IHrUV9+dQIrliLbfJszJIHWGrBE2n2/Ag CM8tjz+ajDCIEBWlWtObio/lRZGF1NaZIDwodOJYGKh+NXssPQJZfY4CfiMSBHXoxQ52 j9Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=Kdfim5zP21PTzCXOoduTzFjhseT/PWsbTp06YrwgwIs=; b=f/Ww9IpRGEEIGtZ1LBh8Ybg+THqZUjcemTNEdjAzDDFAo6zIc7g+wvZ6U8XfvtapSl Da4lwa4zDMQewVxUricSs34nxSJcTuI+GIROtcSkjoa3fG2yv29pW9d/jS5S3zGcyQwn JBX8wC0d/hjj8QCMuq/xuGjEkRXx3ipA3SG51FNJ+pnlJaxmlMiqwNUJiD72ByVxmUZq u3NyVWW6S0+zzGj+DGETZdhnkETBEvPnfCdNHdU2b26HAu+e8NKkZp4kfvaxyBQ6Zssi z9KS5qHhKu3B41IMsHCh9ouJ/JFooE6RF5YN5/n94HFG4Ov4y98CugwWpcg54Hq520kW mt7Q== X-Gm-Message-State: AOAM532dk+UiN4wz6byCnzvCB3qxkgqCWdQnndU3egJrXcaETDcjjJPL 0zGk7Gkx7NCBoJ5hXIJNBOYliJZhpbA= X-Google-Smtp-Source: ABdhPJxPaAljl16NJnlWwFfq6mEJCdVAbYonlQHXBFnykP090i2Bws4PX3NAyXgDGtwKLGgfZeNN+g== X-Received: by 2002:a05:6214:401e:: with SMTP id kd30mr27712254qvb.80.1638150130539; Sun, 28 Nov 2021 17:42:10 -0800 (PST) Received: from ?IPV6:2603:6000:a401:3a00:6e88:14ff:fea7:590c? (2603-6000-a401-3a00-6e88-14ff-fea7-590c.res6.spectrum.com. [2603:6000:a401:3a00:6e88:14ff:fea7:590c]) by smtp.gmail.com with ESMTPSA id z10sm8047119qtw.71.2021.11.28.17.42.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 28 Nov 2021 17:42:10 -0800 (PST) Message-ID: <836e9e78-7220-c3aa-796c-7f31b23aae6f@gmail.com> Date: Sun, 28 Nov 2021 19:42:16 -0600 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: Call for Foundation-supported Project Ideas Content-Language: en-US To: Steve Kargl Cc: freebsd-hackers@freebsd.org References: <861r36xzpe.fsf@phe.ftfl.ca> <20211128220732.GA81140@troutmask.apl.washington.edu> <20211129003635.GA81568@troutmask.apl.washington.edu> From: Jason Bacon In-Reply-To: <20211129003635.GA81568@troutmask.apl.washington.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J2Sl66hZJz3vTx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 11/28/21 18:36, Steve Kargl wrote: > On Sun, Nov 28, 2021 at 05:55:32PM -0600, Jason Bacon wrote: >> On 11/28/21 16:07, Steve Kargl wrote: >>> >>> % ps -ww -p 77387 >>> PID TT STAT TIME COMMAND >>> 77387 2 R 40:34.67 c++ >>> >>> 40 minutes for 1 file with many exceeding 30 minutes seems a tad bit >>> excessive. >> >> I would bet you have a hardware issue. I've never seen a buildworld take >> more than a few hours and that was on some very old hardware. >> > > It's certainly not the latest and greatest, > CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (1995.04-MHz K8-class CPU) > ... > ada0: ACS-4 ATA SATA 3.x device > ada0: Serial Number 1B0607771A0800257271 > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > > but this laptop has built FreeBSD for several years and each > year and with new import of llvm the buildworld times go up, > up, up... > > buildworld is essentially the only thing running on it. > > last pid: 4921; load averages: 2.17, 2.12, 2.29; b up 4+22:40:32 16:35:53 > 78 processes: 3 running, 75 sleeping > CPU: 0.2% user, 98.0% nice, 1.4% system, 0.4% interrupt, 0.0% idle > Mem: 1045M Active, 1543M Inact, 11M Laundry, 776M Wired, 395M Buf, 575M Free > Swap: 3881M Total, 84M Used, 3798M Free, 2% Inuse > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 4918 root 1 106 4 220M 153M RUN 1 2:17 97.05% c++ > 4763 root 1 106 4 1140M 924M CPU0 0 13:29 95.20% c++ > 4921 kargl 1 20 0 14M 3392K CPU1 1 0:00 1.47% top > 1018 kargl 3 21 0 169M 23M select 0 50:22 1.14% Xorg > 4889 kargl 1 20 0 22M 8636K select 0 0:00 0.16% xterm > CPU utilization close to 100% would pretty much rule out a disk bottleneck, assuming it stays at that level most of the time. I would watch it closely for a while, as well as the swap stats. I would guess the compiler WCPU will plummet at some point if it's taking half an hour to compile one file. -- All wars are civil wars, because all men are brothers ... Each one owes infinitely more to the human race than to the particular country in which he was born. -- Francois Fenelon