AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2021.05.02 00:36 "[Tiff] SIMD optimizations", by Larry Bank
2021.05.02 09:48 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.02 10:33 "Re: [Tiff] SIMD optimizations", by ZdPo Ster
2021.05.02 13:55 "Re: [Tiff] SIMD optimizations", by Bob Friesenhahn
2021.05.02 14:09 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.02 15:35 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.02 17:20 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.02 17:45 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.03 15:58 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.03 17:28 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.03 17:32 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.03 19:16 "Re: [Tiff] SIMD optimizations", by Jeff Breidenbach
2021.05.03 20:40 "Re: [Tiff] SIMD optimizations", by Bob Friesenhahn
2021.05.03 21:09 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.03 21:45 "Re: [Tiff] SIMD optimizations", by Bob Friesenhahn
2021.05.03 22:08 "Re: [Tiff] SIMD optimizations", by Even Rouault
2021.05.04 07:44 "Re: [Tiff] SIMD optimizations", by Roger Leigh
2021.05.04 07:50 "Re: [Tiff] SIMD optimizations", by Roger Leigh
2021.06.06 21:15 "Re: [Tiff] SIMD optimizations", by Roger Leigh
2021.05.03 21:44 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.03 21:55 "Re: [Tiff] SIMD optimizations", by Bob Friesenhahn
2021.05.03 22:50 "Re: [Tiff] SIMD optimizations", by Akira Urushibata
2021.05.04 17:34 "Re: [Tiff] SIMD optimizations", by Steve Underwood
2021.05.04 17:44 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.04 18:07 "Re: [Tiff] SIMD optimizations", by Toby Thain
2021.05.04 20:59 "Re: [Tiff] SIMD optimizations", by Michael Shiels
2021.05.04 21:02 "Re: [Tiff] SIMD optimizations", by Larry Bank
2021.05.05 01:14 "Re: [Tiff] SIMD optimizations", by Steve Underwood

2021.05.02 13:55 "Re: [Tiff] SIMD optimizations", by Bob Friesenhahn

- 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