How to use the RAM more efficiently?

Using applications, configuring, problems
Post Reply
Message
Author
ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

How to use the RAM more efficiently?

#1 Post by ELMIT »

I have now more or less finished all what I want onto my flash drive.
I only have 128 MB RAM. When the system boots, it shows me that it has only 2.6 MB free space.
Is there a way to free some more space ????

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#2 Post by sunburnt »

Hi ELMIT; It sounds like Puppy is loading the squash file into ram.
On a PC with 128MB of ram, Puppy isn't suppost to load the squash file into memory (I think).
As always... what version of Puppy are you using?
Out of curiosity, where is the Puppy save file at?

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#3 Post by ELMIT »

Hi,

I use puppy 2.02beta.

I am not sure if the following info is useful:

df -h
/dev/root 2.7M 95% /initrd
tmpfs 69.8M 98% /initrd/mnt/tmpfs
/dev/loop0 68.6M 100% /initrd/pup_ro2
/dev/sda2 113.9M 100% /initrd/mnt/dev_save
/dev/loop1 31.0M 83% /initrd/pup_ro1
tmpfs 6.2M 15% /initrd/pup_rw
none 105.8 98% /



on the USB flash drive is on partition sda1 (fat32) data
and on partion sda2:
lost+found 12k
extlinux.conf 64
extlinux.sys 9756
initrd.gz 1245k
pup_202.sfs 69M
pup_safe.3fs 32M
vmlinuz 1649k


How to get more RAM available?

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#4 Post by sunburnt »

I'm not sure about Puppy2, but if like Puppy1 the loading of the squash file & the save file into memory can't be controlled.
This was the final straw in the development of SimplePup I belief.

The kernel (vmlinuz) + initrd.gz (ungzipped) have a size of less than 4 MB.
This is ALL that ABSOULTELY has to be loaded into memory.
pup_202.sfs = 69 MB + pup_save.3fs = 32 MB, this equals a total of: 102 MB.

So it looks like both the squash & save files are being loaded.

Can anyone tell ELMIT how to control the loading of AT LEAST the "save file", this'll allow Puppy to still be fast loading the stock apps.
Ideally, perhaps both the save & squash files shouldn't be loaded into memory, especially if there's no swap file, as he's running off of a USB drive..

Post Reply