All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM and *bad* performance (no striping)
@ 2001-02-26 15:44 Urs Thuermann
  2001-02-26 20:39 ` Joe Thornber
  2001-02-26 21:41 ` Rik van Riel
  0 siblings, 2 replies; 22+ messages in thread
From: Urs Thuermann @ 2001-02-26 15:44 UTC (permalink / raw)
  To: linux-lvm

I tried to use LVM today using Linux 2.4.2 and it mostly works like I
expected.  But the performance is unacceptably bad:

    isnogud:/root# fdisk -l /dev/sda|grep sda5
    /dev/sda5            80       399   2570368+  8e  Linux LVM
    isnogud:/root# pvcreate /dev/sda5
    pvcreate -- physical volume "/dev/sda5" successfully created
    
    isnogud:/root# vgcreate vg0 /dev/sda5
    vgcreate -- INFO: using default physical extent size 4 MB
    vgcreate -- INFO: maximum logical volume size is 255.99 Gigabyte
    vgcreate -- doing automatic backup of volume group "vg0"
    vgcreate -- volume group "vg0" successfully created and activated
    
    isnogud:/root# lvcreate -n test /dev/vg0 -L 300M
    lvcreate -- doing automatic backup of "vg0"
    lvcreate -- logical volume "/dev/vg0/test" successfully created
    
    isnogud:/root# time dd if=/dev/sda5 of=/dev/null count=100000
    100000+0 records in
    100000+0 records out
    
    real    0m6.720s
    user    0m0.300s
    sys     0m0.970s
    isnogud:/root# time dd if=/dev/vg0/test of=/dev/null count=100000
    100000+0 records in
    100000+0 records out
    
    real    0m41.851s
    user    0m0.350s
    sys     0m2.250s

When making an ext2 filesystem on /dev/sda5 or /dev/vg0/test
respectivley, the performance of cp'ing, grep'ing all files and rm'ing
all files, seems to be comparable.  But why is the performance of
reading the block device with dd so bad?


urs

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2001-05-27 17:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-26 15:44 [linux-lvm] LVM and *bad* performance (no striping) Urs Thuermann
2001-02-26 20:39 ` Joe Thornber
2001-02-26 21:03   ` Jorg de Jong
2001-02-26 21:38     ` Rik van Riel
2001-02-27  8:35   ` Patrick Caulfield
2001-02-27 12:21   ` Urs Thuermann
2001-02-28 11:05     ` Heinz J. Mauelshagen
2001-04-10 19:30       ` Urs Thuermann
2001-04-10 21:37         ` Andreas Dilger
2001-04-11 11:23           ` Urs Thuermann
2001-04-11 19:49             ` Andreas Dilger
2001-04-11 22:00               ` Terje Kvernes
2001-05-15 11:46               ` Urs Thuermann
2001-05-15 12:13                 ` Patrick Caulfield
2001-05-26 11:17                   ` Urs Thuermann
2001-05-27  7:47                     ` Andreas Dilger
2001-05-27  9:47                       ` Urs Thuermann
2001-05-27 17:01                       ` [linux-lvm] LVM and *bad* performance (counterexample) idsfa
2001-05-15 17:08                 ` [linux-lvm] LVM and *bad* performance (no striping) Andreas Dilger
2001-05-26 11:23                   ` Urs Thuermann
2001-02-26 21:41 ` Rik van Riel
2001-02-27 10:33   ` Urs Thuermann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.