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

Re: [linux-lvm] Very slow i/o after snapshotting

On 07/09/2013 03:37 AM, Micky wrote:
On a machine, where weekly snapshots are created for dumping raw data,
the overall disk i/o has drastically degraded to few megabytes per
second. It is quite random and so slow that commands freeze often.

I was using chunk size of 512K and same byte size with dd.

Is it quite common; I read that such freezes require a reboot. Is
there a way to avert?
What am I missing here?

What do you mean by weekly snapshots?
If you mean old-style snapshots not thin-ones, many snapshots with single origin LV then how many snapshots are you keeping around?

If you have N snapshots up to (N+1)*chunksize is written for every write.

Also if this setup is used on HDDs the seektime may be relevant as well.

Old style snapshots were not meant for long term use and should be used while snapshot is copied over to permanent location.

You may be better off using thin-snapshots. Otherwise the solution is dumping old snapshots or moving over to tape, whatever, just do not keep more of them.

-- Marian

linux-lvm mailing list
linux-lvm redhat com
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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