8

I've seen that gdalwarp has the -multi option to use multiple threads. But I don't see that option for gdal_translate. Does gdal_translate support multi thread?

11

gdal_translate can not use Multithreading for computing. But it can use multithreaded compression for some formats e.g. for GeoTiff using -co NUM_THREADS=ALL_CPUS

NUM_THREADS=number_of_threads/ALL_CPUS: (From GDAL 2.1) Enable multi-threaded compression by specifying the number of worker threads. Worth for slow compressions such as DEFLATE or LZMA. Will be ignored for JPEG. Default is compression in the main thread.

Another Performance Tweak is to extend the I/O Buffer Cache Size using GDAL_CACHEMAX config option. The following sets the Cache size to 512MB:

--config GDAL_CACHEMAX 512

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.