2015-10-13 13:29:18 |
Lucas Alvares Gomes |
description |
IPA always cache the image under /tmp and then copy it to the disk. While this is required for images using some disk format such as qcow2 that requires it to be converted before it's copied to the disk (due the need of random access in the image file), the same doesn't hold true for raw disk images.
For raw disks images the image could be downloaded and copied onto de disk directly without the need of caching it before, this would be faster and would require less memory to run the ramdisk.
Also, checksum can be computed from the stream being downloaded and verified at the end of the process. |
IPA always cache the image under /tmp and then copy it to the disk. While this is required for images using some disk format such as qcow2 that requires it to be converted before it's copied to the disk (due the need of random access in the image file), the same doesn't hold true for raw disk images.
For raw disks images the image could be downloaded and copied onto de disk directly without the need of caching it before, this would be faster and would require less memory to run the ramdisk.
Also, checksum can be computed from the stream and verified at the end of the process. |
|