2 ms·
Guys he's only pushing 120mb/s over the loopback. That's totally lame. Sorry, but there's something wrong in the software stack. All the comments about hardware
by raggi 16y ago
Guys he's only pushing 120mb/s over the loopback. That's totally lame. Sorry, but there's something wrong in the software stack. All the comments about hardware, caches, blah blah are just FUD. Locked to a single CPU, he should be pushing well over this (like nearing an order of magnitude) if the software / stack was doing the correct thing. Do your math, or read my comment when it arrives on the article.
You can reproduce this bandwidth usage in slow ass languages like ruby, and I've done so many times. Btw. it's ~120MB/s he's peaked at. DDR2 peaks at what in the region of 10GB/s? i7's architecture should totally murder that, iirc.
raggi@mbk: ~/volatile % time dd if=/dev/zero of=bigfile bs=1048576 count=500
500+0 records in
500+0 records out
524288000 bytes transferred in 1.527235 secs (343292283 bytes/sec)
real 0m1.532s
user 0m0.003s
sys 0m0.796s
raggi@mbk: ~/volatile % time sh -c "cat bigfile | cat - > bigfile2"
real 0m2.846s
user 0m0.117s
sys 0m2.185s
raggi@mbk: ~/volatile % time sh -c "cat bigfile | cat - > bigfile2"
real 0m2.363s
user 0m0.116s
sys 0m2.161s