n******o 发帖数: 206 | 1 有一个十几年前的在dos下运行的exe,在十几年的老机器上运行一遍大约10分钟,现在
的机器应该快很多,可是现在在cmd prompt下运行一遍快不了多少。是不是重新
compile一次会不会快些? |
O**W 发帖数: 58 | 2 这个要看有没有为多线程优化吧,八成没有
这十年其实单线程提升并不高 |
n******o 发帖数: 206 | 3 有道理,如何实现多线程优化?多线程对应的英文是什么?
【在 O**W 的大作中提到】 : 这个要看有没有为多线程优化吧,八成没有 : 这十年其实单线程提升并不高
|
r****a 发帖数: 1212 | 4 得看那个程序干什么的,如果就是计算的话应该会快不少,因为这些年单核性能也肯定
翻倍了 |
Y****1 发帖数: 1 | |
n****i 发帖数: 214 | 6 Multi-threading.
However, I don't think recompiling will help much. Most modern multi-
processors do run-time parallel optimization, meaning it will do its best to
find ways at your program's run time to try to spread the workload to
multiple processors. To increase multi-thread performance, you'd have to
reprogram that program to create more room for multi-threading. This is why
many video games require high single-threaded CPU performance, because they
are poorly written to leverage multiple-processors (cores). It costs too
much money to reprogram them. |
O**W 发帖数: 58 | |
l****z 发帖数: 29846 | |
g***n 发帖数: 14250 | 9 现在 dir 滚屏的速度也没觉得比十年前快了几倍 |
n******o 发帖数: 206 | 10 十几年前compile时没有注意是否有用multi tread option
to
why
they
【在 n****i 的大作中提到】 : Multi-threading. : However, I don't think recompiling will help much. Most modern multi- : processors do run-time parallel optimization, meaning it will do its best to : find ways at your program's run time to try to spread the workload to : multiple processors. To increase multi-thread performance, you'd have to : reprogram that program to create more room for multi-threading. This is why : many video games require high single-threaded CPU performance, because they : are poorly written to leverage multiple-processors (cores). It costs too : much money to reprogram them.
|
n******7 发帖数: 12463 | |
n******o 发帖数: 206 | 12 得找原始code,可能在3吋软盘上,还要想办法读,然后要找编译软件,以前有develop
studio的机器早就没了。
【在 n******7 的大作中提到】 : 你就编译一下多大点事儿
|