←back to thread

526 points swills | 1 comments | | HN request time: 0s | source
Show context
rezonant ◴[] No.45688230[source]
But is /dev/null web scale?
replies(3): >>45688273 #>>45688300 #>>45688765 #
epistasis ◴[] No.45688273[source]
Yes, /dev/null can even power sites like zombo.com
replies(1): >>45688321 #
bottled_poe ◴[] No.45688321[source]
What’s the I/O throughput of /dev/null ?
replies(2): >>45688365 #>>45688374 #
epistasis ◴[] No.45688365[source]
Single client, I'm getting ~5GB/s, both on an 8-year-old intel server, and on my M1 ARM chip.

However with a single server, it doesn't perfectly linearly scale with multiple clients. I'm getting

1 client: 5GB/s

2 clients: 8GB/s

3 client: 8.7GB/s

replies(2): >>45688467 #>>45688477 #
fukka42 ◴[] No.45688467[source]
I'm easily reaching 30GB/s with a single client:

    dd if=/dev/zero of=/dev/null bs=1M status=progress
A second dd process hits the same speed.
replies(2): >>45688575 #>>45688592 #
rezonant ◴[] No.45688592[source]
What's the best hardware for running a /dev/null instance for production?
replies(2): >>45688994 #>>45689263 #
__turbobrew__ ◴[] No.45689263{6}[source]
A single resistor at ground voltage.
replies(1): >>45690063 #
1. eru ◴[] No.45690063{7}[source]
That doesn't support expected features like 'stat /dev/null'.