| Author |
Message |
pri

Joined: 09 Oct 2009 Posts: 330 Location: Bandung Indonesia
|
Posted: Mon 05 Apr 2010, 11:36 Post subject:
big size puppy for small ram |
|
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
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.
_________________ Learning by Doing
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 841
|
Posted: Mon 05 Apr 2010, 16:56 Post subject:
|
|
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
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1641 Location: South Australia
|
Posted: Mon 05 Apr 2010, 17:14 Post subject:
|
|
If you had a Linux swap partition I believe this would be used like ram although slower.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Mon 05 Apr 2010, 17:29 Post subject:
|
|
http://www.murga-linux.com/puppy/viewtopic.php?t=52596
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3845
|
Posted: Tue 06 Apr 2010, 15:46 Post subject:
|
|
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)
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Wed 07 Apr 2010, 05:12 Post subject:
|
|
| 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...
|
|
Back to top
|
|
 |
pri

Joined: 09 Oct 2009 Posts: 330 Location: Bandung Indonesia
|
Posted: Wed 07 Apr 2010, 07:30 Post subject:
|
|
build initrd.gz with woof ? i cant find it give me a clue
_________________ Learning by Doing
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3845
|
Posted: Wed 07 Apr 2010, 09:33 Post subject:
|
|
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)
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4014 Location: Arizona, U.S.A.
|
Posted: Thu 08 Apr 2010, 02:02 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
|