* dump of ext3 very slow from dm LV
@ 2007-06-30 20:28 Ross Vandegrift
2007-07-10 16:24 ` Phillip Susi
0 siblings, 1 reply; 2+ messages in thread
From: Ross Vandegrift @ 2007-06-30 20:28 UTC (permalink / raw)
To: linux-kernel; +Cc: dm-devel
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@kallisti.us
"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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: dump of ext3 very slow from dm LV
2007-06-30 20:28 dump of ext3 very slow from dm LV Ross Vandegrift
@ 2007-07-10 16:24 ` Phillip Susi
0 siblings, 0 replies; 2+ messages in thread
From: Phillip Susi @ 2007-07-10 16:24 UTC (permalink / raw)
To: Ross Vandegrift; +Cc: linux-kernel, dm-devel
Ross Vandegrift wrote:
> 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?
My first impression is nothing is slowing things down. This all appears
normal. Dumping or taring files in the filesystem isn't going to
operate near the max sequential throughput of the drive. Also you
haven't tested without LVM so you have no basis to assume it is a
problem with LVM.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-10 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-30 20:28 dump of ext3 very slow from dm LV Ross Vandegrift
2007-07-10 16:24 ` Phillip Susi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).