Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 00:06:48 -0700 (PDT)
From:      huntting@glarp.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21218: amanda24 should config with --with-buffered-dump
Message-ID:  <20000912070648.C1C7F37B422@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21218
>Category:       ports
>Synopsis:       amanda24 should config with --with-buffered-dump
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 12 00:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Brad Huntting
>Release:        4.0/4.1
>Organization:
>Environment:
>Description:
Several years ago, I patched amandas "dumper" program to take advantage
of setsockopt(SO_RCVLOWAT,32k) which _greatly_ reduces the cpu load on
the amanda server.  This patch has become part of the standard
distribution but must be explicitly enabled with "configure
--with-buffered-dump".
>How-To-Repeat:
ktrace an active "dumper" process while it is recieving data from
a remote client.  The read() call will return 1460 bytes (TCP MSS)
22 times followed by a 648 byte read before the process writes it's
32k buffer to the holding disk.  With high performance SCSI and network
adaptors this can drive the load 5-10x higher than needed.
>Fix:
(produced with mouse snap-n-grab: tab and spaces may be munged)

--- /usr/ports/misc/amanda24/Makefile.orig      Fri Jun 16 15:51:40 2000
+++ /usr/ports/misc/amanda24/Makefile   Tue Sep 12 00:39:10 2000
@@ -23,7 +23,7 @@
 LIBTOOLFLAGS=  --disable-ltlibs --release-ignore
 CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
                --with-amandahosts --with-fqdn \
-               --with-dump-honor-nodump \
+               --with-dump-honor-nodump --with-buffered-dump \
                --with-user=operator --with-group=operator
 
 PATCH_STRIP=


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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