Date: Mon, 20 Aug 2018 12:29:24 -0300 From: =?UTF-8?Q?Danilo_Eg=C3=AAa_Gondolfo?= <danilo@freebsd.org> To: marklmi@yahoo.com Cc: aliovx@gmail.com, freebsd-hackers@freebsd.org Subject: Re: rand_harvestq high cpu usage when /dev/urandom is used Message-ID: <CAFU7VyNpoenKzoRtOkMue4Z78_W8zZAAfFFxqUqwzeP2tUi1Jw@mail.gmail.com> In-Reply-To: <95C34771-8D0B-489A-88DA-09AF0D244A1C@yahoo.com> References: <CAO3OKx_3nKDEKP_eii0QoC7DG57Y_KLrHxwJrV7r7UMRL%2BX5_A@mail.gmail.com> <95C34771-8D0B-489A-88DA-09AF0D244A1C@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 20, 2018 at 8:54 AM Mark Millard via freebsd-hackers < freebsd-hackers@freebsd.org> wrote: > > > On 2018-Aug-20, at 4:27 AM, Ali Abdallah <aliovx at gmail.com> wrote: > > > . . . > > Also, I read on > > > https://lists.freebsd.org/pipermail/freebsd-current/2013-November/046683.html > > someone saying that sysctls to turn off harvesting is documented in > > random(6) > > > It says random(4), so: > > < > https://www.freebsd.org/cgi/man.cgi?query=random&sektion=4&manpath=freebsd-release-ports > >. > > > . . . > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > I can confirm this is happening. It's easily reproducible: dd if=/dev/urandom of=/dev/null rand_harvestq eat 100% of one CPU for minutes, in my case the system became unresponsive (at least the graphical interface, it freezes for few seconds). I'm running FreeBSD 12.0-ALPHA2 #14 r337973M (sorry if I sent it twice)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFU7VyNpoenKzoRtOkMue4Z78_W8zZAAfFFxqUqwzeP2tUi1Jw>