dump of ext3 very slow from dm LV



Hello everyone,

A while back I asked about this on the LVM mailing list, but didn't
receive a response. Am revisiting it now, so would like a broader
audience.

I've run into some substantial read slowness when using dump or tar
to backup filesystems that are stored on LVM2 LVs. All of my tests
are dumping ext3 filesystems to /dev/null.

I'm seeing speeds in the range of 3-4MiB/s. If I increase dump's
blocksize to 128KiB records, speed jumps up to about 20KiB/s, which
is better but still frustratingly slow. Going to 1024KiB gets me
about 28MiB/s.

Today I loop mounted a file on my LVM, filled it up with some crap
from urandom and dumped it out. I was able to get 50-60MiB/s.

Is this amount of performance loss due to dm expected? My LV is just two
SATA hard disks that I put into a VG. Stupid benchmarks with dd gives me
a raw read speed from the LV of about 60MiB/sec.

I'm using kernel 2.6.18-4-686 from debian. Any ideas on what's
slowing down dump?
--
Ross Vandegrift
ross@xxxxxxxxxxx

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: How quickly do you DUMP?
    ... my storage media or network speed, but by the writing speed of the backup ... when I use my libpipe-plugin to dump a 55Gb database: ... If I go up to two stripes: ... I see faster speeds. ...
    (comp.databases.sybase)
  • Plusnet woes.
    ... Speeds back up to 1mb + today. ... it quite tempting to dump BB and BT and just use my Vodaphone dongle. ...
    (uk.telecom.broadband)
  • Plusnet woes.
    ... Speeds back up to 1mb + today. ... it quite tempting to dump BB and BT and just use my Vodaphone dongle. ...
    (uk.telecom.broadband)
  • Re: Questions (Space)
    ... one of them and still be able to talk about all possible speeds. ... The difference here is, if you fix the latitude (say, standardise on 0 ... numbers to designate a spot on the globe. ... Mathematicians consider this difference crucial, ...
    (rec.arts.sf.composition)