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 Sun 17 Nov 2019, 14:34
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Should I increase swap file ?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
chtamina

Joined: 02 May 2011
Posts: 6

PostPosted: Mon 02 May 2011, 06:06    Post subject:  Should I increase swap file ?
Subject description: will it help ?
 

So this is my computer (it's an ibm thinkpad laptop)

Processor : Intel(R) Pentium(R) III Mobile CPU 866MHz
Memory : 254MB (167MB used)


I'm using Lucyd Puppy 5.2.5

I've got plenty of space on my hd, do you think that increasing the swap file would enhance its performances ?

thanks
Back to top
View user's profile Send private message 
Bernie_by_the_Sea


Joined: 09 Feb 2011
Posts: 329

PostPosted: Mon 02 May 2011, 06:46    Post subject:  

How large is your swap file now?
Back to top
View user's profile Send private message 
chtamina

Joined: 02 May 2011
Posts: 6

PostPosted: Mon 02 May 2011, 07:46    Post subject:  

how do I check ?
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Mon 02 May 2011, 08:17    Post subject:  

At the command prompt run the utility free, you'll get
an output like this.

Code:
              total         used         free       shared      buffers
  Mem:       514972       506392         8580            0        22188
 Swap:       262136        56272       205864
Total:       777108       562664       214444


The swap line will tell you what you need to know.

~

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13363
Location: Arizona USA

PostPosted: Mon 02 May 2011, 08:25    Post subject:  

Chtamina: To be pedantic about it, you are talking about a swap partition, not a swap file, is that correct? There is quite a difference.
Back to top
View user's profile Send private message 
chtamina

Joined: 02 May 2011
Posts: 6

PostPosted: Tue 03 May 2011, 05:39    Post subject:  

Bruce B wrote:

The swap line will tell you what you need to know.


it's 0 (zero)
Back to top
View user's profile Send private message 
chtamina

Joined: 02 May 2011
Posts: 6

PostPosted: Tue 03 May 2011, 05:39    Post subject:  

Flash wrote:
Chtamina: To be pedantic about it, you are talking about a swap partition, not a swap file, is that correct? There is quite a difference.


sorry for my windows mode on Smile
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 814

PostPosted: Tue 03 May 2011, 06:27    Post subject:  

so to answer your original question--increasing your swap will almost certainly help.

You can use Gparted (under system):
(-If you are running windows on the same computer, boot windows and use it to defragment the disk 1st)
1) Boot the computer with a puppy cd. At boot click f2 and then chose the pfix=ram option. (this will make sure that when puppy loads, the harrddrive is left free to work on. it will look like a new install is going on when the computer loads, but don't worry about this)

2) then with gparted, you can click on the harddrive and create partitions or resize them. You will want to click on the harddrive, and at the end create a new partition. (Generally twice your ram is a rule of thumb, so about 500mb in your case). You will have the option to determine what type of partition you are making--chose linux swap. Click all the ok's and there you go.

3)at shutdown: since you booted pfix=ram, the computer will think this is a new installation and offer to create a new savefile. Do Not create a new save file.

Next time boot puppy normally--it should detect the swap. You can check with "free"

Generally gparted is safe, but making new partitions is one of those things that can lose data--so back up everything valuable first before doing all this.
Back to top
View user's profile Send private message 
Shep

Joined: 08 Nov 2008
Posts: 880
Location: Australia

PostPosted: Tue 03 May 2011, 07:51    Post subject: Re: Should I increase swap file ?
Subject description: will it help ?
 

chtamina wrote:
So this is my computer (it's an ibm thinkpad laptop)

Processor : Intel(R) Pentium(R) III Mobile CPU 866MHz
Memory : 254MB (167MB used)

I'm using Lucyd Puppy 5.2.5

I've got plenty of space on my hd, do you think that increasing the swap file would enhance its performances ?

It all depends. Wink Exactly what are you doing with the computer, and what performance would you like to improve?

If a frugal install, then I suggest that at boot time, you hit <F2> and type: puppy pfix=nocopy so that all of the ram gets allocated for system and program use. This will ensure it practically never needs to use the [comparatively slow] swap space.

The other suggestion I have is that you avoid using the flash player if you have other things running at the same time. If Lucid is anything like the Wary that I'm using, then once you use the flash player it hangs around for the rest of time, doing nothing but guzzling clock cycles. If you must view some youtube videos, close the browser when finished and see whether that gets rid of the flash parasite/player. Use top to see what is hogging the processor. If it's the flash player, you can kill it to free up 35% of the cpu.

I am running with a 560 MHz cpu so am particularly alert to which programs hog the cpu.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0415s ][ Queries: 11 (0.0046s) ][ GZIP on ]