RE: [SLE] swap space question in 9.3 install

From: Greg Wallace (jgregw_at_acsalaska.net)
Date: 07/18/05

  • Next message: Bruce Marshall: "Re: [SLE] Audacity"
    To: <suse-linux-e@suse.com>
    Date: Mon, 18 Jul 2005 06:27:32 -0800
    
    

    -----Original Message-----
    On Monday, July 18, 2005 @ 5:40 AM, Randall Schulz wrote:

    >Kevan,

    >On Monday 18 July 2005 03:43, Kevanf1 wrote:
    > On 18/07/05, James Knott <james.knott@rogers.com> wrote:
    > > > I think you always want your swap partition on high disk. One
    > > > disk revolution moves more data on the outer part of the disk
    > > > than on the inner part. Like being on the edge of a merry
    > > > go-around instead of at the center, it's moving faster. For
    > > > swapping in and out of memory, I would think that would be the
    > > > best setup.
    > >
    > > How does one know where on the platter "high disk" is?
    >
    > I would imagine that is a job left to the operating system. Hence
    > there being a specific 'swap' partition in Linux.

    >No. the OS does not make such a determination.

    >The disk partitions (the number in, e.g., /dev/hda0) represent
    >contiguous portions of the disk in a strict order from inside to
    >outside or vice versa. (I now forget which the convention is, but I
    >think it's the opposite of CDs / DVDs. They start at the inside and go
    >outward. Hard drives, if I'm not mistaken, start at the outside with
    >partition 0 and move inward)

    I would have thought CDs and DVDs would work the same as hard drives
    (working from the outside in).

    >The fact that a partition is labelled a swap partition is mostly
    >redundant (not strictly necessary), but it prevents the system from
    >swapping on a file systerm partition or one of the mkfs series of
    >programs from creating a file system in a swap partition.

    So the space is set aside for memory swapping, thus "swap", right? And, as
    you say, the os won't store any permanent files there. The os can then dump
    RAM buffers into it in whole, starting right at the beginning of the swap
    space and moving forward, without worrying about stepping on any files.

    >But where the swap goes (which disk and which partition) is up to the
    >person configuring the system.

    At installation time, where Nick (Nick being the guy who started this
    thread, back in the day) is right now, right?

    >> --
    >> Take care.
    >> Kevan Farmer

    >Randall Schulz

    Greg W

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Bruce Marshall: "Re: [SLE] Audacity"

    Relevant Pages

    • Re: Security of data in memory
      ... swap partition, key protection, secure data deletion. ... being stolen or otherwise disclosed they will often respond with filesystem ... permissions on a file, user, group and other as a bare minimum. ...
      (SecProg)
    • Re: Hibernation woes
      ... this) or a swap PARTITION needs to be created from disk space ... which I take to mean unformatted free physical unused disk space just ... swap "file" creation and change. ... Unfortunately this is a dual boot machine (XP and Ubuntu) and will ...
      (Ubuntu)
    • Re: Pagefile problem after duplicating Win2000 partition
      ... Boot into safe mode ... set your new swap file appropriatly ... > like the old one was (using Partition Magic 7): ... So that the actual Windows desktop never comes up, ...
      (microsoft.public.win2000.general)
    • How to reassign "hibernate/restore/resume" partition on F9?
      ... Recently I upgraded the boot hard drive on this F9 box from 20GB to ... reversed the swap and root partition numbers. ... The swap partition is correctly detected. ... to look for the origin of the kernel boot message. ...
      (Fedora)
    • Re: Script to change swap <-> FAT partition on reboot?
      ... access with either operating system to transfer files, ... script that changes my swap space to FAT. ... I rarely transfer files from Windows to Linux but if I do, ... choose whether I want to change the FAT partition to a swap one? ...
      (comp.os.linux.misc)