From nobody Sun Oct 22 10:54:40 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SCwFP425Tz4yNWw for ; Sun, 22 Oct 2023 10:54:49 +0000 (UTC) (envelope-from SRS0=N7wB=GE=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SCwFP0sTWz3Rb2; Sun, 22 Oct 2023 10:54:49 +0000 (UTC) (envelope-from SRS0=N7wB=GE=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Sun, 22 Oct 2023 12:54:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1697972080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ArOz96bh/2cMZSErx/tn6A5fMbq7BZ1Ob76WA2YO+2Q=; b=zt4fhpUdTRhkab1cnFDAPT6nvJ0q2ag3wJl6l5c3C/7G0wI4VgsJuae8TejblR8KI8z4Jj oYKM2OF++a0Zk8ExiRDCNt+9fVNzCRAEn+y1mJqEd/E7lUSlmj9qwKmkH4BmLjoanPH7yg 1et0XE3c8irQw5FHdUgHSC2b59qqSw8S09qlotvwSKRQnLqSnGhO3blgnGKYaepKxsSIiL lLlPOpjxD9cJhFgS1RvbOmQQQXNifZC/ohOp4VWEcyxvBy22Lbj+kpEvGJlQPOrvKBngr/ uYWfmgzIzC1Rwr2hDCwE7QNUFuXaXd1K1CXzebhv5uBATMqC/TmEeIq0U6pDng== From: Ronald Klop To: Matthias Apitz Cc: kde@freebsd.org, freebsd-ports@freebsd.org Message-ID: <1396284672.14842.1697972080394@localhost> In-Reply-To: References: Subject: Re: Image viewer gwenview needs 27 secs to start List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14841_2016404828.1697972080327" X-Mailer: Realworks (676.2) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] X-Rspamd-Queue-Id: 4SCwFP0sTWz3Rb2 ------=_Part_14841_2016404828.1697972080327 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, This needs some debugging of the application. During these 27 seconds it can be interesting to get the output of: procstat -kk procstat -t This shows if the application is waiting for the kernel. Use 'top' to see if the application is running 100% CPU or not. Use 'iostat -d -x 1' to see if it is waiting for IO. Dtrace might also be useful to see what the application is doing, but I don't know the proper syntax from the top of my head. Regards, Ronald. Van: Matthias Apitz Datum: zondag, 22 oktober 2023 11:11 Aan: kde@freebsd.org, freebsd-ports@freebsd.org Onderwerp: Image viewer gwenview needs 27 secs to start > > I'm used to use gwenview for image viewing and manipulating. Since I > updated to recent ports (via git at September 22, exact version see > below) the start is VERY lazy. It takes 27 secs to present the image > when started with 'gwenview file.jpg' from a shell. > > Any ideas or help? > > matthias > > > gwenview-23.08.0 > Name : gwenview > Version : 23.08.0 > Installed on : Sun Sep 24 11:27:49 2023 CEST > Origin : graphics/gwenview > Architecture : FreeBSD:14:amd64 > Prefix : /usr/local > Categories : kde-applications kde graphics > Licenses : LGPL20 > Maintainer : kde@FreeBSD.org > WWW : http://gwenview.sourceforge.net > Comment : Image viewer and browser for KDE > Options : > DOCS : on > Shared Libs required: > libwayland-client.so.0 > libtiff.so.5 > libpng16.so.16 > libphonon4qt5.so.4 > liblcms2.so.2 > libkImageAnnotator.so.0 > libjpeg.so.8 > libexiv2.so.28 > libX11.so.6 > libQt5Xml.so.5 > libQt5X11Extras.so.5 > libQt5Widgets.so.5 > libQt5WaylandClient.so.5 > libQt5Svg.so.5 > libQt5PrintSupport.so.5 > libQt5Network.so.5 > libQt5Gui.so.5 > libQt5DBus.so.5 > libQt5Core.so.5 > libQt5Concurrent.so.5 > libKF5XmlGui.so.5 > libKF5WindowSystem.so.5 > libKF5WidgetsAddons.so.5 > libKF5TextWidgets.so.5 > libKF5SonnetUi.so.5 > libKF5Solid.so.5 > libKF5Service.so.5 > libKF5Parts.so.5 > libKF5Notifications.so.5 > libKF5KIOWidgets.so.5 > libKF5KIOGui.so.5 > libKF5KIOFileWidgets.so.5 > libKF5KIOCore.so.5 > libKF5KDcraw.so.5 > libKF5JobWidgets.so.5 > libKF5ItemViews.so.5 > libKF5ItemModels.so.5 > libKF5IconThemes.so.5 > libKF5I18n.so.5 > libKF5GuiAddons.so.5 > libKF5FileMetaData.so.3 > libKF5CoreAddons.so.5 > libKF5ConfigWidgets.so.5 > libKF5ConfigGui.so.5 > libKF5ConfigCore.so.5 > libKF5Completion.so.5 > libKF5Codecs.so.5 > libKF5Bookmarks.so.5 > libKF5Baloo.so.5 > libKF5AuthCore.so.5 > libKF5Auth.so.5 > libKF5Activities.so.5 > Shared Libs provided: > libgwenviewlib.so.5 > Annotations : > FreeBSD_version: 1400094 > build_timestamp: 2023-09-22T01:09:11+0000 > built_by : poudriere-git-3.3.99.20220831 > port_checkout_unclean: no > port_git_hash : 2a6cfd50d > ports_top_checkout_unclean: no > ports_top_git_hash: 1a898a009 > repo_type : binary > repository : FreeBSD > Flat size : 11.1MiB > Description : > Gwenview is a fast and easy to use image viewer for KDE. > > Features: > - Supports simple image manipulations: rotate, mirror, flip, and resize. > - Supports basic file management actions such as copy, move, delete, > and others. > - Functions both as a standalone application and an embedded viewer > in the Konqueror web browser. > - Can be extended using KIPI plugins. > -- > Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > > I am not at war with Russia. > . > Ich bin nicht im Krieg mit Russland. > > > > ------=_Part_14841_2016404828.1697972080327 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,

This needs some debugging of the application.

During these 27 seconds it can be interesting to get the output of:

procstat -kk <pid>
procstat -t <pid>

This shows if the application is waiting for the kernel.

Use 'top' to see if the application is running 100% CPU or not.
Use 'iostat -d -x 1' to see if it is waiting for IO.

Dtrace might also be useful to see what the application is doing, but I don't know the proper syntax from the top of my head.

Regards,
Ronald.

 

Van: Matthias Apitz <guru@unixarea.de>
Datum: zondag, 22 oktober 2023 11:11
Aan: kde@freebsd.org, freebsd-ports@freebsd.org
Onderwerp: Image viewer gwenview needs 27 secs to start


I'm used to use gwenview for image viewing and manipulating. Since I
updated to recent ports (via git at September 22, exact version see
below) the start is VERY lazy. It takes 27 secs to present the image
when started with 'gwenview file.jpg' from a shell.

Any ideas or help?

    matthias


gwenview-23.08.0
Name           : gwenview
Version        : 23.08.0
Installed on   : Sun Sep 24 11:27:49 2023 CEST
Origin         : graphics/gwenview
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : kde-applications kde graphics
Licenses       : LGPL20
Maintainer     : kde@FreeBSD.org
WWW            : http://gwenview.sourceforge.net
Comment        : Image viewer and browser for KDE
Options        :
    DOCS           : on
Shared Libs required:
    libwayland-client.so.0
    libtiff.so.5
    libpng16.so.16
    libphonon4qt5.so.4
    liblcms2.so.2
    libkImageAnnotator.so.0
    libjpeg.so.8
    libexiv2.so.28
    libX11.so.6
    libQt5Xml.so.5
    libQt5X11Extras.so.5
    libQt5Widgets.so.5
    libQt5WaylandClient.so.5
    libQt5Svg.so.5
    libQt5PrintSupport.so.5
    libQt5Network.so.5
    libQt5Gui.so.5
    libQt5DBus.so.5
    libQt5Core.so.5
    libQt5Concurrent.so.5
    libKF5XmlGui.so.5
    libKF5WindowSystem.so.5
    libKF5WidgetsAddons.so.5
    libKF5TextWidgets.so.5
    libKF5SonnetUi.so.5
    libKF5Solid.so.5
    libKF5Service.so.5
    libKF5Parts.so.5
    libKF5Notifications.so.5
    libKF5KIOWidgets.so.5
    libKF5KIOGui.so.5
    libKF5KIOFileWidgets.so.5
    libKF5KIOCore.so.5
    libKF5KDcraw.so.5
    libKF5JobWidgets.so.5
    libKF5ItemViews.so.5
    libKF5ItemModels.so.5
    libKF5IconThemes.so.5
    libKF5I18n.so.5
    libKF5GuiAddons.so.5
    libKF5FileMetaData.so.3
    libKF5CoreAddons.so.5
    libKF5ConfigWidgets.so.5
    libKF5ConfigGui.so.5
    libKF5ConfigCore.so.5
    libKF5Completion.so.5
    libKF5Codecs.so.5
    libKF5Bookmarks.so.5
    libKF5Baloo.so.5
    libKF5AuthCore.so.5
    libKF5Auth.so.5
    libKF5Activities.so.5
Shared Libs provided:
    libgwenviewlib.so.5
Annotations    :
    FreeBSD_version: 1400094
    build_timestamp: 2023-09-22T01:09:11+0000
    built_by       : poudriere-git-3.3.99.20220831
    port_checkout_unclean: no
    port_git_hash  : 2a6cfd50d
    ports_top_checkout_unclean: no
    ports_top_git_hash: 1a898a009
    repo_type      : binary
    repository     : FreeBSD
Flat size      : 11.1MiB
Description    :
Gwenview is a fast and easy to use image viewer for KDE.

Features:
 - Supports simple image manipulations: rotate, mirror, flip, and resize.
 - Supports basic file management actions such as copy, move, delete,
   and others.
 - Functions both as a standalone application and an embedded viewer
   in the Konqueror web browser.
 - Can be extended using KIPI plugins.
-- 
Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
.
Ich bin nicht im Krieg mit Russland.
 


  ------=_Part_14841_2016404828.1697972080327--