From owner-freebsd-questions@freebsd.org Sun Jan 28 14:01:11 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF813EC7D14 for ; Sun, 28 Jan 2018 14:01:10 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 75E887C4D7 for ; Sun, 28 Jan 2018 14:01:10 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id 196so6417490iti.5 for ; Sun, 28 Jan 2018 06:01:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hhvRsRJr5LiO1YWD6qJNumb8Nhs38KXGNif9hKiMgy0=; b=cAH0FF88KNsOKyJxUZ55dQbpYA0izru/ZJcNgqM8MtZQi6Vnkiz1BiOB6CAKb8H5Nz um/U/jIfRizVL/7c94Ww72/uPixrMMy5Ubn20nijUd1RlB5cBpE9aRUfuqy3/jFr7N0u GgBbB34MDoLaiMq+oZL6j8kv/kB+BuonQ6HQVjTDuSkyXx1Nu6JGotNKgxWrk+RvcloP ZmgiY2mLVK5je3qlCEOgPX557OYcRZEB0NUZ0orxE3tdZQmpjC0jzKchDaBM8it/YMw3 g2FXwZ6UDyHE5Z27PzoU5PyrgzpSGtdftOlk9poe+0Lbsc1mHUJdCndgB5kYKfgpgeZ0 elGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hhvRsRJr5LiO1YWD6qJNumb8Nhs38KXGNif9hKiMgy0=; b=Tlxrb+VcVVXSwbiYR2Nmt5gHpL8ONVc04ObTmelmeKW5cQL7hqVH7NuVo44x4s+XQ+ VWFEw+ruaOeqHaQpOnFuObNosOyRQZyJrdahM+kDh4V/s5UyIWIErkX5UUKNYk7XiKIh BYr/Fw7lTmCo4NlI3mzYdMtOdRNRdP4R4NCMMj4anl+PbAJAZ/Ln/AXAilMwBrqdEFPq Q75SRRhtsz3BQ9EFItqyNlVhaXgJJwg52+K47JSgMkJBqxVT+7d4bxFPaP5CykRDDTeK hy/WEamjyOyA+nXB46PcuSGKEhIDcfBqTUnmVCT3Q5ErK+lHPhIRaNr4QJRIkNMqIFbH x7sg== X-Gm-Message-State: AKwxyteyOhdCv3LRq8c9zLjrrKCCzODayTi7lTV4mAzMQ9T9dDhQiZQY /PLS7Rrr5BkRLg9uIutUQEhAzc/W+58a5QTe6Yvjrw== X-Google-Smtp-Source: AH8x225CzKkVpNRthUohtTTm/v50VjxkJn8vbxCovohIiKioKKEFYzUTFVGcbZWjnWFFqP/mre1zx3YQyWMTQxYfsCo= X-Received: by 10.36.138.134 with SMTP id v128mr23898612itd.153.1517148069719; Sun, 28 Jan 2018 06:01:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.156.70 with HTTP; Sun, 28 Jan 2018 06:01:09 -0800 (PST) In-Reply-To: <20180128.170758.1927192209618154831.yasu@utahime.org> References: <20180128.072704.1527334119280589760.yasu@utahime.org> <20180128.170758.1927192209618154831.yasu@utahime.org> From: Adam Vande More Date: Sun, 28 Jan 2018 08:01:09 -0600 Message-ID: Subject: Re: Difference in wainting time between update of base/doc/ports tree To: Yasuhiro KIMURA Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2018 14:01:11 -0000 On Sun, Jan 28, 2018 at 2:07 AM, Yasuhiro KIMURA wrote: > From: Adam Vande More > Subject: Re: Difference in wainting time between update of base/doc/ports > tree > Date: Sat, 27 Jan 2018 18:15:45 -0600 > > > It is most likely due to IO. There are tools to profile processes if you > > want empirical verification. > > I would like to know why this happens. So would you please tell me > what tools can be used to investigate it? FreeBSD version of my box is > 11.1-RELEASE amd64. > pcmstat or dtrace might be a good starting place. Then you can use something like https://github.com/brendangregg/FlameGraph to produce a more visual output if desired. -- Adam