News for hackers. Stuff that matters.
Re:How to Program a Supercomputer by fermienrico on Monday October 30, 2017 @11:48PM (#15590976)
Thanks, I think that makes sense since 1/x is a non-linear function.

I have a follow-up question - what's then the advantage of measuring speed as ops/unit-time (Freq)? How come we don't see 0.25 ns/op as advertised speed on a Processor?

Re:How to Program a Supercomputer by Arelius on Tuesday October 31, 2017 @03:57AM (#15591657)
Exactly.

Honestly I don't know. I suspect it's mostly historical and marketing driven. I think CPU clocks are driven by some sort of oscillator, which is likely thought of as a frequency. And ops/unit-time may be a bit ambiguous, since if we try to choose say instructions, not all instructions take the same amount of clock cycles.

Additionally from a marketing perspective, I suspect you get a bit of an hz, more is better, sort of increase of numbers.

Honestly though I really don't know, this is all just speculation. Similarly video games are often "marketed" in Frames/Second, which is exactly the same problem.

Re:How to Program a Supercomputer by fermienrico on Tuesday October 31, 2017 @04:13AM (#15591690)
You're kind of blowing my mind. The more I think, the more stupid I feel.

If Freq is non-linear function of period, which it is... then Period is also a non-linear function of Freq. They're an inverse of each other.

So, if we're talking about Frequency, then the same argument could be made that Period is non-linear and it cannot be used to compare speed, since Period is 1/f - a non-linear function.

wtf is going on here... my brain hurts.

Re:How to Program a Supercomputer by Arelius on Tuesday October 31, 2017 @07:44PM (#15597731)
Yes, that's very true. I think it can be sometimes hard to ground yourself in what the actual thing is you care about. I think here is where experience trying to use the values is helpful, hence my video game example in a sibling thread.
Re:How to Program a Supercomputer by eesmith on Tuesday October 31, 2017 @02:44PM (#15595530)
"How come we don't see 0.25 ns/op as advertised speed on a Processor?"

Because different operations take different numbers of cycles and have different latencies. See http://www.agner.org/optimize/instruction_tables.pdf for a table of such.