intel和AMD多线程的区别 [英] Difference between intel and AMD multithreading

查看:1094
本文介绍了intel和AMD多线程的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用于2个数据库之间的数据传输的应用程序。此应用程序的大多数操作是独立的,并且并发运行。早期这个应用程序运行在4核心英特尔机器上,现在这个应用程序需要移植到AMD四核心机器上。


  1. 我发现AMD不支持超线程(HTT),这显然意味着
    应用程序性能(吞吐量)将降低。会由于上下文切换性能下降,如果是减少线程数量同时运行帮助?


  2. 是否需要在我方提供任何代码更改以增加
    应用程序吞吐量。 ol>

    解决方案

    Java是针对硬件无关的。
    你不应该担心CPU提供的功能是什么。



    BTW,HTT的性能改进对于大多数基准(5-10%)。



    请记住:并非每个制造商都有它,并不是每个处理器都有。



    至于你的DB的性能:你应该考虑最大化并行性和最小化上下文切换。


    I have an application meant for data transfer between 2 databases. Most of the operations of this application are independent and runs concurrently. Earlier this application was running on 4 core intel machine and now this application needs to be ported onto AMD quad(4) core machine. I am doubtful about couple of points below.

    1. I found AMD does not support hyper threading(HTT), this obviously means application performance (throughput) will degrade. Will performance degrade due to Context Switching, If yes will decreasing number of threads running concurrently help ??

    2. Whether any code changes are required from my side to increase application throughput.

    解决方案

    Java was made to hardware agnostic. You should not be concerned about what are the features provided by CPU.

    BTW, performance improvement as a result of HTT is always been very limited for most of benchmarks(5-10%).

    Remember: Not every manufacturer has it and not every processor has it.

    As far as performance of your DB is concerned: you should think about maximizing parallelism and minimize context switch.

    这篇关于intel和AMD多线程的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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