linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] mirror_region_size default: 4096 six times faster than 512?
@ 2012-02-21 16:29 Ray Morris
  2012-02-21 16:50 ` Alasdair G Kergon
  2012-02-21 17:01 ` Les Mikesell
  0 siblings, 2 replies; 6+ messages in thread
From: Ray Morris @ 2012-02-21 16:29 UTC (permalink / raw)
  To: LVM general discussion and development

Moving several terabytes of data, I was again struck by the very 
large difference in performance between copying data in small chunks
for large chunks. After seeing larger block sizes make dd eight times
faster, I tried increasing mirror_region_size in lvm.conf:

pvmove with default mirror_region_size of 512: ~4-6 MB/s
pvmove with increased mirror_region_size of 4096: ~22-32 MB/s

Although this was somewhat unscientific testing, I'm quite curious 
what results others get on their hardware. The effect was most 
pronounced for me on a system with a 9550SX-12. I'll do some testing 
on a 8888ELP next week.

If 4096 is OFTEN several times faster than 512, would it make sense 
to consider canging the default?
-- 
Ray Morris
support@bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php

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

end of thread, other threads:[~2012-02-27 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21 16:29 [linux-lvm] mirror_region_size default: 4096 six times faster than 512? Ray Morris
2012-02-21 16:50 ` Alasdair G Kergon
2012-02-21 17:01 ` Les Mikesell
2012-02-23 16:46   ` Ray Morris
2012-02-24 15:57     ` Les Mikesell
2012-02-27 20:40       ` Ray Morris

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).