Re: Size numbers for the console-setup-enabled version of D-I

2009-07-09 Thread Christian Perrier
Quoting Samuel Thibault (sthiba...@debian.org):
 Christian Perrier, le Wed 08 Jul 2009 21:42:13 +0200, a écrit :
  initrd size : +328Kb
  memory  : -136Kb!!
  
  
  Odd, isn't it?
 
 Strings were not compressed in memory with kbd-chooser, were they?

Just like other debconf templates, I don't think they were. I have a
small doubt, though.

However, your explanation is probably right. Given the potential huge
impact on memory, compression was introduced in 1.37.

So, having the strings compressed is likely to be what
is giving us this memory gain.

Of course, that solves out the memory requirements but not the initrd
size impact



signature.asc
Description: Digital signature


Re: Size numbers for the console-setup-enabled version of D-I

2009-07-09 Thread Anton Zinoviev
On Thu, Jul 09, 2009 at 07:03:14AM +0200, Christian Perrier wrote:
 
 Of course, that solves out the memory requirements but not the initrd
 size impact

When initrd has to be small the translations can be removed from the 
Debconf data base and the file /usr/share/console-setup-mini/kbdnames.gz 
can be removed.

Anton Zinoviev


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Size numbers for the console-setup-enabled version of D-I

2009-07-08 Thread Christian Perrier
Quoting Frans Pop (elen...@planet.nl):

 1. Package size - impact on initrd size and memory usage
 
 In general I think it is necessary to be very alert on this, especially  
 for udebs that are included in initrds.
 
   .iso size   free mem after boot
 mini.iso: 8,916,992B  230,884kB
 mini-cs-i386.iso  9,267,200B  229,608kB
 
 Christian did forget to drop console-keymaps-at from his iso, so the 
 actual numbers should be a bit lower. If I correct for that, I get:
 
 - a ~250Kb (2.8%) initrd size increase
 - an extra memory usage of just under 1Mb (!)

Updated numbers after creating an image without console-keymaps-at and
with console-setup 1.40:

.iso size   initrd size  free mem after boot
mini.iso:   8,923,136B  15,955,968B  231,048kB
mini-cs-i386.iso9,150,464B  16,284,672B  231,184kB

initrd size : +328Kb
memory  : -136Kb!!


Odd, isn't it?




signature.asc
Description: Digital signature


Re: Size numbers for the console-setup-enabled version of D-I

2009-07-08 Thread Samuel Thibault
Christian Perrier, le Wed 08 Jul 2009 21:42:13 +0200, a écrit :
 initrd size : +328Kb
 memory  : -136Kb!!
 
 
 Odd, isn't it?

Strings were not compressed in memory with kbd-chooser, were they?

Samuel


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org