Re: Partitioning FC11 ??

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

 



A kernel developer, I think from Red Hat, said on a list that lvm is
2% slower than a physical partition.

Considering the obsession some folks have with performance, that seems
like an awful lot to give up for some flexibility which really may not
be at all helpful to some users.

The reason for the overhead is basically that when you send the
command over the wire to the actual disk, you have to give it an
absolute Logical Block Address - relative to the beginning of the
whole hard drive.  Hard disk drives don't know from partitions or
logical volumes.

To convert a partition offset into a disk offset, you just add the
starting sector of the disk.  To get that starting sector, you have to
look it up in a data structure that's maintained by the disk driver.

I don't know how LVM is implemented, but I imagine there are some
extra layers of indirection that enable that flexibility.  The data
structures involved will be more complex, as will be the code.

They will also be more likely to be buggy as well.

I've been setting up a bunch of partitions to run virtual machines on,
for cross-platform development.  While it's a PITA to keep
repartitioning my RAID 5, I figure the extra effort is worth it for
that consistently 2% faster disk I/O.

Don Quixote
quixote@xxxxxxxxxxxxxxxx
http://www.dulcineatech.com/

   Dulcinea Technologies: Software of Elegance and Beauty

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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