Is it posible to run FreeBSD/sparc64 on SunFire V215?
marius at alchemy.franken.de
Mon Sep 21 14:35:06 UTC 2009
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.
More information about the freebsd-sparc64