Date: Mon, 2 Jan 2012 17:38:02 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: Dieter BSD <dieterbsd@engineer.com> Cc: freebsd-performance@freebsd.org Subject: Re: cmp(1) has a bottleneck, but where? Message-ID: <CAGH67wR1WFxJWamXpz8wVLMdh5YrN_%2BktjOqU_PqdNHmQyZ51w@mail.gmail.com> In-Reply-To: <20120103012929.218270@gmx.com> References: <20120103012929.218270@gmx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 2, 2012 at 5:29 PM, Dieter BSD <dieterbsd@engineer.com> 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. >> >> =A0 =A01. How are you running cmp? >> =A0 =A02. Why do you claim cmp is the bottleneck? Is it spinning the CPU= ? > > cmp big_file /other_disk/big_file > > Cmp is running slower than it should. =A0It isn't cpu bound ( 67.5%Idle ) > but it isn't disk bound either. =A0Seems like it should be one or the > other. What gets output on the console when you do CTRL-T? Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wR1WFxJWamXpz8wVLMdh5YrN_%2BktjOqU_PqdNHmQyZ51w>