4 ms·
"The computer will execute several hundred thousand instructions during that second; I'd like you to study them all." That "several hundred thousand" has grown
by Someone 10y ago
"The computer will execute several hundred thousand instructions during that second; I'd like you to study them all."
That "several hundred thousand" has grown by about four orders of magnitude since then, even more if we consider multi-threading, GPU, CPUs in the network controller, etc.
Because of that, that task has become a lot more work. It is doable for 10^5-10^6 instructions (certainly for someone with Knuth's work ethic), but for 10^9-10^10 instructions, I guess even he would need to write tooling to do it.
A problem with tooling is that it may hide interesting behavior that the programmer writing the tooling isn't aware of in the 'misc' category of code executed. I fear that may defeat the purpose of this exercise.
- Klathmon 10y agoCouldn't you adjust the amount of time that you look at to preserve the "purpose" of the exercise? Make it 1/10th of a second, or 1/1000th if needed.
- hderms 10y agoInteresting question as I'm guessing the ratios of instructions would probably be different owing at the very least to the vast difference in CPU power to IO that has grown over time.