Professional Web Applications Themes

Swap files/partitions - Linux Setup, Configuration & Administration

I have never installed Linux myself, and have a few questions about swap partitions and files: 1. I've heard that it is possible to have the swap as either a swap file or partition. What difference does it make? And will RedHat ask me which one I want when I install? 2. Do I need to put a swap partition/file on myself, or will the RedHat installation create one automatically? 3. I currently have a machine with Win98S/E and intend adding another HDD for adding RedHat and a FAT32 partition. Which HDD should I put the swap on? 4. What ...

  1. #1

    Default Swap files/partitions

    I have never installed Linux myself, and have a few questions about swap
    partitions and files:

    1. I've heard that it is possible to have the swap as either a swap file
    or partition. What difference does it make? And will RedHat ask me which
    one I want when I install?

    2. Do I need to put a swap partition/file on myself, or will the RedHat
    installation create one automatically?

    3. I currently have a machine with Win98S/E and intend adding another
    HDD for adding RedHat and a FAT32 partition. Which HDD should I put the
    swap on?

    4. What does the swap actually do?


    Any help would be greatly appreciated.

    Many thanks,
    Paul

    Paul Guest

  2. #2

    Default Re: Swap files/partitions

    On Tue, 04 Nov 2003 03:30:05 GMT, Paul Medwell wrote: 

    Usually during install you can identify a partition as swap.
    You make it 2xmemory up to 512meg max.
     

    Depends on what option you pick during installation.
     

    It will run on either one. Putting swap on a different drive than
    linux could get a small increase in speed. Then again maybe not.
     

    Linux likes to run from ram and can have several programs running at the
    same time. When a program needs more memory, and you have a program
    which has been idle for a while, linux will swap the idle program from
    ram into swap.

    Bit Guest

  3. #3

    Default Re: Swap files/partitions

    On Tue, 04 Nov 2003 03:30:05 GMT, in article
    <3fa71d3b$saard.net>, Paul Medwell wrote:
     

    True.
     

    It used to be, or at least used to be said, that swap files were slower
    than swap partitions because the drive accesses all had to go through the
    filesystem drivers.
     

    I've never installed RedHat, but I can't believe its installer won't give
    you the option of letting it handle the creation.
     

    If you have the ability and the desire, place the swap partition near the
    most used partition of the least used hard drive.

    Or, if you have Win98 on one drive and Linux on the other, put Linux' swap
    partition on the Win98 drive.

    Or, put it anywhere you have space. If you have enough RAM, it will almost
    never be used and it doesn't matter where you put it.
     

    Informally, if your system "needs" more RAM than it actually has installed,
    the kernel will use disk space ("swap space") temporarily as if were simply
    very-very-very slow RAM.

    --
    "[O]bviously Linux owes its heritage to Unix, but not its code.
    We would not, nor will not, make such a claim."
    -- Darl McBride. CEO, The SCO Group. August 2002.
    Jules Guest

Similar Threads

  1. Swap image also swap link
    By Timothy Robertson in forum Dreamweaver AppDev
    Replies: 2
    Last Post: May 26th, 05:29 PM
  2. 9i RAC without Raw Partitions ...
    By Domenic in forum Oracle Server
    Replies: 5
    Last Post: October 18th, 06:14 PM
  3. New Partitions
    By Bit Twister in forum Linux Setup, Configuration & Administration
    Replies: 4
    Last Post: August 15th, 05:56 PM
  4. where are the partitions?
    By ppblue@despammed.com in forum Linux Setup, Configuration & Administration
    Replies: 9
    Last Post: August 8th, 12:07 PM
  5. From Two Partitions to One
    By Vincent Nadon in forum Windows XP/2000/ME
    Replies: 2
    Last Post: July 12th, 05:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139