Following is the bugzilla that was opened against this problem.<br><a href="http://bugzilla.kernel.org/show_bug.cgi?id=10378">http://bugzilla.kernel.org/show_bug.cgi?id=10378</a><br><br>Since I wasn't able to reproduce it on a server machine again, it was later closed.<br>
<br>If you think it is the same issue, please feel free to re-open it.<br><br><br>Ritesh<br><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 6:01 PM, Yan Li <<a href="mailto:elliot.li.tech@gmail.com">elliot.li.tech@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Milan,<br>
<div class="Ih2E3d"><br>
On Mon, Jun 02, 2008 at 08:52:00AM +0200, Milan Broz wrote:<br>
> Please could you try if  patch here helps and doesn't cause performance degradation?<br>
> <a href="http://www2.kernel.org/pub/linux/kernel/people/agk/patches/2.6/2.6.25/dm-crypt-add-cond_resched.patch" target="_blank">http://www2.kernel.org/pub/linux/kernel/people/agk/patches/2.6/2.6.25/dm-crypt-add-cond_resched.patch</a><br>

<br>
</div>Will the result of testing a Debian 2.6.24-etchnhalf.1-amd64 kernel<br>
(very near a vanilla kernel) be of same value?  Since the data on some<br>
other drives on this server is important so I dare not try 2.6.25-rc<br>
on it.<br>
<br>
Following is my test plan, comments are welcomed:<br>
<br>
Test command:<br>
# dd if=/dev/zero of=/dev/mapper/open_device bs=500M count=10<br>
(this server has 2G memory)<br>
<br>
The command will be run for 3 times, and average speed of last two<br>
runs will be taken as result score.<br>
<br>
Dm-crypt LUKS Encryption scenarios:<br>
aes-cbc-essiv:sha256, keysize 128<br>
aes-xts-plain, keysize 256<br>
aes-xts-plain, keysize 512<br>
<br>
I will compare the speed of all above 3 encryption scenarios, with and<br>
without the patch.<br>
<br>
--<br>
<font color="#888888">Li, Yan<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Ritesh Raj Sarraf<br>RESEARCHUT - <a href="http://www.researchut.com">http://www.researchut.com</a><br>"Necessity is the mother of invention."