<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — /dev/urandom performance regression with 4.9.176 kernel]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=198</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=198&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in /dev/urandom performance regression with 4.9.176 kernel.]]></description>
		<lastBuildDate>Mon, 03 Jun 2019 21:57:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: /dev/urandom performance regression with 4.9.176 kernel]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=915#p915</link>
			<description><![CDATA[<p>Thanks for the report outtasight.<br />10mb/s seems quite slow but I guess it depends of the usb key. And I think it is always kind of slow when one reach the end of it.<br />Anyway, I solved it. It was a motherboard &quot;issue&quot;. I unplugged the ac cord on my PSU and reset the cmos and now speed are back to &quot;normal&quot; (same as yours roughly) on this motherboard. Maybe the storm last week I don&#039;t know.. I use an UPS but I guess something went wrong.</p>]]></description>
			<author><![CDATA[null@example.com (aether)]]></author>
			<pubDate>Mon, 03 Jun 2019 21:57:39 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=915#p915</guid>
		</item>
		<item>
			<title><![CDATA[Re: /dev/urandom performance regression with 4.9.176 kernel]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=912#p912</link>
			<description><![CDATA[<p>In an effort to be very concise, the following has been severely edited and thus lacks details:</p><p>It has been my experience thus far, that Hyperbola kernel versions 4.9.176 and 4.9.155, running on both an Intel and AMD machines, have not had any significant effect on dumping /dev/urandom to an USB stick.</p><p>I have observed that while using an USB 2 stick, in both USB 2 and USB 3, neither have any significant impact on the reported speed. The speed does however, start off excellent, approximately 240 MB/s, to which it continuously declines, to approximately 10 MB/s, around six minutes into the test, at which the 4 GB device in question has apparently run out of space.</p><p>With a SSD hard drive, however, I didn&#039;t experience such incredible speed degradation, starting at about 100 MB/s, occasionally fluctuating between approximately 70 to 90 MB/s, but never apparently going below 70 for any noticeable amount of time.</p>]]></description>
			<author><![CDATA[null@example.com (outtasight)]]></author>
			<pubDate>Mon, 03 Jun 2019 10:13:52 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=912#p912</guid>
		</item>
		<item>
			<title><![CDATA[Re: /dev/urandom performance regression with 4.9.176 kernel]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=911#p911</link>
			<description><![CDATA[<div class="quotebox"><cite>aether wrote:</cite><blockquote><p>Thanks,<br />With a random USB key (with nothing on it of course..) plugged on USB2 port, try an erase with urandom, like this :</p><p><strong>I assume the USB key is on /dev/sdb, make sure it is, triple check. You don&#039;t want to erase your main drive right ? <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></strong></p><div class="codebox"><pre><code>dd if=/dev/urandom of=/dev/sdb bs=4096 status=progress</code></pre></div><p>And see if the speed looks normal.</p></blockquote></div><p>I would advise him also to use the command lsblk to make sure its /dev/sdb...</p><p>cannot be too careful, right?</p>]]></description>
			<author><![CDATA[null@example.com (zapper)]]></author>
			<pubDate>Sat, 01 Jun 2019 22:57:05 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=911#p911</guid>
		</item>
		<item>
			<title><![CDATA[Re: /dev/urandom performance regression with 4.9.176 kernel]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=910#p910</link>
			<description><![CDATA[<p>Thanks,<br />With a random USB key (with nothing on it of course..) plugged on USB2 port, try an erase with urandom, like this :</p><p><strong>I assume the USB key is on /dev/sdb, make sure it is, triple check. You don&#039;t want to erase your main drive right ? <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></strong></p><div class="codebox"><pre><code>dd if=/dev/urandom of=/dev/sdb bs=4096 status=progress</code></pre></div><p>And see if the speed looks normal.</p>]]></description>
			<author><![CDATA[null@example.com (aether)]]></author>
			<pubDate>Sat, 01 Jun 2019 11:41:00 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=910#p910</guid>
		</item>
		<item>
			<title><![CDATA[Re: /dev/urandom performance regression with 4.9.176 kernel]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=909#p909</link>
			<description><![CDATA[<p>I wouldn&#039;t mind trying that out. What steps do we do to replicate this?</p>]]></description>
			<author><![CDATA[null@example.com (outtasight)]]></author>
			<pubDate>Sat, 01 Jun 2019 04:52:48 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=909#p909</guid>
		</item>
		<item>
			<title><![CDATA[/dev/urandom performance regression with 4.9.176 kernel]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=889#p889</link>
			<description><![CDATA[<p>Since 4.9.176 kernel update, i&#039;m having huge performance issues when using /dev/urandom (to secure erase a usb key), it happens with USB2 or USB3.<br />To be more specific, it writes at 5MB/s with a HUGE IO/WAIT (almost 80%) (instead of 30MB/s with USB2, and 80MB/s with USB3 before updating kernel)<br />At first, I thought my usb device was faulty but on an other machine running Gentoo (with 4.19.44 kernel), the issue is not present.</p><p>By the way, it seems to affect only USB flash devices, as using /dev/urandom to erase a SATA disk (connected through SATA port or with SATA to USB adapter still works just fine)</p><p>Anyone else having the same issue ? Easy to replicate if you have a usb key laying around. I&#039;m not sure what is causing the issue. With previous kernel, it was working fine.</p>]]></description>
			<author><![CDATA[null@example.com (aether)]]></author>
			<pubDate>Fri, 24 May 2019 08:46:21 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=889#p889</guid>
		</item>
	</channel>
</rss>
