From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20140505025107.GA7203@dinah> References: <20140505025107.GA7203@dinah> Date: Sun, 4 May 2014 23:12:04 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b471e709e7f0104f8a102cb Subject: Re: [9fans] Go 1.3b1 cmd/pack test takes too long Topicbox-Message-UUID: ddf0dcfa-ead8-11e9-9d60-3106f5b1d025 --047d7b471e709e7f0104f8a102cb Content-Type: text/plain; charset=UTF-8 thanks; i should have checked that. running it on the fossil+venti server brings it down a bit. still, it's not stellar. bootes% go test PASS ok cmd/pack 81.480s bootes% go test PASS ok cmd/pack 79.719s On Sun, May 4, 2014 at 7:51 PM, Anthony Martin wrote: > Skip Tavakkolian once said: > > is anyone else seeing similar results for cmd/pack? > > > > % go test > > PASS > > ok cmd/pack 172.505s > > > > this is on an atom (d525 @ 1.8ghz, 4gb). same test on an arm (quad core > a9 > > @ 1.7ghz, 2gb, linux 3.8) takes much less time: > > > > % go test > > PASS > > ok cmd/pack 20.872s > > Your numbers don't look entirely abnormal. That test issues > over a million small writes. (Although it really should be > using bufio). > > How is your system set up? Are you getting your fs from > the network? The Plan 9 disk file systems are pretty slow > even when used locally. > > Anthony > > --047d7b471e709e7f0104f8a102cb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
thanks; i should have checked that. running it on the foss= il+venti server brings it down a bit. still, it's not stellar.

=
bootes% go test
PASS
ok =C2=A0 cmd/pack 81.480s
bootes% go test
PASS
ok =C2=A0 cmd/pack 79.719s



On Sun, May 4, 2014 at 7:51 PM, Anthony Mart= in <ality@pbrane.org> wrote:
Skip Tavakkolian <skip.tavakkolian@gmail.com> once sai= d:
> is anyone else seeing similar results for cmd/pack?
>
> % go test
> PASS
> ok =C2=A0 cmd/pack 172.505s
>
> this is on an atom (d525 @ 1.8ghz, 4gb). same test on an arm (quad cor= e a9
> @ 1.7ghz, 2gb, linux 3.8) takes much less time:
>
> % go test
> PASS
> ok =C2=A0 =C2=A0 =C2=A0cmd/pack =C2=A0 =C2=A020.872s

Your numbers don't look entirely abnormal. That test issues=
over a million small writes. (Although it really should be
using bufio).

How is your system set up? Are you getting your fs from
the network? The Plan 9 disk file systems are pretty slow
even when used locally.

=C2=A0 Anthony


--047d7b471e709e7f0104f8a102cb--