Return-Path: <tiff-bounces@lists.osgeo.org>
Received: from mailgate228.isp.belgacom.be ([195.238.22.93])
          by mailfep003.skynet.be
          (InterMail vM.8.04.03.28.4 201-2389-100-182-103-20180124)
          with ESMTP
          id <20210502135530.UJTL7203.mailfep003.skynet.be@mailgate228.isp.belgacom.be>
          for <chris.lindelaan@skynet.be>; Sun, 2 May 2021 15:55:30 +0200
Authentication-Results: mx201.skynet.be; dkim=none (message not signed) header.i=none; spf=None smtp.pra=tiff-bounces@lists.osgeo.org; spf=Pass smtp.mailfrom=tiff-bounces@lists.osgeo.org; spf=Pass smtp.helo=postmaster@lists.osgeo.org
Received-SPF: None (mx201.skynet.be: no sender authenticity
  information available from domain of
  tiff-bounces@lists.osgeo.org) identity=pra;
  client-ip=140.211.15.3; receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible
Received-SPF: Pass (mx201.skynet.be: domain of
  tiff-bounces@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=mailfrom; client-ip=140.211.15.3;
  receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
Received-SPF: Pass (mx201.skynet.be: domain of
  postmaster@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=helo; client-ip=140.211.15.3;
  receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="postmaster@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
X-Ironport-Dmarc-Check-Result: validskip
IronPort-SDR: RC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kj5RPti7NsERjCkC7hjuK4MS1Cq0zcmxsfuNIIg2caeYUTb6I5l/17wGplVLwNECXG6Yw9HI
 BVfbjhzccTX0iXf3XYpHQH+q3KYl0DWjOPQk0HssvQ7DRMhnB+yCIjtbQit0ZFxdYGR55I6/
 +sCMpVqI0=
X-IronPort-Anti-Spam-Filtered: true
X-MGA-submission: =?us-ascii?q?MDEXCBxbCjk4inezM40Z+4UrywV5Idm6+FHfV+?=
 =?us-ascii?q?yhFVNeCTlpxP8k6DKSTiSUUvP2qK9yAI1bOM9S14ozRsLTf/pVUIOYdI?=
 =?us-ascii?q?H3ne2FWGWCarltzgW5HNtwG14mHt1CABQf9Y0=3D?=
Received: from osgeo6.osgeo.osuosl.org (HELO lists.osgeo.org) ([140.211.15.3])
  by mx201.skynet.be with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2021 15:55:28 +0200
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id 6D25361449BD;
	Sun,  2 May 2021 06:55:24 -0700 (PDT)
Received: from smtp.simplesystems.org (smtp.simplesystems.org [65.66.246.90])
 by lists.osgeo.org (Postfix) with ESMTPS id 46BFB614595D
 for <tiff@lists.osgeo.org>; Sun,  2 May 2021 06:55:23 -0700 (PDT)
Received: from scrappy.simplesystems.org (scrappy.simplesystems.org
 [65.66.246.73])
 by smtp.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id 142DtKLV020654;
 Sun, 2 May 2021 08:55:21 -0500 (CDT)
Date: Sun, 2 May 2021 08:55:20 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@scrappy.simplesystems.org
To: Even Rouault <even.rouault@spatialys.com>
In-Reply-To: <07baca89-e473-8e24-1d54-309152b05774@spatialys.com>
Message-ID: <alpine.GSO.2.20.2105020845140.2569@scrappy.simplesystems.org>
References: <CAHYwHP5NmH+--ckEVeidjxrBVHbFSptCH0CD5d600t8gq7Xafw@mail.gmail.com>
 <07baca89-e473-8e24-1d54-309152b05774@spatialys.com>
User-Agent: Alpine 2.20 (GSO 67 2015-01-07)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (smtp.simplesystems.org [65.66.246.90]); Sun, 02 May 2021 08:55:21 -0500 (CDT)
Subject: Re: [Tiff] SIMD optimizations
X-BeenThere: tiff@lists.osgeo.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.osgeo.org>
List-Unsubscribe: <https://lists.osgeo.org/mailman/options/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=unsubscribe>
List-Post: <mailto:tiff@lists.osgeo.org>
List-Help: <mailto:tiff-request@lists.osgeo.org?subject=help>
List-Subscribe: <https://lists.osgeo.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=subscribe>
Cc: tiff@lists.osgeo.org
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>

On Sun, 2 May 2021, Even Rouault wrote:
>
> - regarding performance gains, I only got a 5% improvement however on a 
> 8000x8000 large image, lzw compressed, predictor 2, tiles of 512x512, 4 
> channels, interleaved, 16bit, compression ratio 
> (uncompressed_size/compressed_size) of 1.6. That seems a bit too low to 
> justify all the above efforts.

The benefits of any optimizations can only be evaluated given a 
standard set of test cases (a performance test suite) which can be 
replicated on any system.

CPU and system capabilities vary widely so something which 
substantially improves performance on one CPU may substantially 
diminish performance on a different CPU.  Even a small difference in 
image size or parameters can make a big difference given the CPU (e.g. 
due to overflowing a cache).

The libtiff utilities are mostly not very useful for performance 
testing since they do something different than common usages.

In summary, it would be good for a portable performance test suite to 
be developed and contributed to libtiff before spending a lot of time 
working on optimizations.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt
_______________________________________________
Tiff mailing list
Tiff@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/tiff
