[hobbit] fping tuning
I've had a look at the fping sources.
There aren't any really obvious reasons why it should take so long. If you run it with "time", it also claims that the user- and system-time are really low (I tried with ~1500 hosts), but the wall-clock time is like 90 seconds (default options). Which kind of points at the code not really doing parallel pings.
I think I'll try some modifications to it over the week-end. If any of it seems to improve it, I'll let you know.
I gave the source a quick peruse before sending my initial email, and my gut was telling me likewise. Thanks for looking in to it :)
-Eric
On Thu, Apr 27, 2006 at 10:03:30AM -0400, Schwimmer, Eric E *HS wrote:
I've had a look at the fping sources.
There aren't any really obvious reasons why it should take so long. If you run it with "time", it also claims that the user- and system-time are really low (I tried with ~1500 hosts), but the wall-clock time is like 90 seconds (default options). Which kind of points at the code not really doing parallel pings.
I think I'll try some modifications to it over the week-end. If any of it seems to improve it, I'll let you know.
I gave the source a quick peruse before sending my initial email, and my gut was telling me likewise. Thanks for looking in to it :)
Just an update on this:
As some have noticed - because it didn't compile - I have cooked up a "hobbitping" utility to replace fping. On my system, fping took about 90 seconds to do a full sweep of the hosts. hobbitping takes 17 seconds, of which 15 are a static 3x5 seconds delay while the non-responding hosts timeout.
Eric was so kind as to confirm that it works on his system as well.
So it's goodbye fping - hello hobbitping.
Regards, Henrik
Henrik Stoerner a écrit :
On Thu, Apr 27, 2006 at 10:03:30AM -0400, Schwimmer, Eric E *HS wrote:
Just an update on this:
As some have noticed - because it didn't compile - I have cooked up a "hobbitping" utility to replace fping. On my system, fping took about 90 seconds to do a full sweep of the hosts. hobbitping takes 17 seconds, of which 15 are a static 3x5 seconds delay while the non-responding hosts timeout.
Eric was so kind as to confirm that it works on his system as well.
So it's goodbye fping - hello hobbitping.
Hi Henrik
many thanks for writing hobbitping ! It works fine on my test system (Gentoo Linux x86, glibc 2.3.6, GCC 3.4.6).
Is it / will it be possible to run it on top of a 4.1.2p1 installation ?
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
On Tue, May 02, 2006 at 10:00:25AM +0200, Fr?d?ric Mangeant wrote:
many thanks for writing hobbitping ! It works fine on my test system (Gentoo Linux x86, glibc 2.3.6, GCC 3.4.6).
Is it / will it be possible to run it on top of a 4.1.2p1 installation ?
Shouldn't be a problem, since it's a very simple stand-alone tool. Just build it - you've already done that - and copy over the hobbitping binary to your 4.1.2 installation. Then change the FPING setting in hobbitserver.cfg to run hobbitping instead of fping.
Make sure you have hobbitping installed suid-root.
Regards, Henrik
participants (3)
-
EES2Y@hscmail.mcc.virginia.edu
-
frederic.mangeant@steria.com
-
henrik@hswn.dk