d-i eats more and more memory
Hello,
I've updated the lowmem limits:
amd64)
- level1=71 # MT=72976, qemu: -m 80
- level2=67 # MT=68880, qemu: -m 76
- min=51 # MT=52496, qemu: -m 60
+ level1=97 # MT=98352, qemu: -m 105
+ level2=97 # MT=98352, qemu: -m 105
+ min=82 # MT=82992, qemu: -m 90
;;
arm|armel|armhf)
- level1=32 # MT=32792, qemu: -m 36
- level2=28 # MT=28752, qemu: -m 32
- min=24
+ level1=76 # MT=77036, qemu: -m 80
+ level2=76 # MT=77036, qemu: -m 80
+ min=27 # MT=27316, qemu: -m 31
;;
armeb)
+ # Update needed
level1=32 # MT=32792, qemu: -m 36
level2=21
min=18
;;
i386)
- level1=51 # MT=52416, qemu: -m 56
- level2=51 # MT=52416, qemu: -m 56
- min=39 # MT=40224, qemu: -m 44
+ level1=90 # MT=91480, qemu: -m 95
+ level2=90 # MT=91480, qemu: -m 95
+ min=75 # MT=76248, qemu: -m 80
;;
mips)
# Update needed
- level1=57
- level2=33
- min=21
+ level1=78 # MT=79788, qemu: -m 85
+ level2=78 # MT=79788, qemu: -m 85
+ min=27 # MT=27004, qemu: -m 33
and graphical installer:
case "$(archdetect)" in
+ # Tested with Uyghur
powerpc/*|amd64/*)
- local MEMLIMIT=119 ;; # is 128 MiB
+ local MEMLIMIT=164 ;; # is 170 MiB
*)
- local MEMLIMIT=94 ;; # is 100 MiB
+ local MEMLIMIT=134 ;; # is 140 MiB
esac
The arm bump is particularly bad: the default installed udebs take a
lot of memory, while the absolute minimum (only nic & partman-auto
udebs) has only bumped from 28 to 31MiB. The first level of lowmem (drop
translations & such) is actually almost ineffective. Perhaps there's
some bug here.
One other big culprit for instance is wireless support, which brings a
few MiB for crypto support etc.
More investigation could be done, I haven't tried too much for now
(busybox doesn't have du compiled in :) )
Samuel
Reply to: