*BSD News Article 75598


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!odin.oar.net!malgudi.oar.net!hyperion.wright.edu!echoes.wittenberg.edu!bob.wittenberg.edu!mandrews
From: mandrews@bob.Wittenberg.EDU (Mike Andrews)
Newsgroups: comp.protocols.appletalk,comp.unix.bsd.freebsd.misc
Subject: Re: CAP on FreeBSD seems to be rather slow
Date: 5 Aug 96 20:24:18 GMT
Organization: Wittenberg University, Springfield OH
Lines: 45
Message-ID: <mandrews.839276658@bob.wittenberg.edu>
References: <533f3qw4g0.fsf@virtue.vide.coventry.ac.uk> <brychcy-2606961430570001@news.informatik.tu-muenchen.de> <girgen-1607960240460001@sl51.modempool.kth.se>
NNTP-Posting-Host: bob.wittenberg.edu
X-Newsreader: NN version 6.5.0 #8 (NOV)
Xref: euryale.cc.adfa.oz.au comp.protocols.appletalk:22230 comp.unix.bsd.freebsd.misc:25064

girgen@partitur.se (Palle Girgensohn) writes:

>>> I compiled CAP with patches to 197 under FreeBSD 2.1.0-RELEASE,
>>> having remade the kernel with bpfilter 16 and them MAKEDEVing bpf0-15.
>>> 
>>> I'm running it on a local ether segment, with the FreeBSD box and a
>>> powermac 8100. The powermac tells me there are no zones, but I can mount
>>> from the FreeBSD box with no problems. However copying SimpleText
>>> to the "mac" volume takes over 3 minutes.
>>> 
>>> Have I forgotten something, or is it supposed to be this slow?
>>
>>Make sure you have the STAT_CACHE feature enabled.

>Also check out <http://www.imforei.apana.org.au/freebsd/freebsd+cap/>. It
>gives hints to some patches that boosts performance considerably.

>It really helped for me!

I'm not the one that posted originally, but I just installed CAP on a 
FreeBSD 2.1.5-RELEASE machine yesterday, and copying the Netscape 2.02
Installer from a Mac Quadra 636 to my FreeBSD box takes nearly 10 minutes,
but copying it back TO the Mac takes less than a minute.  This is including
the two patches from the web page mentioned above.  Enabling STAT_CACHE
didn't help, either.

FWIW, the FreeBSD machine is a 486/80 with a 3c503 ethernet card (ok, not
the speediest thing, but it does Samba and NFS ok).  The two machines are
in different AppleTalk zones, defined by the Cisco AGS+ sitting in between
the two machines.

This is primarily going to be for setting up a single read-only filesystem for
our campus Macs, and the read speed is acceptable...  so we can get by with
this, but it shouldn't take hours to copy a few mid-sized programs to it,
either.

I haven't yet tried netatalk, or setting tcpdump loose on it yet.

Ideas?


-- 
-- Mike Andrews  -  mandrews@wittenberg.edu, mandrews@termfrost.org (NeXT)
-- Programmer/Analyst, systems/mail/web/netnews guy, Wittenberg University
-- http://www.termfrost.org/~mandrews/                            "why..."