linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] raid & its stripes
@ 2017-09-13 13:53 lejeczek
  2017-09-14 14:58 ` Brassow Jonathan
  0 siblings, 1 reply; 9+ messages in thread
From: lejeczek @ 2017-09-13 13:53 UTC (permalink / raw)
  To: LVM general discussion and development

hi boys, girls

man page reads: -i ...This is equal to the number of 
physical volumes to scatter the  logical  volume data....
I wonder, when I do not use -i while creating an LV with 10 
phy devs.

$ lvcreate -n raid0.A --type raid0 -I 16 -l 97%pv

a dbench would show:
$ dbench -t 60 20
...
Throughput 112.309 MB/sec  20 clients  20 procs  
max_latency=719.409 ms

Yet when I say: this many stripes:

$ lvcreate -n raid0.A --type raid0 -I 16 -i 10 -l 97%pv

dbench:
...
Throughput 83.2822 MB/sec  20 clients  20 procs  
max_latency=816.027 ms

And though the results would vary, xfs, a dbench for LV with 
no -i as an argument(which LVM chooses then to be 2) would 
always look better.
And I thought, as in the manual, always make stripes to go 
to all phy devices.

Question - is there some "little" magic LVM does? And if yes 
then how/what it is?
many thanks, L.

.

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

end of thread, other threads:[~2017-09-25 21:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-13 13:53 [linux-lvm] raid & its stripes lejeczek
2017-09-14 14:58 ` Brassow Jonathan
2017-09-14 15:49   ` lejeczek
2017-09-15  2:20     ` Brassow Jonathan
2017-09-15 11:59       ` lejeczek
2017-09-18 16:10         ` Brassow Jonathan
2017-09-23 15:31           ` lejeczek
2017-09-23 15:35             ` lejeczek
2017-09-25 21:36               ` Brassow Jonathan

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