Wireshark mailing list archives

Re: extcap slowing down start of WS


From: Michal Labedzki <michal.labedzki () tieto com>
Date: Wed, 4 Jan 2017 07:32:06 +0100

I use Wireshark will all extcaps expect ssh-based (there is no libssh 0.6
for Ubuntu 12.04) and I think my Wireshark starts in 2s (to see interface
list) - demon of speed (splash seems to be not required, but it is fine).
What time Wireshark spends for extcaps? It is not matter with startup time
like my.

Maybe there is need to add measurement debug logs for extcap (and
libpcap!), to see how many time it spends in particular tool/lib and show
summary. Extcap may take longest time for some users (for example usage of
thousands of extcap tools for some reasons). There is also a problem to
ensure which scenario takes longest time: 1. all extcaps + all possible
interfaces available [works fast for me]
2. all extcap but no interfaces available (reason like: there is ADB daemon
on different port, but there is no androiddump interfaces by default -
timeout for connecting for non-existence TCP port seems to be not constant
for all platform - however androiddump is fast in this case for Windows
[but I see that tree times only])

On 3 January 2017 at 18:07, Pascal Quantin <pascal.quantin () gmail com> wrote:

Hi Anders,

2017-01-03 17:56 GMT+01:00 Anders Broman <anders.broman () ericsson com>:

Hi,

It now seems like extcap_register_preferences is the thing taking the
longest time when starting up Wireshark, at least on Window.

Any one care to take a look?


Presumably this is because for each extcap utility present in the extcap
folder, Wireshark will launch it to retrieve the preferences supported and
their default values. I'm not sure we can easily win time here (but I will
let extcap experts comment).
That's one of the reasons why I put the extcap utilities as optional in
Windows installer.

Pascal.

____________________________________________________________
_______________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=
unsubscribe




-- 

Pozdrawiam / Best regards
-------------------------------------------------------------------------------------------------------------
Michał Łabędzki, Software Engineer
Tieto Corporation

Product Development Services
http://www.tieto.com / http://www.tieto.pl
---
ASCII: Michal Labedzki
location: Swobodna 1 Street, 50-088 Wrocław, Poland
room: 5.01 (desk next to 5.08)
---
Please note: The information contained in this message may be legally
privileged and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, you are hereby notified that
any unauthorised use, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it
from your computer. Thank You.
---
Please consider the environment before printing this e-mail.
---
Tieto Poland spółka z ograniczoną odpowiedzialnością z siedzibą w
Szczecinie, ul. Malczewskiego 26. Zarejestrowana w Sądzie Rejonowym
Szczecin-Centrum w Szczecinie, XIII Wydział Gospodarczy Krajowego Rejestru
Sądowego pod numerem 0000124858. NIP: 8542085557. REGON: 812023656. Kapitał
zakładowy: 4 271500 PLN
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: