Re: partman-crypto: reducing memory usage in d-i

2006-08-22 Thread Joey Hess
David Härdeman wrote: > before I want on vacation I whipped up the attached patch which changes > partman-crypto to do "on-demand" loading of components. The result is > that it doesn't use memory if not used at the expense of additional > downloads during partitioning if encryption is desired.

Re: partman-crypto: reducing memory usage in d-i

2006-08-20 Thread David Härdeman
On Sun, Aug 20, 2006 at 08:31:13PM +0200, Frans Pop wrote: On Sunday 20 August 2006 11:48, David Härdeman wrote: The previous suggestion tried to load all methods as soon as crypto was chosen for any partition. This leads to additional downloads (since you will probably only want to use one meth

Re: partman-crypto: reducing memory usage in d-i

2006-08-20 Thread Frans Pop
On Sunday 20 August 2006 11:48, David Härdeman wrote: > On a more general note: is this something that you'd like to see in d-i > before the Etch release? Yes, it is. It will help to reduce the minimum required memory a bit. (Unless Christian keeps adding translations of course ;-) > I think I'l

Re: partman-crypto: reducing memory usage in d-i

2006-08-20 Thread David Härdeman
On Sat, Aug 19, 2006 at 09:25:18PM +0200, Frans Pop wrote: On Saturday 19 August 2006 20:41, David Härdeman wrote: I'm hoping to get some feedback on whether this is a good idea before I commit anything. What is missing in the patch IMHO is a check if there is actually enough free memory to l

Re: partman-crypto: reducing memory usage in d-i

2006-08-19 Thread Frans Pop
On Saturday 19 August 2006 20:41, David Härdeman wrote: > I'm hoping to get some feedback on whether this is a good idea before I > commit anything. What is missing in the patch IMHO is a check if there is actually enough free memory to load the modules and run crypto before actually doing so. If

partman-crypto: reducing memory usage in d-i

2006-08-19 Thread David Härdeman
Hi, before I want on vacation I whipped up the attached patch which changes partman-crypto to do "on-demand" loading of components. The result is that it doesn't use memory if not used at the expense of additional downloads during partitioning if encryption is desired. I'm hoping to get some