Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-21-2002, 05:51 AM
|
#1
|
|
Member
Registered: Jan 2002
Posts: 159
Rep:
|
Swap - is it still best to use a dedicated partition?
Using RH since the 4.x days, I always remember it was best to create a dedicated partition. Recently I upgraded a 6.2 directly to 7.2 and was told the partition size I'd set was too small, but it let me create a file on disk (my only option at that point in the install).
Presumably a swap file can grow whereas a partition cannot. With all this work on the swap areas, and in particular my effectively wasting the old partition as it is too small, I was wondering if its now best to start using a file in all cases.
|
|
|
|
01-21-2002, 05:56 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,682
|
nope, whole swap partitions are still very much the standard
|
|
|
|
01-21-2002, 06:56 AM
|
#3
|
|
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316
Rep:
|
Redhat kinda forces a quite large size for your swap partition. But if you have plenty of RAM in it then it probably won't use it much at all. If it was running fine using that swap partition in 6.2 then I'm sure 7.2 will work fine with the same swap partition.
So unless you run large memory consuming processes (which will really slow down your machine anyways if it's constantly swapping) then it wouldn't hurt to force it to use the smaller swap partition anyways.
|
|
|
|
01-21-2002, 07:08 AM
|
#4
|
|
Member
Registered: Jan 2002
Posts: 159
Original Poster
Rep:
|
Ram is now 256M and yes, its a server running heavy java stuff such as resin for servlets and jboss for ejbs.
|
|
|
|
01-21-2002, 05:47 PM
|
#5
|
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
The rule of thumb is double your ram for swap..unless you have a shite load of ram.
|
|
|
|
01-22-2002, 05:31 AM
|
#6
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,682
|
Quote:
Originally posted by Aussie
The rule of thumb is double your ram for swap..unless you have a shite load of ram.
|
nah, that rule is at least 15 years old. For when you had to morgage a house to get a few extra meg of RAM.
Generally machines hace enough RAM in the first place and seldomly make use of swap at all.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:30 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|