<html><head></head><body style="zoom: 0%;"><div dir="auto">TIP and HINT<br></div>
<div dir="auto">forget SSDs with LVM unless of enterprise level <br></div>
<div dir="auto">especially if you are going to use/implement the thin provisioning<br><br></div>
<div dir="auto">How to identify an SSD of enterprise level: <br></div>
<div dir="auto">it costs from 1,00 euro per gigabyte up to 1,50 euro per gigabyte<br><br></div>
<div dir="auto">Kind regards<br></div>
<div dir="auto">Roberto Gini<br></div>
<div dir="auto">Technical Manager @ <a href="http://www.RecuperoDatiRAIDFAsTec.it">www.RecuperoDatiRAIDFAsTec.it</a> <br><br><br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Ottieni <!-- tmjah_g_1299e --><a href="https://bluemail.me"><!-- tmjah_g_1299s -->BlueMail per Android<!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s --> <!-- tmjah_g_1299e --></div>
<div class="gmail_quote" >Il giorno 14 ott 2022, alle ore 21:50, Roger Heflin <<a href="mailto:rogerheflin@gmail.com" target="_blank">rogerheflin@gmail.com</a>> ha scritto:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="blue">What is the underlying disk hardware you are running this on?<br>virtual, spinning, ssd, nvme?<br><br>On Thu, Oct 13, 2022 at 2:01 AM Pawan Sharma <sharmapawan@microsoft.com> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><br> adding this to lvm-devel mailing list also.<br><br> Regards,<br> Pawan<br><hr><br> From: Pawan Sharma<br> Sent: Wednesday, October 12, 2022 10:42 PM<br> To: linux-lvm@redhat.com <linux-lvm@redhat.com><br> Cc: Mitta Sai Chaithanya <mittas@microsoft.com>; Kapil Upadhayay <kupadhayay@microsoft.com><br> Subject: LVM2 : performance drop even after deleting the snapshot<br><br> Hi Everyone,<br><br><br> We are evaluating lvm2 snapshots and doing performance testing on it. This is what we are doing :<br><br> dump some data to lvm2 volume (using fio)<br> take the snapshot<br> delete the snapshot (no IOs anywhere after creating the snapshot)<br> run the fio on lvm2 volume<br><br> Here as you can see, we are just creating the snapshot and immediately deleting it. There are no IOs to the main volume or anywhere. When we run the fio after this (step 4) and we see around 50% drop in performance with reference to the number we get in step 1.<br><br> It is expected to see a performance drop if there is a snapshot because of the COW. But here we deleted the snapshot, and it is not referring to any data also. We should not see any performance drop here.<br><br> Could someone please help me understand this behavior. Why are we seeing the performance drop in this case? It seems like we deleted the snapshot but still it is not deleted, and we are paying the COW penalty.<br><br> System Info:<br><br> OS : ubuntu 18.04<br> Kernel : 5.4.0<br><br> # lvm version<br>   LVM version:     2.02.176(2) (2017-11-03)<br>   Library version: 1.02.145 (2017-11-03)<br>   Driver version:  4.41.0<br><br> We also tried on latest ubuntu with newer version of LVM. We got the same behavior.<br><br> Any help/pointers would be appreciated. Thanks in advance.<br><br> Regards,<br> Pawan<br><hr><br> linux-lvm mailing list<br> linux-lvm@redhat.com<br> <a href="https://listman.redhat.com/mailman/listinfo/linux-lvm">https://listman.redhat.com/mailman/listinfo/linux-lvm</a><br> read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO">http://tldp.org/HOWTO/LVM-HOWTO</a>/<br></blockquote><br><hr><br>linux-lvm mailing list<br>linux-lvm@redhat.com<br><a href="https://listman.redhat.com/mailman/listinfo/linux-lvm">https://listman.redhat.com/mailman/listinfo/linux-lvm</a><br>read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO">http://tldp.org/HOWTO/LVM-HOWTO</a>/<br><br></pre></blockquote></div></body></html>