From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A333F5B6A7 for ; Sat, 26 Jan 2019 03:36:17 +0000 (UTC) Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6F43ABB14 for ; Sat, 26 Jan 2019 03:36:16 +0000 (UTC) Received: by mail-ot1-f41.google.com with SMTP id k98so10440478otk.3 for ; Fri, 25 Jan 2019 19:36:16 -0800 (PST) MIME-Version: 1.0 References: <3d9fcd41-46df-aa71-7be9-f2258b7598e5@gmail.com> In-Reply-To: <3d9fcd41-46df-aa71-7be9-f2258b7598e5@gmail.com> From: Eric Ren Date: Sat, 26 Jan 2019 11:36:04 +0800 Message-ID: Content-Type: multipart/alternative; boundary="00000000000057f2c70580542505" Subject: Re: [linux-lvm] Question about thin-pool/thin LV with stripes Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: Zdenek Kabelac Cc: LVM general discussion and development --00000000000057f2c70580542505 Content-Type: text/plain; charset="UTF-8" Hi Zdenek, When 'stripe_size' is the 'right size' - striped device should appear > faster, > but telling you what's the best size is some sort of 'black magic' :) > > Basically - strip size should match boundaries of thin-pool chunk sizes. > > i.e. for thin-pool with 128K chunksize - and 2 disks - > I'd assume best result you should get with 64K stripesize (so 2 disks will > make it 128K stripe) - but it depends on number of hw aspects. > > So you will need to benchmark it. > Thanks a lot for your input! Very helpful points to take more consideration~ Best regards, Eric --00000000000057f2c70580542505 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Zdenek,

When 'stripe_size' is the 'right size' - striped device sho= uld appear faster,
but telling you what's the best size is some sort of 'black magic&#= 39;=C2=A0 :)

Basically - strip size should match boundaries of thin-pool chunk sizes.
i.e. for thin-pool with 128K chunksize -=C2=A0 and 2 disks -
I'd assume best result you should get with 64K stripesize (so 2 disks w= ill
make it 128K stripe)=C2=A0 - but it depends on number of hw aspects.

So you will need to benchmark it.

=C2= =A0Thanks a lot for your input! Very helpful points to take more considerat= ion~

Best regards,
Eric
--00000000000057f2c70580542505--