[arch-releng] [PATCH 2/2] [archiso] Add archiso_pxe_curl hook

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Mon Nov 21 06:53:45 EST 2011


On 11/21/2011 04:58 AM, Dieter Plaetinck wrote:
> maybe add some documentation too. like, how does the http/ftp support work (downloads the full image first?) and how does it compare to nbd (less efficient?)
>
> Dieter
>
* download full image to RAM. This is curl only, not fuse with 
curlftpfs/httpfs.
* compared to nbd, well... much much more memory is needed. Also more 
memory than when using nbd+copytoram, since copytoram only copies needed 
*.sfs. So for example if you boot with archiso_pxe_curl and fetch 
"core-dual.iso", ~700MiB of RAM is needed just for the iso, while using 
nbd+copytoram ~350MiB needed.

Maybe, can be added in a near future a switch or hook to download only 
*.sfs from http/ftp ;) Now logic parts are split (setup network / pxe 
mount hook), so the doors are open for another archiso_pxe_*.

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list