64位性能加速超过32位 [英] 64 bit performance speedup over 32 bit

查看:61
本文介绍了64位性能加速超过32位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,


有没有人知道在32位版本上使用64位C ++ / Windows XP 64位可以获得多少性能加速?


有没有人在Visual Studio 2005或Intel C ++ 8.1 / 9.0下进行测试?


我的应用程序域是montecarlo模拟,但任何测试都会是

很棒。


问候

Lars Schouw

All,

Does anyone know how much performance speedup I can expect by using 64
bit C++ / Windows XP 64 bit over the 32 bit versions?

Did anyone test this under Visual Studio 2005 or Intel C++ 8.1/9.0 ?

My application domain is montecarlo simulations but any test would be
great.

Regards
Lars Schouw

推荐答案

Lars Schouw写道:
Lars Schouw wrote:
有没有人知道在32位版本上使用64位C ++ / Windows XP 64位可以获得多少性能加速?


如何将卡车与小型车进行比较?一个人可以在70英里/小时的时间内完成
,在泥泞的地形背后有一吨吨,另一个可以在船上有两个人的情况下获得
45 mpg。不,我在汽车,卡车和系统之间没有任何类比。比较之间。


在任何情况下,你是否尝试在网上寻找一些性能

比较(基准)?例如,尝试 www.tomshardware.com

有没有人在Visual Studio 2005或Intel C ++ 8.1 / 9.0下测试?


我打赌有人有。

我的应用程序域是montecarlo模拟但是任何测试都很棒。
Does anyone know how much performance speedup I can expect by using 64
bit C++ / Windows XP 64 bit over the 32 bit versions?
How does one compare a truck with a compact car? One can do 70 mph
with a tons in the back across a muddy terrain and the other can do
45 mpg with two people on board. No, I am not pulling any analogy
between cars, trucks, and systems. Just between comparisons.

In any case, have you tried looking on the Web for some performance
comparisons (benchmarks)? Try www.tomshardware.com, for example.
Did anyone test this under Visual Studio 2005 or Intel C++ 8.1/9.0 ?
I bet somebody has.
My application domain is montecarlo simulations but any test would be
great.




你应该在Windows编程新闻组中问这个问题。或者

更好,尝试测试你自己的程序。如果montecarlo模拟

不常见,也许你会成为第一个发布你的b

$ ... $

V

-

请在邮寄回复时从我的地址中删除资金



You should probably ask this in a Windows programming newsgroup. Or
better yet, try testing your own programs. If montecarlo simulations
are not that common, perhaps you''ll be the first to publish your
findings...

V
--
Please remove capital As from my address when replying by mail


Victor

感谢您提供的有用且有用的答案。 | - )


tomshardware测试....硬件我想看看monte carlo如何模仿(软件)在同一个CPU上运行但是有一个不同的操作系统

和编译器设置 - 64位构建

Lars

Victor
Thank you for the nice and useful answer. |-)

tomshardware tests ....hardware I want to see how a monte carlo
simulation (software) runs on the same CPU but with a differerent OS
and compiler setting - build for 64 bit

Lars


Lars Schouw写道:
Lars Schouw wrote:
Victor
感谢您提供的有用且有用的答案。 | - )

tomshardware测试....硬件我想看看monte carlo
模拟(软件)如何在同一个CPU上运行,但具有不同的操作系统
和编译器设置 - 构建为64位
Victor
Thank you for the nice and useful answer. |-)

tomshardware tests ....hardware I want to see how a monte carlo
simulation (software) runs on the same CPU but with a differerent OS
and compiler setting - build for 64 bit




我认为维克多说你最好不要尝试一个与你的更相关的新闻组

题。 comp.arch,或64位的一些MS组


顺便说一句,我的经验是有一个显着的加速,但这不是因为不加64位元"但是因为来自

32位X86 ISA到AMD64意味着编译器有更多的寄存器来支持
并且确实允许编译器使用代码做得更好br />
代。当你开始存储64位指针时会有一个打击,因为他们使用了两倍的内存。我对mips 32位(o32和n32)

与64位(n64)指令的体验是,在某些应用程序中,n32明显比n64快得多(比通常是内存限制)应用程序)。


在AMD64与X86-32的情况下,我认为我没见过

性能回归64位。


每个性能问题都以这个答案结束 - 测试它。只有

你有资格这样做。



I think Victor is saying you''re better off trying a newsgroup that is
more related to your question. comp.arch, or some MS group on 64 bit
stuff would probably get a useful response. He is right.

As an aside, my experience is that there is a significant speed-up but
this is not because of the inherant "64 bitness" but because going from
32 bit X86 ISA to AMD64 means the compiler has some more registers to
play with and does allows the compiler to do a much better job with code
generation. There is a hit when you start storing 64 bit pointers as
they use twice the memory. My experience with mips 32 bit (o32 and n32)
vs the 64 bit (n64) instructions was that n32 was significantly faster
than n64 on some applications (usually memory bound apps).

In the case of AMD64 vs X86-32, I don''t think I''ve ever seen a
performance regression going to 64 bit.

Every performance question ends up with this answer - "Test it". Only
you are qualified to do that.


这篇关于64位性能加速超过32位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆