top | item 46243293

(no title)

philippta | 2 months ago

> I saw from the SSD was around 800 MB/s (which doesn’t really make sense as that should give execution speeds at 40+ seconds, but computers are magical so who knows what is going on).

If anyone knows what’s actually going on, please do tell.

discuss

order

ricardo81|2 months ago

Presumably after the first run much or all of the program is paged into OS memory

tomtomtom777|2 months ago

Yes, or it was still in memory from writing.

The numbers match quite nicely. 40gb program size minus 32gb RAM is 8gb, divided by 800mb/s makes 10 seconds.

hellzbellz123|2 months ago

I'm not entirely sure but could it be predictive branching?

bmacho|2 months ago

No, it needs to read the entire executable in order to be correct, it can't skip anything. Therefore the time for the IO must be a lower bound, predictive branching can't help that.