[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] fping tuning



Schwimmer, Eric E *HS a écrit :
We're monitoring 1420 IPs in hobbit, and it takes fping
~40 seconds to go through them all:

<snip>
[root (at) hobbit fping]# fping -i5 -b12 -f ips -r1 -t250 -B2 -q -s
    1430 targets
    1419 alive
      11 unreachable
       0 unknown addresses

      55 timeouts (waiting for response)
    1474 ICMP Echos sent
    1420 ICMP Echo Replies received
       0 other ICMP received

0.05 ms (min round trip time)
5.83 ms (avg round trip time)
281 ms (max round trip time)
40.704 sec (elapsed real time)
</snip>


Hi Eric

this won't help you much, but I'm monitoring 1733 hosts with Hobbit, on a dual Xeon 3.2 GHz with 4 Gb running an up-to-date Gentoo Linux.
Hobbit takes between 15 and 30 seconds to ping 1632 hosts; sudo is used to run fping :



TIME SPENT Event Starttime Duration PING test completed (1632 hosts) 1146122348.804056 19.808170


Running fping by hand gives this :


# fping -i5 -b12 -f /tmp/ips.txt -r1 -t250 -B2 -q -s [...] 30.999 sec (elapsed real time)


Lowering the -i, -r, -t values doesn't give anything...

The funny thing is that Hobbit runs sudo with -Ae, which is way slower when I run it by hand...

--

Frédéric Mangeant

Steria EDC Sophia-Antipolis