D*******a 发帖数: 3688 | 1 有两台机器:
A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2
B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode)
用-O3编译同一个程序(min cut graph partitioning using simulated annealing)
运行时间差很远
A只用了2:21,但是B却用了5:51
按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢? | d***y 发帖数: 65 | 2 how did you measure the time?
【在 D*******a 的大作中提到】 : 有两台机器: : A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2 : B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode) : 用-O3编译同一个程序(min cut graph partitioning using simulated annealing) : 运行时间差很远 : A只用了2:21,但是B却用了5:51 : 按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢?
| D*******a 发帖数: 3688 | 3 time命令
【在 d***y 的大作中提到】 : how did you measure the time?
| t****t 发帖数: 6806 | 4 缺省优化开关的不同?
比如i386和i686的区别?
【在 D*******a 的大作中提到】 : 有两台机器: : A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2 : B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode) : 用-O3编译同一个程序(min cut graph partitioning using simulated annealing) : 运行时间差很远 : A只用了2:21,但是B却用了5:51 : 按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢?
| n******t 发帖数: 4406 | 5 不优化的时候是不是还市这样?
【在 D*******a 的大作中提到】 : 有两台机器: : A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2 : B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode) : 用-O3编译同一个程序(min cut graph partitioning using simulated annealing) : 运行时间差很远 : A只用了2:21,但是B却用了5:51 : 按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢?
| a****l 发帖数: 8211 | 6 You are running MacOS on a Intel computer?? Are you sure you are using
native OS instead of a simulator?
Seems your finding is useful, but Steve is going to hate you.
【在 D*******a 的大作中提到】 : 有两台机器: : A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2 : B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode) : 用-O3编译同一个程序(min cut graph partitioning using simulated annealing) : 运行时间差很远 : A只用了2:21,但是B却用了5:51 : 按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢?
| t****t 发帖数: 6806 | 7 OS X早就port到x86了
【在 a****l 的大作中提到】 : You are running MacOS on a Intel computer?? Are you sure you are using : native OS instead of a simulator? : Seems your finding is useful, but Steve is going to hate you.
| h****e 发帖数: 2125 | 8 俺们几年前就把jobs拿下了,OK?
【在 a****l 的大作中提到】 : You are running MacOS on a Intel computer?? Are you sure you are using : native OS instead of a simulator? : Seems your finding is useful, but Steve is going to hate you.
| a****l 发帖数: 8211 | 9 hehe, you got the point.
【在 t****t 的大作中提到】 : OS X早就port到x86了
|
|