引用:
作者: aaronding
如果有性能问题是要进行tune,但不是针对多核cpu的。我觉得你不可能写出一段指定cpu(核)的指令,OS干啥去了?...
|
With performance tune, you have to consider features of OS and CPU architect. It's a part of application programmer's job, not OS's job. You don't write CPU instructuons. But you have to modify your code to fit for special OS and CPU.
If you write small app, computer is fast enough. If you write big app, that's part of your work.