Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: AMD Reverse HT on Linux

  1. #1

    Default AMD Reverse HT on Linux

    For a while now there have been rumors surfacing around the Internet of Advanced Micro Devices (AMD) developing a reverse Hyper-Threading technology. This technology would basically be an inverse of Intel's Hyper-Threading to make two cores function as one. It was believed by some that the technology was already embedded into the Athlon 64 X2 AM2 processors, and that shortly after Intel releases Conroe, AMD would come to the table with a miracle BIOS update and driver to implement this function. The purpose of reverse Hyper-Threading would be to improve the performance in single-threaded environments.

    What has yet to be cleared from Phoronix sources is the position of Reverse HT on Linux, and if there would be such support. On top of an updated motherboard BIOS, it is expected that a new driver will be needed. Microsoft has been reportedly developing a Windows patch/update so the two physical AMD cores are properly recognized as a single core. Though, with much in Linux already supporting SMP, it's unclear as to the extent of the benefits in most environments, and if the support would even be available. Though, if any unprotected words come along about Reverse HT + Linux, it will be passed along.

    Contrary to the reports of AM2 Reverse HT coming along shortly after the Conroe launch, a very reliable source has reported to us that this technology won't actually appear until becoming a feature with the K10/K8L Greyhound generation...

    Just some food for thought, and of course, Advanced Micro Devices has not officially commented on these matters.

    Feel free to discuss Reverse Hyper-Threading/Anti Hyper-Threading.

  2. #2
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    63

    Default

    Does anyone know if this feature would negate the benefits of having SMP for multitasking?

  3. #3
    Join Date
    Jun 2006
    Posts
    54

    Default

    Quote Originally Posted by James
    Does anyone know if this feature would negate the benefits of having SMP for multitasking?
    SMP basically implies multiple (virtual in the case of HT) CPUs. Reverse HT would mean that you'd still get to use both or more cores for multitasking, but running a single process would use them, too, since the cores would then "cooperate".

  4. #4
    Join Date
    Jul 2006
    Location
    Arizona
    Posts
    12

    Default

    Quote Originally Posted by James
    Does anyone know if this feature would negate the benefits of having SMP for multitasking?
    That's what I'm afraid of, some resource hungry app *cough*Firefox*cough*all of Gnome*cough* eating all your resources. That's what's made SMP so lucrative to enthusiasts for years, the second core can just handle other process' when something tries to run off and sit in a corner hoarding all your CPU time like a greedy toddler. I hope Linux either allows you to disable reverse HT altogether, or revamps nice levels, allowing you to squeeze in additional process' on a second CPU more easily if a process is already bogarting the first CPU.

  5. #5
    Join Date
    Oct 2006
    Posts
    6

    Default

    I highly doubt this reverse HT will work, I guess it's more a rumor than news.

    Reverse HT had to rewrite the code so that multiple threads can run at the same time. Expressed differently the single threaded program has to be rewritten multi threaded. This is hard for programmers who are intelligent compared to a CPU. Compilers can do it to some extend, but how is a CPU supposed to do this in hardware and in realtime ? I don't think we'll ever see this.

  6. #6

    Default

    My sources that I have spoken with on this matter are still stating that we will see Reverse HT (/Anti-HT) with K10/K8L Greyhound parts.

  7. #7
    Join Date
    Oct 2006
    Posts
    6

    Default

    Quote Originally Posted by Michael View Post
    My sources that I have spoken with on this matter are still stating that we will see Reverse HT (/Anti-HT) with K10/K8L Greyhound parts.
    I'd be pleasantly surprised if it works, but I still doubt it. Maybe someone can enlighten me how this should work. How can a CPU execute a single thread on multiple CPUs cores ? How can Core #2 execute an instruction that depends on the result of the previouse one still running on Core #1 ?

  8. #8
    Join Date
    Jun 2006
    Posts
    11

    Default

    I would be 100% certain it doesn't magically rewrite the code correctly. My guess is it would use the second core to become a co-processor. When possible it would execute instructions ahead of time so the main processor doesn't need to do them. So obviously you wouldn't see a huge performance improvement but it would help .

  9. #9
    Join Date
    Oct 2006
    Posts
    6

    Default

    Quote Originally Posted by siti View Post
    When possible it would execute instructions ahead of time so the main processor doesn't need to do them. So obviously you wouldn't see a huge performance improvement but it would help .
    How can the second processor execute something ahead in time. Usually the instructions "ahead in time" depend on the instructions which are being executed. The question then is the same: How does the CPU know, which instructions depend on each other and which not. In other words: Which instructions can be parallelized. In yet other words: Which instructions can be put into different threads ? You end up again with multiple threads, even if those are "micro"-threads which are just some very few instructions.

  10. #10
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    63

    Default

    Pure speculation, but with some sort of multi-cpu register coherency mechanism it should be possible to pipeline execution across multiple processors in manner similar to a single cpu.

    I don't know if that is feasible though...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •