Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2009 16:57:20 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, petefrench@ticketswitch.com
Subject:   Re: problems with gmirror on ggate over slow link
Message-ID:  <200911031557.nA3FvKm5061241@lurza.secnetix.de>
In-Reply-To: <E1N1JgZ-000I9b-VK@dilbert.ticketswitch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Pete French wrote:
 > [...]
 > > Just a wild guess, have you tried to set kern.geom.mirror.timeout to a 
 > > higher value?
 > 
 > Yes, I tried values all the way up to 600, no effect at all - plus the
 > failure comes way before that timeout value (which is in seconds I assume).

Have you done any sockets tuning?
In an older posting the following values were recommended:

/etc/sysctl.conf:
net.inet.tcp.sendspace=1048576
net.inet.tcp.recvspace=1048576
kern.ipc.maxsockbuf=2049152

/boot/loader.conf:
kern.ipc.nmbclusters="32768"

Command line options to ggate[cd]:
ggate[dc]_buf_size="1310720"
ggatec_timeout="5"
ggatec_queue_size="2048"

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"C++ is over-complicated nonsense. And Bjorn Shoestrap's book
a danger to public health. I tried reading it once, I was in
recovery for months."
        -- Cliff Sarginson



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