• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Rendering and HyperThreading

Scheduled Pinned Locked Moved Extensions & Applications Discussions
extensions
15 Posts 5 Posters 4.0k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    thomthom
    last edited by 27 Sept 2010, 09:05

    I got a bunch of old P4 computers at the office I'd hooked up as a render farm. Some are HT, some are not.

    What I wonder is - is HT any use when rendering? Or only any good for multi-tasking?
    Should I disable HT for my render farm computers?

    (Oh boy does a room full of P4s get warm! πŸ˜’ )

    Thomas Thomassen β€” SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 27 Sept 2010, 10:40

      I have an old lappy I got from Mike two years ago and it has a hyperthreading cpu (@3.8 GHz!!!). When I used it for rendering, the rendering app showed two cores used so I guess the answer is yes (but may depend on the app?)

      Gai...

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 27 Sept 2010, 10:45

        @gaieus said:

        I have an old lappy I got from Mike two years ago and it has a hyperthreading cpu (@3.8 GHz!!!). When I used it for rendering, the rendering app showed two cores used so I guess the answer is yes (but may depend on the app?)

        It shows two cores - yes. But they are two virtual ones. It's still just one CPU.
        So the question is - does a CPU running a render task at 100% work better with two virtual cores or just one?

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pixero
          last edited by 27 Sept 2010, 11:32

          My experience is that 2 cores are faster but it also depends on the speed of the cpu and the amount of ram they have.
          If they are too old they might just slow down render times since it takes some time to distribute it to them as well.
          I have some old leftover PCs at work I used as a renderfarm with Vray but ended up not using them as it turned out they made the render slower.
          Might also have to do with how the distributed render works.
          Maybe Thea's works better?

          1 Reply Last reply Reply Quote 0
          • N Offline
            notareal
            last edited by 27 Sept 2010, 11:36

            @thomthom said:

            @gaieus said:

            I have an old lappy I got from Mike two years ago and it has a hyperthreading cpu (@3.8 GHz!!!). When I used it for rendering, the rendering app showed two cores used so I guess the answer is yes (but may depend on the app?)

            It shows two cores - yes. But they are two virtual ones. It's still just one CPU.
            So the question is - does a CPU running a render task at 100% work better with two virtual cores or just one?

            I'd say give it a test try, usually you can disable hyperthreading from bios πŸ˜„ I think hyperthreading might not give 100% boost comparing to actual cores (i7), maybe more like 50-70%. But if it's a old CPU I don't know the result... might actually be worse.

            Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 27 Sept 2010, 12:06

              @pixero said:

              My experience is that 2 cores are faster

              But HT doesn't mean two cores - it's one core two virtual CPUs.
              A dualcore with 3Ghz != singlecore HT 3GHz even though both lists two 3GHz CPUs.

              @notareal said:

              I'd say give it a test try, usually you can disable hyperthreading from bios πŸ˜„ I think hyperthreading might not give 100% boost comparing to actual cores (i7), maybe more like 50-70%. But if it's a old CPU I don't know the result... might actually be worse.

              All the computers are controlled by remote - so accessing BIOS is not easy as I need to hook up the machines with monitor, mouse and keyboards.

              I've been searching the new - but been unable to work out if there is an overhead of having HT enabled for single-purpose processes.
              I wonder if it's only worth it if you multi-task different tasks/applications.

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 27 Sept 2010, 12:10

                hmm.... missed this the first time I read the article:
                http://en.wikipedia.org/wiki/Hyper-threading#Performance

                @unknownuser said:

                The performance improvement seen is very application-dependent, however when running two programs that require full attention of the processor it can actually seem like one or both of the programs slows down slightly when Hyper Threading Technology is turned on. This is due to the replay system of the Pentium 4 tying up valuable execution resources, equalizing the processor resources between the two programs which adds a varying amount of execution time. (The Pentium 4 Prescott core gained a replay queue, which reduces execution time needed for the replay system. This is enough to completely overcome that performance hit.)

                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 27 Sept 2010, 12:14

                  But then you got opposing info:
                  http://www.pcpro.co.uk/blogs/2010/05/09/hyper-threading/
                  http://ixbtlabs.com/articles3/cpu/ci7-turbo-ht-p1.html

                  But they both referred to i7 - not sure if it applies to older P4 HT...

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    thomthom
                    last edited by 27 Sept 2010, 12:20

                    http://forums.cgarchitect.com/1039-vray-supports-hyperthreading.html

                    Thomas Thomassen β€” SketchUp Monkey & Coding addict
                    List of my plugins and link to the CookieWare fund

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      notareal
                      last edited by 27 Sept 2010, 12:24

                      @thomthom said:

                      @pixero said:

                      My experience is that 2 cores are faster

                      But HT doesn't mean two cores - it's one core two virtual CPUs.
                      A dualcore with 3Ghz != singlecore HT 3GHz even though both lists two 3GHz CPUs.

                      @notareal said:

                      I'd say give it a test try, usually you can disable hyperthreading from bios πŸ˜„ I think hyperthreading might not give 100% boost comparing to actual cores (i7), maybe more like 50-70%. But if it's a old CPU I don't know the result... might actually be worse.

                      All the computers are controlled by remote - so accessing BIOS is not easy as I need to hook up the machines with monitor, mouse and keyboards.

                      I've been searching the new - but been unable to work out if there is an overhead of having HT enabled for single-purpose processes.
                      I wonder if it's only worth it if you multi-task different tasks/applications.

                      My experience from quad cores and i7 gives the impression that with i7 it's better to enable hyperthreading (at least for Thea Render). But of course there maybe some other reasons why i7 works better... before that I was in AMD camp... so no experience on P4 hyperthreading.

                      Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        notareal
                        last edited by 27 Sept 2010, 12:50

                        Did find this clock for clock comparison, i7 is best performer. Does not help much for comparing older generations... but at least it gives some clue
                        http://www.legionhardware.com/articles_pages/clock_for_clock_core_i5core_i7core_2_quad_and_phenom_ii_x4_performance,1.html

                        Here are some old P4 Prescott/Northwood tests with HT vs non-HT rendering performance. Based to that I would keep HT on also with Prescott/Northwood http://www.hardcoreware.net/reviews/review-195-6.htm

                        Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                        1 Reply Last reply Reply Quote 0
                        • AdamBA Offline
                          AdamB
                          last edited by 28 Sept 2010, 18:55

                          As others have commented, it depends on what you're doing with those virtual cores.

                          Hyperthreading gives each of those virtual cores their own flow control, but they share (for example) floating point processing resources. (ie there is physically 1 unit in the chip that actually does floating point, but its shared between HT cores).

                          So if your software has a mix of logic statements and floating point crunching, you get a win. If, as is the case with pretty much anything 3d, you're crunching lots of floating point, you'll get less of a win. All the tests I've ever done in the past showed it to be a marginal win but basically it shows it for what it is, which was a sop to the DB guys that Intel was courting at the time.

                          So wrt graphics, keep in mind these cores are virtual. If your floating point units are maxed out doing dot-products, no amount of switching virtual cores will help. Yer need more dilithium crystals, Captain.

                          Adam

                          Developer of LightUp Click for website

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 28 Sept 2010, 19:20

                            But does it provide an overhead for a task such as rendering?

                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • AdamBA Offline
                              AdamB
                              last edited by 28 Sept 2010, 19:40

                              @thomthom said:

                              But does it provide an overhead for a task such as rendering?

                              Its a hardware feature. There isn't any cost to speak of.

                              However, if you're maxed out on floatingpoint, then no amount of multithreading will help you. Indeed, there is a cost associated with scheduling, running and generally managing a thread, but this is down to how efficient you OS is at switching threads and any overhead your Application introduces in splitting a task amongst N threads.

                              Traditionally, Windows has been poor at thread switching - so much so they introduced yet-another-concept called a "Fiber" (geddit!) which was meant to be a fast context switching object.. which was what a Thread was meant to be in the first place. slaps head.

                              And your renderer will have a fixed cost associated with each additional thread it brings to the rendering task.

                              These 2 things conspire to make for a non-simple answer.. ;-(

                              Adam

                              Developer of LightUp Click for website

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thomthom
                                last edited by 28 Sept 2010, 20:29

                                I think my conclusion is that I won't bother to hook up all the machines to mess with the BIOS for this.

                                cheers.

                                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                List of my plugins and link to the CookieWare fund

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                1 / 1
                                • First post
                                  1/15
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement