Network Ping Improvements

Von: Thomas Trenz | Datum: 10. Januar 2019 | Kommentar: 0 | Kategorie: General

The actual scope for a network inventory scanDear JDisc friends,

we got some complaints about the speed of the ping sweep in the past. Especially when pinging large networks which are only sparsely populated.
But first some background on the current implementation. We are using Windows API calls for the ping. The API call accepts up to 64 IP addresses to ping at a time. Therefore we traditionally ping in chunks of 64 IP addresses. While having a timeout values of 2 seconds and 2 retries, the ping for the 64 addresses usually takes 6 seconds. That is 640 IP addresses per minute and 38.400 IP addresses per hour.

Some customers configure class B (65.535 addresses) or even class A networks (~16 million addresses). Of course that takes some time when we’re getting 38.400 IP addresses processed per hour.

In order to improve the speed, we have implemented a parallel ping. The parallel ping processes IP addresses in chunks of 64 addresses in parallel. You can configure up to 16 concurrent threads to ping. With that, you can get a speed up to 16 times faster than before. That would be up to 614.400 IP addresses per hour compared to 38.400.

Configure the number of concurrent ping threads with a new option within the General settings within the configuration dialog:

Ping Ping IP addresses with multiple threads in parallel

Figure: Ping IP addresses with multiple threads in parallel

We hope that you will notice the difference and enjoy the new setting.

This change comes with build 4063.

Cheers,
Thomas

Über den Autor

Thomas Trenz

Thomas Trenz ist Gründer und Geschäftsführer der JDisc GmbH und begeistert sich seit mehr als zwei Jahrzehnten für die Netzwerkinventarisierung. Nach vielen Jahren in der Entwicklung von Enterprise-Discovery-Lösungen gründete er 2009 JDisc mit einer klaren Vision: eine Discovery-Plattform zu entwickeln, die außergewöhnliche technische Tiefe mit einer intuitiven Bedienung, hoher Zuverlässigkeit und erstklassigem Kundensupport verbindet.

Heute verantwortet Thomas die strategische Ausrichtung und Produktentwicklung von JDisc Discovery und unterstützt Unternehmen weltweit dabei, vollständige Transparenz über ihre IT-Infrastrukturen zu gewinnen. Seine Fachgebiete umfassen die Netzwerkinventarisierung, IT Asset Management, CMDB, Cybersicherheit, Virtualisierung, Cloud-Technologien sowie das Lizenzmanagement für Unternehmenssoftware.

Im JDisc-Blog teilt Thomas praxisnahe Einblicke, technische Hintergrundartikel und bewährte Vorgehensweisen, die auf realen Herausforderungen aus Kundenprojekten basieren – stets mit dem Ziel, Enterprise-IT transparenter, sicherer und einfacher zu verwalten.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert