Re: [netatalk-admins] Slow write performance on FreeBSD 2.2.5, 1.4b2


Subject: Re: [netatalk-admins] Slow write performance on FreeBSD 2.2.5, 1.4b2
From: Stefan Bethke (stefan@promo.de)
Date: Fri Feb 27 1998 - 04:42:30 EST


--On Die, 24. Feb 1998 0:58 Uhr -0500 wesley.craig@umich.edu wrote:

>> From: Bill Studenmund <skippy@macro.stanford.edu>
>> To: Gary Teter <garyt@bulldogbeach.com>
>
>> On Sat, 21 Feb 1998, Gary Teter wrote:
>> > Someone suggested changing the definition of ddp_recvspace in
>> > sys/netatalk/ddp_usrreq.c to a higher value, so I changed it to 50 *
600.
>
>> Doh! That kills my favorite suggestion!
>
> The normal value of ddp_recvspace, 10 * X, is enough for the eight
> packets you'll get back from an ATP transaction, plus a couple more for
> extra space. Each time this buffer is overflowed, there's a statistics
> block that gets updated, ddps_nosockspace, which your favorite BSD unix
> ought to return as output of netstat -s.
>
> Generally speaking, you should never see this...

I thought this, too. Look at a packet dump and you'll see the finder is
regularly checking (with AFP 2.1, that is) for volume and folder info, even
while doing something else. Sometimes, these requests overflow the buffer,
so upping this number to 20 or 30 generally helps.

Stefan

--
Stefan Bethke
Promo Datentechnik      |  Tel. +49-40-851744-18
+ Systemberatung GmbH   |  Fax. +49-40-851744-44
Eduardstrasse 46-48     |  e-mail: stefan@Promo.DE
D-20257 Hamburg         |  http://www.Promo.DE/



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:31:16 EST