For those with an updated #macOS on modern hardware, I'm interested in the performance of /dev/urandom. If someone could do:

$ dd if=/dev/urandom bs=1M count=1000 of=/dev/null

and report back the performance, that would be awesome.

For example, on my ThinkPad t480s with Debian, I get the ~450 MBps:

$ dd if=/dev/urandom bs=1M count=1000 of=/dev/null
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 2.31313 s, 453 MB/s

Just curious.

@atoponce

Yes, I take the slow crown!

287 MB/s, Debian, ThinkPad x230t

@UncleIroh Interesting. What CPU do you have? What kernel version are you running?

@UncleIroh i7-8650 with kernel 6.6.8.

Jason Donenfeld made a lot of changes to the kernel RNG around versions 5.17-5.19, so I was curious if you running a kernel before or after those changes.

@atoponce

I just ran it against a 5.10.104 kernel and beat my record at 280Mb/s

Sign in to participate in the conversation
Merovingian Club

A club for red-pilled exiles.