| Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
| 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. |
|
 |
|
11-15-2012, 12:53 AM
|
#16
|
|
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,560
Rep: 
|
This is what redhat says about swap.
|
|
|
|
11-15-2012, 08:16 AM
|
#17
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,210
|
Quote:
Originally Posted by ReaperX7
I've always been told you takes the RAM size and Double it to get your Swap size.
4GB RAM = 8 GB Swap Partition
|
Do you think it would be reasonable to have 32GB swap for a system with 16GB of RAM or even 128GB of swap for a system with 64GB of RAM?
One could buy a 120GB SSD in that case for swap only.
|
|
|
|
11-15-2012, 03:20 PM
|
#18
|
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 2,487
Original Poster
Rep:
|
Of course more RAM is the only thing better than RAM. If a processor has a physical address space of 2^40 bytes, implementing the whole space (to put 2^40 bytes of RAM on the other side of the bus)is the optimal solution, disregarding money and the physical space to place that much RAM. But the 80286 designers took a lot of work to design the mechanism of virtual addressing. The 80286 (famous AT IBM PC) had a _physical_ address space of 2^24 bytes (16MB). This means the processor effectively had 24 address lines. Now, in those days, RAM _was_ expensive, and nobody would dream of installing the full 16MB in a desktop machine. But there was virtual addressing, which meant full CPU support for memory management and a mechanism whereby the program got the illusion of having a large memory space, larger than the physical one.
So the full concept of the CPU Protected Virtual Address Mode rests upon the usage of large amounts of external memory or swap memory and it seems a bit of an absurdity to end up in a scenario where swap is no longer needed.
|
|
|
|
11-15-2012, 07:58 PM
|
#19
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
Quote:
Originally Posted by Berhanie
This is what redhat says about swap.
|
That page recommends swap sizes based solely on RAM size. Given that it also says, correctly IMHO, " the amount of swap space that a system needs is a function of the memory workload running", it begs the question " How did they calculate the recommended swap sizes?".
OK, a decision about swap has to be made during installation when the memory workload cannot practicably be estimated but it would be nice to give a caveat about the limitations of this "one size fits all" approach and a recommendation to monitor the memory workload.
|
|
|
|
11-16-2012, 03:01 AM
|
#20
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,620
|
Try different sizes or none at all. Remember that you don't need a swap partition, but you can create a swap file instead.
|
|
|
|
| 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 08:51 AM.
|
|
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
|
|