From owner-freebsd-performance@FreeBSD.ORG Mon Jan 2 22:31:39 2012 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B43081065673 for ; Mon, 2 Jan 2012 22:31:39 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA9A8FC18 for ; Mon, 2 Jan 2012 22:31:39 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so18022580obb.13 for ; Mon, 02 Jan 2012 14:31:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=tkWiTKWlGxirMWVr1uIhumVbJwjwI88qNNKOJvdrWaQ=; b=YkFsY3lDOf9kTEHXiWtK+KLtBksVn612qknEik6TgSAqi6z3ercvkAJvxfccBQb0h6 GYcbkiaN1K6qIU+pojPnyNpAA71X14RgTFYf2Lcjujzzvc4cjy7XVLiSilWb96iIlw1u KSeRubQ4uvtLaLaHxnEv9vb9rQVSFNzfoMgMY= MIME-Version: 1.0 Received: by 10.182.159.70 with SMTP id xa6mr43063092obb.1.1325543498836; Mon, 02 Jan 2012 14:31:38 -0800 (PST) Received: by 10.182.152.6 with HTTP; Mon, 2 Jan 2012 14:31:38 -0800 (PST) In-Reply-To: <20120102221929.218250@gmx.com> References: <20120102221929.218250@gmx.com> Date: Mon, 2 Jan 2012 14:31:38 -0800 Message-ID: From: Garrett Cooper To: Dieter BSD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-performance@freebsd.org Subject: Re: cmp(1) has a bottleneck, but where? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 22:31:39 -0000 On Mon, Jan 2, 2012 at 2:19 PM, Dieter BSD wrote: > Task: cp(1) a several-GB file from one drive to another, > then run cmp(1) to verify. =A0Cp runs as expected, but > cmp runs slower than expected. =A0Neither the disks > nor the cpu is maxed out. =A0Local drives, no network > involved. =A0Machine is otherwise idle. 1. How are you running cmp? 2. Why do you claim cmp is the bottleneck? Is it spinning the CPU? Thanks, -Garrett