14

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?

1 Answer 1

25

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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