APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > splitting linux swap space
Printer Friendly Version




News Group Posts

splitting linux swap space




From: Floyd Davidson <floyd@barrow.com>
Subject: Re: Configuration of swap space
Date: 23 Jun 2003 07:50:20 -0800
References: <8mEJa.299$nG.362@rwcrnsc51.ops.asp.att.net>
<1k47db.bgp.ln@news.it.uc3m.es> "Peter T. Breuer" <ptb@oboe.it.uc3m.es> wrote: >Leonard Evens <len@math.northwestern.edu> wrote: >> I am about to "upgrade" from RH 7.1 to RH9 by doing a fresh install. I >> plan to expand my swap space to accomodate my current ram, which is 1.5 >> Gb. Originally I had 500 Mb of ram with 1 Gb of swap, but the vendor I >> bought the machine from decided to make two swap partitions of 500 Mb >> each. Or at least that is what I have now. Following RedHat's >> recommendation, I plan to allow for 2 Gb of swap space. Is there any > >Don't. If you are more than 100MB into swap, you are in trouble. The >more memory you have, the less swap you need too. So stick at 1GB and >begrudge them that! I agree with the above. If the OP had 500Mb of RAM and did not need more swap space, changing to 1500Mb of RAM certainly isn't going to cause a _greater_ need for swap!












>> reason to split this into smaller swap partitions, or should I just make 
>> one large swap partition?
>
>Do as you like. There is no particular advantage either way, but two is
>more flexible.

If multiple partitions are set to have the same priority, they
will be accessed each in turn.  If they are on separate drives
which can be accessed at the same time, that is exactly what
will happen and the speed of swap access will be significantly
increased.  It works exactly the same was as the speed increase
with a RAID array.

If the OP has multiple SCSI drives he can benefit from using
multiple swap partitions.

-- 
Floyd L. Davidson           <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)                         floyd@barrow.com


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar


cartoon
Versatile Site Map Generator $59.00
A1 Sitemap Generator

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here