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

Dieter Plaetinck dieter at plaetinck.be
Mon Nov 21 06:55:53 EST 2011


On Mon, 21 Nov 2011 08:53:45 -0300
Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar> wrote:

> 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_*.
> 

I suggest to document these thoughts in the documentation of archiso.

Dieter


More information about the arch-releng mailing list