Changes between Version 21 and Version 22 of UserDocs/GdalWarp


Ignore:
Timestamp:
Jun 26, 2024, 10:25:49 AM (3 weeks ago)
Author:
dbaston
Comment:

migrated to website

Legend:

Unmodified
Added
Removed
Modified
  • UserDocs/GdalWarp

    v21 v22  
    55
    66[[PageOutline(2-6,,inline)]]
    7 
    8 == Will increasing RAM increase the speed of gdalwarp? ==
    9 
    10 Adding ram will almost certainly increase the speed.  That’s not at all the same as saying that it is worth it, or that the speed increase will be significant. Disks are the slowest part of the process.
    11 
    12 By default gdalwarp won't take much advantage of RAM. Using the flag "-wm 500" will operate on 500MB chunks at a time which is better than the default. To increase the io block cache size may also help.  This can be done on the command like:
    13 {{{
    14 gdalwarp --config GDAL_CACHEMAX 500 -wm 500 ...
    15 }}}
    16 
    17 This uses 500MB of RAM for read/write caching, and 500MB of RAM for working buffers during the warp.  Beyond that it is doubtful more memory will make a substantial difference.
    18 
    19 Check CPU usage while gdalwarp is running.  If it is substantially less than 100% then you know things are IO bound.  Otherwise they are CPU bound.
    20 
    21 Caution : increasing the value of the -wm param may lead to loss of performance in certain circumstances, particularly when gdalwarping *many* small rasters into a big mosaic. See http://trac.osgeo.org/gdal/ticket/3120 for more details
    227
    238=== Error allocating memory ===