Page 1 of 1

big size puppy for small ram

Posted: Mon 05 Apr 2010, 15:36
by pri
puppy 4.3.1 is always copied sfs to ram, so ram it mustbe bigger than sfs.

the problem is i made some puppy and make it bigger than ram size. how to make it not copied to ram ?
pfix=noram not work, if work mybe it will be solution :D

i see an other puppy like tenpup that biger than ram size, but can run well on 128mb ram even it more time to boot up but its okey as long it work.

Posted: Mon 05 Apr 2010, 20:56
by seaside
pri,

If your SFS file is bigger than the available ram, then the SFS file won't load in memory.

If you want to be sure that it DOES NOT load into memory (even if enough ram is available) then you need to change the puppy "initrd.gz" startup file, since the "NORAM" option has been eliminated.

I think you may have to change the "initrd" code. As I recall, it is set at around 230M.

If you search for "COPY2RAM" in the "initrd" file and then look further for a test for "RAMSIZE", you could change "RAMSIZE" to some lower number.

I'm not sure why you would want to do this, and maybe I don't understand the question.

Cheers,
s

Posted: Mon 05 Apr 2010, 21:14
by smokey01
If you had a Linux swap partition I believe this would be used like ram although slower.

Posted: Mon 05 Apr 2010, 21:29
by abushcrafter

Posted: Tue 06 Apr 2010, 19:46
by technosaurus
the init in woof already has the fix I proposed in the thread abushcrafter posted - you can build the initrd.gz with woof and manually swap it out using isomaster (just make sure your versions match ... 431 on init requires 431 in the sfs in /etc/puppyversion and /etc/DISTROSPECS)

Posted: Wed 07 Apr 2010, 09:12
by abushcrafter
technosaurus wrote:the init in woof already has the fix I proposed in the thread abushcrafter posted - you can build the initrd.gz with woof and manually swap it out using isomaster (just make sure your versions match ... 431 on init requires 431 in the sfs in /etc/puppyversion and /etc/DISTROSPECS)
oh I might do that for my remaster...

Posted: Wed 07 Apr 2010, 11:30
by pri
build initrd.gz with woof ? i cant find it :D give me a clue :)

Posted: Wed 07 Apr 2010, 13:33
by technosaurus
thus far the only way to get woof is to download bones from the quirky repo on ibiblio and follow the instructions at bkhome.org/bones ... AFAIK there are no snapshot tarballs or anything (I think there is a howto in the forum as well)

Posted: Thu 08 Apr 2010, 06:02
by sunburnt
Same problem I had with MediaPup, it tried to load a 320MB SFS file into 256MB of ram!
If you don`t have a swap Puppy doesn`t account for that, not good...
The pfix=noram is tossed out and ignored during bootup. I had to hack fix it to make it work.