Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2009 16:35:04 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: Is it posible to run FreeBSD/sparc64 on SunFire V215?
Message-ID:  <20090921143504.GD73777@alchemy.franken.de>
In-Reply-To: <20090921150632.U4106@ury.york.ac.uk>
References:  <3979a4b0909170200x754ea8c5l495e300b2a7a5113@mail.gmail.com> <20090917224556.GA41908@alchemy.franken.de> <3979a4b0909172329q3a113942xfcd71394a98fee19@mail.gmail.com> <20090918131416.GQ57060@alchemy.franken.de> <20090921150632.U4106@ury.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 21, 2009 at 03:09:44PM +0100, Gavin Atkinson wrote:
> On Fri, 18 Sep 2009, Marius Strobl wrote:
> >On Fri, Sep 18, 2009 at 02:23:49PM +0400, KOT MATPOCKuH wrote:
> >>PS. Why net boot is too slow? Loading process occupies ~15 minutes
> >>from start to last message.
> >
> >I don't know and it works fine here, you'd need to
> >analyze the network traffic in order to get an idea
> >which side is the culprit. IIRC I've seen similar
> >effects when not using the full speed of the network
> >interface of a sun4u machine, i.e. for example a
> >Gigabit Ethernet interface with a Fast Ethernet
> >switch, given that the loader relies on the firmware
> >to provide support for the NIC there isn't much that
> >can be done about that.
> 
> Last time I looked at this, it looked like the problem was that for every 
> block transferred over the wire (which I think are 4k in size, but I may 
> be misremembering) the loader was calling into OpenFirmware to open the 
> network card, read the block, and close the network card.  Each open/close 
> pair took enough time to be noticeable.  I never had a chance to sit down 
> and fix this.
> 

The behaviour you describe was present between r177108
and r182919 (and before r60506), since r182919 the
loader just leaves the network interface instance
opened forever again for sparc64 so this shouldn't be
the reason for what KOT MATPOCKuH is seeing. Of course
leaving the NIC instance opened isn't the right to do
either and in fact likely is part of the problem
which triggeres the panic he is seeing, I don't see
an easy way to properly fix the loader/libstand to
not do the open-close-dance for every access though.

Marius




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