Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 19:00
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to run Puppy at 75MHz with 40 megs of EDO RAM
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Fri 02 Mar 2007, 00:41    Post subject:  How to run Puppy at 75MHz with 40 megs of EDO RAM  

Intro
My purpose in posting this is to demonstrate the extreme lower limits that are possible and communicate the steps I took in order for users, with limited hardware available, to take advantage of what I learned and optimize their performance as much and as quickly as possible.

*disclaimer: All testing and comments were made using my test system:
75MHz
40megs EDO Ram
2gig IDE HD
400 KBS CDROM
1.5 MB Floppy
Rematered CD that has a 215meg iso.

Booting from Floppy
If you BIOS doesn't support CD Boot, do this (otherwise, goto 2 under "Booting"):

1-Find a computer that boots from CD or currently has Puppy Running and make a "WakePup Boot Floppy" (Menu->Setup->WakePup create boot floppy).

Get WakePup2 for puppy2.16 or greater here.

Booting

2-Put in your CD (and boot floppy if needed) and boot.

note: If booting from CD you may need to use 'puppy pfix=ram' or 'puppy pfix=rdsh' at this point depending on mistakes, problems or method chosen to proceed.

3-Do keyboard wizard and video wizard (you probably want to pick XVESA if you have limited HW). Then when X starts to load (the text will go away and you'll see a big X on the screen), give it the three finger salute (ctr+alt+backspace) and get back to the command line.

Setting up Swap Space and copying squash files

4-You might now want to familiarize yourself with cfdisk and How to Create a Swap Space.

5-Make your save partition and maybe one for swap space or let puppy handle a swapfile. Although I found little notable difference in boot up or general performance in my tests, this may be due to non-extended use. I've read a partition is faster that a swapfile.

I made my partition the inner most partition in hopes of increasing seek time. I don't know how much this helped.

cfdisk /dev/hda
make save partition (vfat or ext3)
make swap partition (type 82)
write changes
run mkfs.vfat /dev/hda2
dd if=/dev/zero of=/dev/hda1 bs=1024 count=1024
mkswap /dev/hda1 1024

*note: I did run another test with a second 2gig drive and hooked it up as a slave on the CD IDE cable. I set it up as a 2gig swap partition and removed the swap partition on the first drive. The performance increase seemed negligible. Perhaps there was a stability increase.

6-If you understand how puppy saves session then consider copying your pup_2xx.sfs file and zdrv_2xx.sfs file to that partition now, otherwise do so on the next boot (you may need to ctrl+alt+backspace again). Optionally, in a low RAM situation, you may want to consider leaving those two files on the CD depending on the speed of the CD drive. My tests used a CD drive that boasts of "600 KBS" transfer speeds so I opted to use the IDE HD for reading those files.

7-Type "shutdown" or "reboot" and select your save partition.

Optimize ROX and JWM

First thing, remove as many desktop/pinboard icons as you can. This made a noticeable difference in performance at the level I was working. Set the background to a single solid color (no picture) to speed things up a bit also. After you've done these, select your resolution (doing this last saves the time of rendering all the icons and picture again).

Make sure Thumbnails are shut off for JWM. They are by default now, but my remastered CD had them on and I thought it was worth mentioning.

Consider Changing Default Applications

Change Mozilla to Dillo (/usr/local/bin/defaultbrowser)
Change Geany to Leafpad (/usr/local/bin/defaulttexteditor)

Mozilla was impossible to run. Geany ran ok, but leafpad runs better. Most other applications seemed to function fine at this level with a bit of patience.

Kudos to the T2 implementation and team for building everything with x86. This seems to work much better than when I tried it prior to this.

Last edited by John Doe on Sun 17 Jun 2007, 23:30; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 02 Mar 2007, 05:20    Post subject: Which version of Puppy did you start with?  

Very impressive.
Which version of Puppy did you start with?
OneBone Pup, PicoPup ... console based Puppy or a recent 'full version'?

http://puppylinux.org/wikka/VersionsPuppy

_________________
Puppy WIKI

Last edited by Lobster on Tue 04 Nov 2008, 22:13; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
amish

Joined: 24 Sep 2006
Posts: 616

PostPosted: Fri 02 Mar 2007, 06:05    Post subject:  

this is very cool, especially if you managed it in 2.14. i have 2.11 and dos grub running on a 32mb machine. xwin is as slow as you'd expect it to be, but it works. puppy 1.07 does not boot on the machine at all- the kernel has a fit about ram.
_________________
sadly, it is not possible to separate politics from free software. free software - politics = unfree software.
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Fri 02 Mar 2007, 06:34    Post subject:  

It was a remastered version of 2.13b1/2 I think. Maybe 2.12.

(I actually wrote that in the first week of Jan., so a few things like the menu locations might be off now.)

Check out the 'pfix=nox' idea also. I've never actually tried Pico or OneBone but I get the idea. I was thinking it would be possible to merge the two into one using that concept. So Puppy would be puppy, but with a quick arg it becomes as powerful a cli as onebone for use in the above situation to then become a sort of fat-pico/lite puppy afterwards.
Back to top
View user's profile Send private message 
mbutts


Joined: 11 Nov 2006
Posts: 231
Location: sitn on an iceburg waiting for my next meal to swim by.

PostPosted: Fri 02 Mar 2007, 10:53    Post subject:  

i think the last time i owned anything that high performance was back in 1995. impressive to say the least. was that dx4 or pentium microprocessor?
_________________
Penguin, the OTHER white meat.

Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Fri 16 Mar 2007, 03:28    Post subject:  

pentium.

First machine the family really started using together.

Brings a tear to my eye Crying or Very sad

I learned html on it and how to type really well; by entering the entire Chamber of Commerce into a database so I could print labels to mail them about my lawn service.

Before that it was all Franklin 3800's/Basic/Fortran, BBS's and some goofy apple boxes.
Back to top
View user's profile Send private message 
JPsDad

Joined: 16 Jan 2007
Posts: 19

PostPosted: Sun 27 Jan 2008, 12:21    Post subject: My Pentium 100 with 64MB RAM. hangs during boot, copying sfs
Subject description: Stalls "copying pup_214.sfs to tmpfs...."
 

My Pentium 100 with 64MB RAM. hangs during boot from LiveCD 2.14 & 2.17.1 The last thing to appear on the screen is: "copying pup_2.14.sfs to tmpfs... " it NEVER ENDS
I've tried several Puppy vers. including 2.14 & 2.17.1
I have created a swap partition, hdc3 which 2.17.1 says is loaded.
I tried pfix=nox, but it doesn't get that far.

(It boots and runs DSL v.1.0 to v3.4.3 with no problems, except I have trouble with the multimedia apps.)

I want this machine for surfing and audio (CD to MP3). at a vacation home.

Any suggestions for making the Puppy behave. Are there cheat codes for lowRAM? Should I go back to v1.0 or some other version that may be happier with 64M??

John
Back to top
View user's profile Send private message 
jonyo

Joined: 28 Dec 2006
Posts: 2727

PostPosted: Sun 27 Jan 2008, 12:35    Post subject:  

Might try 2.02. http://www.murga-linux.com/puppy/viewtopic.php?p=131451#131451
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Sun 27 Jan 2008, 13:45    Post subject: Re: My Pentium 100 with 64MB RAM. hangs during boot, copying
Subject description: Stalls "copying pup_214.sfs to tmpfs...."
 

JPsDad wrote:
I want this machine for surfing and audio (CD to MP3). at a vacation home.
If you want to rip CD to mp3 I'm not sure that your processor is up to it. If any one knows differently I'm very interested, I have a p133 laptop that I would like to be able to do this with if it is possible.
_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
jgui

Joined: 03 Nov 2008
Posts: 3

PostPosted: Tue 04 Nov 2008, 21:30    Post subject:  

Thanks for the post, very helpful.

I installed almost the same puppy version (2.14) on the same configuration (P75MHz, 40MB EDO RAM, 1GB HD, CD Rom not bootable). I configured a 128MB partition for swap but it looks like it doesn't use it by default. Each time I boot I have to click on the Devices icon and then click "use swap" link next to the swap partition.

I'm not sure if I missed something from your explanation. Can I set the swap partition to be used on boot?

I also wanted to point out that KonquerorEmbedded is working quite well with my configuration (javascript enabled, as opposed to Dillo).
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4292

PostPosted: Sun 16 Nov 2008, 14:39    Post subject:  

manual full install would go something like what is in the puppy universal installer and would be better on older systems (follow the same steps as above also for swap etc.. also turn off unneeded services like cups as well trayed apps - see /root/.jwmrc.tray)

/usr/sbin/puppyinstaller

it basically does the following (all $ are variables created in the script - use what is applicable to you instead)

wipe the destination drive
Code:
rm -rf $DESTMNTPT/*


mount the sfs
Code:
   losetup-FULL /dev/loop2 $SRCPATH/$xSFSNAME
   mkdir $DESTMNTPT/srcmntpt
   mount -r -t squashfs /dev/loop2 $DESTMNTPT/srcmntpt


copy files
Code:
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/bin $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/dev $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/etc $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/lib $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/mnt $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/proc $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/root $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/sbin $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/tmp $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/usr $DESTMNTPT/
   cp -a -u --remove-destination $DESTMNTPT/srcmntpt/var $DESTMNTPT/
   [ -d $DESTMNTPT/srcmntpt/opt ] && cp -a -u --remove-destination $DESTMNTPT/srcmntpt/opt $DESTMNTPT/


update PUPSTATE
Code:
    echo "ATADRIVES='$ATADRIVES'" >> $DESTMNTPT/etc/rc.d/PUPSTATE


update fstab
Code:

    mv -f $DESTMNTPT/etc/fstab $DESTMNTPT/etc/fstab.bak
    echo "/dev/$DESTPART     /            $DESTFS     defaults               0 1" > $DESTMNTPT/etc/fstab
    echo "none          /proc        proc     defaults               0 0" >> $DESTMNTPT/etc/fstab
    echo "none          /sys         sysfs    defaults               0 0" >> $DESTMNTPT/etc/fstab
    echo "none          /dev/pts     devpts   gid=2,mode=620         0 0" >> $DESTMNTPT/etc/fstab
    echo "/dev/fd0      /mnt/floppy  auto     noauto,rw              0 0" >> $DESTMNTPT/etc/fstab


it also shows basically how to create a boot floppy

I only took the key points for those who would actually need to do it this way (no sata checks etc..) if you need more info look at the puppyinstaller script
Back to top
View user's profile Send private message 
E2001


Joined: 12 Dec 2008
Posts: 45

PostPosted: Thu 18 Dec 2008, 13:24    Post subject: Re: My Pentium 100 with 64MB RAM. hangs during boot, copying
Subject description: Stalls "copying pup_214.sfs to tmpfs...."
 

HairyWill wrote:
f you want to rip CD to mp3 I'm not sure that your processor is up to it. If any one knows differently I'm very interested, I have a p133 laptop that I would like to be able to do this with if it is possible.


It's not necessarily the processors fault. If you can force the CD drive to do digital audio extraction, it should work at any cpu speed. Just don't ask me how to do that in Linux. Laughing
Back to top
View user's profile Send private message 
hanzf


Joined: 11 Mar 2009
Posts: 119
Location: Belzig, Germany

PostPosted: Fri 12 Jun 2009, 07:21    Post subject: Re: How to run Puppy at 75MHz with 40 megs of EDO RAM  

John Doe wrote:

Set the background to a single solid color (no picture) to speed things up a bit also.

How is this done? The only method I know is to make a .jpg file (eg with mtPaint ) that shows only one solid color, but this will not really save resources (will it?) I once tried to change .jwmrc to make a solid desktop background but either I had a wrong syntax or it was overridden from somewhere else.
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 561
Location: Gatton, Queensland

PostPosted: Fri 12 Jun 2009, 08:09    Post subject:
Subject description: How to run Puppy at 75MHz with 40 megs of EDO RAM
 

Crikey!
Just goes to show that while you may not have room to swing a cat, there's always room for Puppy...

I think I will leave my 75MHz dustbunny machine in the "too hard" basket though - I only have 16Mb EDO RAM for that one, and life is always getting shorter.
Back to top
View user's profile Send private message Visit poster's website 
bubbles99

Joined: 04 Nov 2009
Posts: 1

PostPosted: Wed 25 Nov 2009, 15:25    Post subject:    

maybe try DeLi linux on that really old one? Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1094s ][ Queries: 12 (0.0085s) ][ GZIP on ]