Not optimal processing MPC
Posted: 2017-09-09T21:40:05-07:00
I have 95 MPC files each representing one line of big image. I need to compose single image. My files is 59,2MiB each.
During this command run
— there are created temp files size of 59,2MiB i believe it's just copy of all my source files
— created one more temp file with total size 59,2MiB * 95 ≈ 5,6GiB
— temp files deleted one by one
— target all_map.png created
Documentation say that MPC is raw memory cache format so why not write MPC files directly into target big (5,6 Gib in my case) temp file? Wy it need to copy all files before processing?
I believe it's possible to avoid that step and speed up processing.
Code: Select all
montage -limit memory 1000MiB -frame 0 -geometry +0+0 -tile 1x *.mpc ./all_map.png
— there are created temp files size of 59,2MiB i believe it's just copy of all my source files
— created one more temp file with total size 59,2MiB * 95 ≈ 5,6GiB
— temp files deleted one by one
— target all_map.png created
Documentation say that MPC is raw memory cache format so why not write MPC files directly into target big (5,6 Gib in my case) temp file? Wy it need to copy all files before processing?
I believe it's possible to avoid that step and speed up processing.