Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2008 14:46:44 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Poor read() performance, and I can't profile it
Message-ID:  <200806111446.45234.kirk@strauser.com>
In-Reply-To: <200806111442.50935.kirk@strauser.com>
References:  <200806051508.29424.kirk@strauser.com> <200806111442.50935.kirk@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 11 June 2008, Kirk Strauser wrote:
> On Linux:
>
> $ time ./cdbf /tmp/invoice.dbf >/dev/null
> ./cdbf /tmp/invoice.dbf > /dev/null  42.65s user 20.09s system 71% cpu
> 1:28.15 total
>
> On FreeBSD:

Oops!  I left that out:

$ time /tmp/cdbf /var/tmp/invoice.dbf >/dev/null
/tmp/cdbf /var/tmp/invoice.dbf > /dev/null  59.15s user 11.93s system 36% cpu 3:14.53 
total

Again, Linux is on a boring Dell workstation, FreeBSD is on a far faster Dell server 15K 
RPM SCSI drives (even if they don't come into play once the data files are buffered).
-- 
Kirk Strauser



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806111446.45234.kirk>