AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.09.29 09:27 "[Tiff] performance on windows platform", by Bernd Stahlbock
2003.09.29 14:17 "[Tiff] performance on windows platform", by Frank Warmerdam
2003.09.30 15:42 "[Tiff] performance on windows platform", by Bernd Stahlbock

2003.09.30 15:42 "[Tiff] performance on windows platform", by Bernd Stahlbock

Dear Frank,

thanks for this hint. A first short test seems to show that the 'm' makes a big performance improvement.

Best regards

Bernd

--
stahlbock@basysprint.de, http://www.basysprint.de
basysPrint GmbH, Guelzer Str. 15, 19258 Boizenburg, Germany
Tel.: ++49-38847-99-151, Fax:++49-38847-99-192

> -----Original Message-----
> From: tiff-admin@remotesensing.org
> [mailto:tiff-admin@remotesensing.org] On Behalf Of Frank Warmerdam
> Sent: Monday, September 29, 2003 4:17 PM
> To: Bernd Stahlbock
> Cc: tiff@remotesensing.org
> Subject: Re: [Tiff] performance on windows platform

Dear list,

tifflib is a multi platform solution, so I'm wondering how good the performance on windows 2000 systems is. Is there a possibility to change it myself to windows memory mapped files or something? Did somebody things like this? What do you think will the performance improvement be?

The default IO implementation for libtiff on Win32 platforms includes support for memory mapped IO. I am not sure whether memory mapped IO is ever used by defaut, but you can force it to be used by including the "m" flag in the access string to TIFFOpen().

eg.

   TIFF *tiff;

   tiff = TIFFOpen( "abc.tif", "rm" );

> ---------------------------------------+----------------------
> ----------------

I set the clouds in motion - turn up   | Frank Warmerdam,  warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial  Programmer for Rent

> _______________________________________________
> Tiff mailing list
> Tiff@remotesensing.org
> http://remotesensing.org/mailman/listinfo/tiff
>