Swap space location and SELinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sport wrote:
> Are you sure you can put swap space on LVM?  I have never done it, and
> think it may be a bad idea anyway.  You want the fastest partition or
> partitions to be swap, and usually I put it on a primary partition.

Depends.

 1. With today's memory prices, many people will have "enough" RAM that
    they don't usually use swap, and it's just there for use in
    emergencies. In that case, there's not much point in worrying about
    swap speed.

 2. Megabytes per second is very often a *lousy* measurement of disk
    speed -- it doesn't tell you what you want to know.

    It's fine if you want to transfer large files from the disk
    sequentially (megabytes of data or more). But many disk access
    patterns involve many short accesses (say, a few kilobytes). In this
    case, the time to read the data off the disk will be dwarfed by the
    time it takes to get the disk heads to the right place. So for high
    performace, you want to minimise the access time. And the bit of the
    disk with the lowest access time is right next to where the heads are
    at the moment.

    So you may well want the swap to be near the data you're using,
    rather than at one end of the disk.

> Also, you can shut off selinux by passing the kernel parameter selinux=0
> I don't know off hand how to pass kernel parameters to an installation
> kernel, but I'm pretty sure it can be done.

http://fedora.redhat.com/docs/fedora-install-guide-en/fc5/ch-beginninginstallation.html

You'll all be familiar with the boot screen of a Fedora CD-ROM: you just
type in (for example)
linux selinux=0
plus anything else you think will be needed.

James.

PS: the mailing list guidelines discourage top-posting: see
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines#replying 

-- 
E-mail:     james@ | Mike Andrews' Corollary to Murphy's Law:
aprilcottage.co.uk | In any sufficiently large collection of texts, every
                   | possible misspeeling, as well as some that are not
                   | possible, will occur.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux