Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Well, it was worth a try

Well, it was worth a try

Scheduled Pinned Locked Moved The Lounge
c++visual-studiodata-structuresdebuggingperformance
11 Posts 7 Posters 0 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    bob16972
    wrote on last edited by
    #1

    I have one Visual C++ solution that takes about 40 seconds to compile (full rebuild in debug mode) so I thought I'd try setting up most of my Raid array space with a RAID 1 volume for storage, and a teeny tiny little 30GB RAID 0 volume for a compile playground to see if performing the edit and compile on the RAID 0 would speed things up. Well it loads faster in the IDE but my compile times are identical. 40 seconds either way. Frack! :(( (and here I thought I was being slick)

    D P W M R 6 Replies Last reply
    0
    • B bob16972

      I have one Visual C++ solution that takes about 40 seconds to compile (full rebuild in debug mode) so I thought I'd try setting up most of my Raid array space with a RAID 1 volume for storage, and a teeny tiny little 30GB RAID 0 volume for a compile playground to see if performing the edit and compile on the RAID 0 would speed things up. Well it loads faster in the IDE but my compile times are identical. 40 seconds either way. Frack! :(( (and here I thought I was being slick)

      D Offline
      D Offline
      DaveAuld
      wrote on last edited by
      #2
      1. How much RAM does your PC have? If it is low, and the OS is using virtual memory then this will slow down everything. 2) If you are paging, you also should move the page file location onto a separate disk location that won't interfere with read/write operations of other actions

      Dave Find Me On: Web|Facebook|Twitter|LinkedIn


      Folding Stats: Team CodeProject

      B 1 Reply Last reply
      0
      • B bob16972

        I have one Visual C++ solution that takes about 40 seconds to compile (full rebuild in debug mode) so I thought I'd try setting up most of my Raid array space with a RAID 1 volume for storage, and a teeny tiny little 30GB RAID 0 volume for a compile playground to see if performing the edit and compile on the RAID 0 would speed things up. Well it loads faster in the IDE but my compile times are identical. 40 seconds either way. Frack! :(( (and here I thought I was being slick)

        P Offline
        P Offline
        peterchen
        wrote on last edited by
        #3

        40 Seconds? Poor guy. A full rebuild takes me 17 minutes (significantly more on other machines). VS 2008 seems to be more CPU-Bound than VC6. going from a "good normal" disk to an SSD gives me about 10% improvement, not worth the trouble. The next step will probably be decoupling some projects, so more can build in parallel.

        FILETIME to time_t
        | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

        B 1 Reply Last reply
        0
        • D DaveAuld
          1. How much RAM does your PC have? If it is low, and the OS is using virtual memory then this will slow down everything. 2) If you are paging, you also should move the page file location onto a separate disk location that won't interfere with read/write operations of other actions

          Dave Find Me On: Web|Facebook|Twitter|LinkedIn


          Folding Stats: Team CodeProject

          B Offline
          B Offline
          bob16972
          wrote on last edited by
          #4

          Intel Core 2, Quad-Core, WinXP 32-bit, 4GB DDR3 RAM. (I was testing without other software open except normal services) I'm guessing the file operations are not as significant as I always thought during a compile. No biggy. I just spent a lot of time revamping my array, reloading the OS, all my software, so it was kind've a let down in the end but I had been wanting to try it, just to see if it would change anything.

          1 Reply Last reply
          0
          • P peterchen

            40 Seconds? Poor guy. A full rebuild takes me 17 minutes (significantly more on other machines). VS 2008 seems to be more CPU-Bound than VC6. going from a "good normal" disk to an SSD gives me about 10% improvement, not worth the trouble. The next step will probably be decoupling some projects, so more can build in parallel.

            FILETIME to time_t
            | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

            B Offline
            B Offline
            bob16972
            wrote on last edited by
            #5

            17 minutes? Now I don't feel so bad. ;)

            1 Reply Last reply
            0
            • B bob16972

              I have one Visual C++ solution that takes about 40 seconds to compile (full rebuild in debug mode) so I thought I'd try setting up most of my Raid array space with a RAID 1 volume for storage, and a teeny tiny little 30GB RAID 0 volume for a compile playground to see if performing the edit and compile on the RAID 0 would speed things up. Well it loads faster in the IDE but my compile times are identical. 40 seconds either way. Frack! :(( (and here I thought I was being slick)

              W Offline
              W Offline
              wout de zeeuw
              wrote on last edited by
              #6

              That's why you measure first. ;P

              Wout

              1 Reply Last reply
              0
              • B bob16972

                I have one Visual C++ solution that takes about 40 seconds to compile (full rebuild in debug mode) so I thought I'd try setting up most of my Raid array space with a RAID 1 volume for storage, and a teeny tiny little 30GB RAID 0 volume for a compile playground to see if performing the edit and compile on the RAID 0 would speed things up. Well it loads faster in the IDE but my compile times are identical. 40 seconds either way. Frack! :(( (and here I thought I was being slick)

                M Offline
                M Offline
                Maximilien
                wrote on last edited by
                #7

                Possible that the project size is just too small to really use the "power" of the raid; for example, most of the time is spent setting up the build than compiling and building the files/project. 40 seconds for a full rebuild, it must be "hello world1"!

                Watched code never compiles.

                B 1 Reply Last reply
                0
                • B bob16972

                  I have one Visual C++ solution that takes about 40 seconds to compile (full rebuild in debug mode) so I thought I'd try setting up most of my Raid array space with a RAID 1 volume for storage, and a teeny tiny little 30GB RAID 0 volume for a compile playground to see if performing the edit and compile on the RAID 0 would speed things up. Well it loads faster in the IDE but my compile times are identical. 40 seconds either way. Frack! :(( (and here I thought I was being slick)

                  R Offline
                  R Offline
                  Rama Krishna Vavilala
                  wrote on last edited by
                  #8

                  Most of the compiling happens in temp folder. Did you change your temp directory to reside on raid0?

                  B 1 Reply Last reply
                  0
                  • B bob16972

                    I have one Visual C++ solution that takes about 40 seconds to compile (full rebuild in debug mode) so I thought I'd try setting up most of my Raid array space with a RAID 1 volume for storage, and a teeny tiny little 30GB RAID 0 volume for a compile playground to see if performing the edit and compile on the RAID 0 would speed things up. Well it loads faster in the IDE but my compile times are identical. 40 seconds either way. Frack! :(( (and here I thought I was being slick)

                    G Offline
                    G Offline
                    Gary R Wheeler
                    wrote on last edited by
                    #9

                    Poor baby. Complete builds of our products take from 40 to 75 minutes on an 8 processor box with 16G of RAM.

                    Software Zen: delete this;

                    1 Reply Last reply
                    0
                    • M Maximilien

                      Possible that the project size is just too small to really use the "power" of the raid; for example, most of the time is spent setting up the build than compiling and building the files/project. 40 seconds for a full rebuild, it must be "hello world1"!

                      Watched code never compiles.

                      B Offline
                      B Offline
                      bob16972
                      wrote on last edited by
                      #10

                      Maximilien wrote:

                      40 seconds for a full rebuild, it must be "hello world1"!

                      It's probably not big by most standards... only 135k lines.

                      1 Reply Last reply
                      0
                      • R Rama Krishna Vavilala

                        Most of the compiling happens in temp folder. Did you change your temp directory to reside on raid0?

                        B Offline
                        B Offline
                        bob16972
                        wrote on last edited by
                        #11

                        Are you talking the system temp as defined by the system environment variables, or something configurable from within Visual Studio?

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups