Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 22:07:53 -0600 (CST)
From:      "Larry Rosenman" <ler@lerctr.org>
To:        "Li, Qing" <qing.li@bluecoat.com>
Cc:        freebsd-net@freebsd.org, freebsd-current@freebsd.org
Subject:   RE: Bacula: VERY SLOW on SAME host
Message-ID:  <b64f795c1e0f749c246158446fabfccd.squirrel@webmail.lerctr.org>
In-Reply-To: <B583FBF374231F4A89607B4D08578A4302DA99C3@bcs-mail03.internal.cacheflo w.com>
References:  <alpine.BSF.2.00.0901142231390.3665@borg> <3c1674c90901142046n6cd3c328kc0936190c2516a2a@mail.gmail.com> <B583FBF374231F4A89607B4D08578A4302DA99C3@bcs-mail03.internal.cacheflow.com>

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

On Thu, January 15, 2009 6:46 pm, Li, Qing wrote:
> This is a known issue and it's easily reproducible using the
> netperf tool.
>
> I am working on a permanent solution.
>
> In the meantime you can use the following workaround, as suggested
> by Kip:
>
> 	route add -host (if-ip) -iface lo0
>

Thanks, Qing!

If you have code you'd like me to test, feel free.

On a related note, is the arp table supposed to be empty now?

$ arp -an
$ ping 192.168.200.5
PING 192.168.200.5 (192.168.200.5): 56 data bytes
64 bytes from 192.168.200.5: icmp_seq=0 ttl=255 time=0.810 ms
64 bytes from 192.168.200.5: icmp_seq=1 ttl=255 time=0.292 ms
^C
--- 192.168.200.5 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.292/0.551/0.810/0.259 ms
$ arp -an
$ uname -a
FreeBSD borg.lerctr.org 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Jan 14
17:16:03 CST 2009     root@borg.lerctr.org:/usr/obj/usr/src/sys/BORG 
amd64
$

> -- Qing
>
>
>> -----Original Message-----
>> From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-
>> current@freebsd.org] On Behalf Of Kip Macy
>> Sent: Wednesday, January 14, 2009 8:47 PM
>> To: Larry Rosenman
>> Cc: freebsd-current@freebsd.org
>> Subject: Re: Bacula: VERY SLOW on SAME host
>>
>> arpv2 - add an localhost interface route as a workaround
>>
>> -Kip
>>
>> On Wed, Jan 14, 2009 at 8:35 PM, Larry Rosenman <ler@lerctr.org>
> wrote:
>> > Greetings,
>> >    Somethings changed (Around the 1st of the year?) where my bacula
>> jobs
>> > take FOREVER to backup on the same host
>> > with the StorageDaemon and Director.  If I change it to use
> 127.0.0.1
>> > instead of the address on the em card, it's fine.
>> >
>> > If I use the address on the em nics, it's like 4kb/sec as opposed to
>> > multi-megabytes/sec.
>> >
>> > I'm looking for how to find what broke.
>> >
>> > Other networking to the host is fine, but this is TCP within the
> same
>> host,
>> > but using the IP address on the em interface.
>> >
>> > I see the TCP Send-Q fill up, and it's extremely slow.
>> >
>> > What data do you need to help debug this?
>> >
>> >
>> >
>> > --
>> > Larry Rosenman                     http://www.lerctr.org/~ler
>> > Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
>> > US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
>> > _______________________________________________
>> > freebsd-current@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> > To unsubscribe, send any mail to "freebsd-current-
>> unsubscribe@freebsd.org"
>> >
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-
>> unsubscribe@freebsd.org"
>


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893





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