[Gdal-dev] Potential thrashing on band 1?

Ben Discoe ben at vterrain.org
Fri May 5 01:45:46 EDT 2006


Thanks Frank.  In case anyone else sees the thrash message, i made it go
away by increasing the cache with GDALSetCacheMax().  In this case, default
cache size was 10MB but my row of tiles was 12MB.

Curiously, gdalinfo reports a block of size 4093x21.

-Ben

> -----Original Message-----
> From: Frank Warmerdam
> Sent: Thursday, May 04, 2006 5:05 PM
> 
> Stripped TIFF files often have several scanlines per strip 
> (block).  A gdalinfo report will tell you the effective block 
> size for the file.
> 
> > Then there is the mystery of why it complains about "band 
> > 1", when i am reading all three bands identically.
> 
> The "potential thrashing" debug message is just a bit of a 
> hint to developers that there may be efficiency issues with 
> how they are accessing data.  I only report it for band 1 
> since I imagine the results will generally be similar for other bands.




More information about the Gdal-dev mailing list