Date: Sun, 12 Jul 2015 16:42:32 -0700 From: Yuri <yuri@rawbw.com> To: freebsd-hackers@FreeBSD.org Subject: Does /dev/random in virtual guests provide good random data? Message-ID: <55A2FB68.3070006@rawbw.com>
next in thread | raw e-mail | index | archive | help
'cat /dev/random' in Linux VM (tried Ubuntu and Arch) is extremely slow, supposedly because VM runs out of entropy. This cat sometimes stops for minutes, and usually produces very few bytes per minute. Randomly clicking on the window helps speed it up a bit. Same in FreeBSD VM produces steady ~28MB/s stream. Does FreeBSD VM do something special for entropy, or the resulting stream actually lacks entropy, or maybe Linux does something wrong? I ran VMs on the same FreeBSD VirtualBox host. Somewhat relevant link: https://stackoverflow.com/questions/26021181/not-enough-entropy-to-support-dev-random-in-docker-containers-running-in-boot2d Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A2FB68.3070006>