<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">2016-01-30 0:05 GMT+08:00 Joe Thornber <span dir="ltr"><<a href="mailto:thornber@redhat.com" target="_blank">thornber@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Fri, Jan 29, 2016 at 07:01:44PM +0800, Dennis Yang wrote:<br>
> I had tried to define MAX_DECS as 1, 16, and 8192, and here is the<br>
> throughput I got.<br>
> When #define MAX_DECS 1, throughput drops from 3.2GB/s to around 800 ~ 950<br>
> MB/s.<br>
> When #define MAX_DECS 16, throughput drops from 3.2GB/s to around 150 ~ 400<br>
> MB/s<br>
> When #define MAX_DECS 8192, the I/O blocks until deletion is done.<br>
><br>
> These throughput is gathered by writing to a newly created thin device<br>
> which means lots of provisioning take place. So it seems that the more fine<br>
> grained lock we use here results in the higher throughput. Is there any<br>
> concern if I set MAX_DECS to 1 for production?<br>
<br>
</span>Does the time taken to remove the thin device change as you drop it to one?<br>
<span class=""><font color="#888888"><br>
- Joe<br></font></span></blockquote><div> </div></div><div class="gmail_extra">Not that I am aware of, but I redo the experiment and the results are listed below.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">#define MAX_DECS 1</div><div class="gmail_extra">Delete a fully-mapped 10TB device without concurrent I/O takes 49 secs.</div><div class="gmail_extra">Delete a fully-mapped 10TB device with concurrent I/O to pool takes 44 secs.</div><div class="gmail_extra"><br></div><div class="gmail_extra">#define MAX_DECS 16</div><div class="gmail_extra"><div class="gmail_extra">Delete a fully-mapped 10TB device without concurrent I/O takes 47 secs.</div><div class="gmail_extra">Delete a fully-mapped 10TB device with concurrent I/O to pool takes 46 secs.</div></div><div><br></div><div><div class="gmail_extra">#define MAX_DECS 8192</div><div class="gmail_extra"><div class="gmail_extra">Delete a fully-mapped 10TB device without concurrent I/O takes 47 secs.</div><div class="gmail_extra">Delete a fully-mapped 10TB device with concurrent I/O to pool takes 50 secs.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Dennis</div><div class="gmail_extra"><br></div></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">Dennis Yang </span><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"> </span><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><br>QNAP Systems, Inc.</span><div><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">Skype: qnap.dennis.yang<br>Email:</span><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"> <a href="mailto:dennisyang@qnap.com" target="_blank">dennisyang@qnap.com</a></span><div><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">Tel:</span><span style="font-family:Arial,sans-serif;font-size:13.3333px"> (+886)-2-2393-5152 ext. </span><span style="font-family:Arial,sans-serif;font-size:13.3333px">15018</span><div><font face="Arial, sans-serif" size="2">Address: </font><span style="color:rgb(51,51,51);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:18.6667px">13F., No.56, Sec. 1, Xinsheng S. Rd., Zhongzheng Dist., Taipei City, Taiwan</span></div></div></div></div></div>
</div></div>