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. What to use all my new RAM for...

What to use all my new RAM for...

Scheduled Pinned Locked Moved The Lounge
comperformancequestion
28 Posts 14 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.
  • T Taka Muraoka

    John Simmons / outlaw programmer wrote:

    they are extremely pricey compared to platter drives of the same capacity

    No-one's going to want to pay for one of the same capacity. But the Gigabyte i-RAM[^] has just been released and uses bog-standard memory modules. Can't seem to find a price on it anywhere but this[^] suggests an RRP of around USD 150 (plus the cost of the memory itself) which is not too bad (especially if you've got some spare memory lying around).


    The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

    J Offline
    J Offline
    John M Drescher
    wrote on last edited by
    #16

    Thanks for that link. A few years back I really wanted one of these but all the manufacturers were charging a 10X markup on memory price (several thousand dollars / GB) so that made it totally out of my price range. The only problem now is the 4 1GB modules is still too small to be a boot drive for me... John

    1 Reply Last reply
    0
    • T Taka Muraoka

      I probably have a gig of that memory going unused most of the time. I'm using VC6, not VS 2005 :-) I found a few hardware RAM disks that might tickle your fancy. Some of them slot into an existing drive bay, use an SATA interface and for all intents and purposes, look like a normal disk drive. And boot Windows in several seconds flat :-)


      The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #17

      Taka Muraoka wrote:

      I'm using VC6, not VS 2005

      Ahhh, that explains it! Regards, Nish

      My blog : Nish’s thoughts on MFC, C++/CLI and .NET

      1 Reply Last reply
      0
      • R realJSOP

        Hmmm. I have 1075 intermediate files spread across 37 folders. It seems to me that any time savings realized by using a ram drive would be devoured by the time it takes to delete/copy/copy those files (if the system doesn't crash first). I stick by my claim that you're better off improving your disk I/O. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

        It depends on how often you crash. Doing "normal dev work" on XP, I'm at about 1..2 crashes / month. SO I have the full build hit once a day. Also if you put the finals on a normal disk, methinks a project needs not be recompiled.


        We say "get a life" to each other, disappointed or jokingly. What we forget, though, is that this is possibly the most destructive advice you can give to a geek.
        boost your code || Fold With Us! || sighist

        1 Reply Last reply
        0
        • T Taka Muraoka

          I just upgraded my dev box with 2 Gb of memory (woo hoo!) and it runs pretty nice now :-) I was wondering if anyone had experience with using a RAM drive and if it made much difference? I was looking at speeding up VC6 builds, in particular e.g. putting all the intermediate files in the RAM drive.


          The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #19

          Taka Muraoka wrote:

          I was wondering if anyone had experience with using a RAM drive...

          Not since Windows v3.11.


          "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

          1 Reply Last reply
          0
          • P peterchen

            I once tried with VC6 - building to RAM drive is WAY faster (30%..50%). But my Build folder requires 2.5GB, so this is no option for me. I wouldn't do it without having 1G remaining for OS and application.


            We say "get a life" to each other, disappointed or jokingly. What we forget, though, is that this is possibly the most destructive advice you can give to a geek.
            boost your code || Fold With Us! || sighist

            T Offline
            T Offline
            Taka Muraoka
            wrote on last edited by
            #20

            That's what I suspected. The disk gets hit so hard, especially during a link, that I figured a RAM disk could well help (and make Windows that much more responsive). I expect even a small one, say 500Mb, with the key files (e.g. the PCH's) will make a difference. Thanks.


            The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

            D P 2 Replies Last reply
            0
            • T Taka Muraoka

              That's what I suspected. The disk gets hit so hard, especially during a link, that I figured a RAM disk could well help (and make Windows that much more responsive). I expect even a small one, say 500Mb, with the key files (e.g. the PCH's) will make a difference. Thanks.


              The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

              D Offline
              D Offline
              dandy72
              wrote on last edited by
              #21

              > The disk gets hit so hard, especially during a link, that I figured a RAM disk could well help I used to use a smallish ramdisk (128MB) to write temp files for a specific project a few months back, and it helped tremendously. Of course it's counterproductive for large projects, so I'd say go with trial and error--I'm sure you'll find the right balance. Actually, I'm sure that would make an interesting CP article... :-)

              1 Reply Last reply
              0
              • T Taka Muraoka

                John Simmons / outlaw programmer wrote:

                It seems to me that any time savings realized by using a ram drive would be devoured by the time it takes to delete/copy/copy those files

                I have a lot more than that but a lot of them change very infrequently. So a smart sync will only copy the files it needs to. Plus I can do something else while getting the files set up and save them all as part of my overnight batch runs i.e. it doesn't eat into useful development time. My main dev box is a laptop and I already have a 7200rpm drive so I'm a bit limited in what I can do. I believe you can get RAID'ed laptops now; God knows what they weigh :rolleyes:


                The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

                D Offline
                D Offline
                David Stone
                wrote on last edited by
                #22

                Taka Muraoka wrote:

                God knows what they weigh

                They're heavy. ;P I've got an Alienware Area 51m with dual RAIDed 60GB hard drives. I'm just thankful that my backpack provides enough support so this thing doesn't break my back. :)


                Picture a huge catholic cathedral. In it there's many people, including a gregorian monk choir. You know, those who sing beautifully. Then they start singing, in latin, as they always do: "Ad hominem..." -Jörgen Sigvardsson

                1 Reply Last reply
                0
                • T Taka Muraoka

                  That's what I suspected. The disk gets hit so hard, especially during a link, that I figured a RAM disk could well help (and make Windows that much more responsive). I expect even a small one, say 500Mb, with the key files (e.g. the PCH's) will make a difference. Thanks.


                  The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

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

                  You can check your CPU usage - if the CPU is clogged, a RAM disk won't help much.


                  We say "get a life" to each other, disappointed or jokingly. What we forget, though, is that this is possibly the most destructive advice you can give to a geek.
                  boost your code || Fold With Us! || sighist

                  D 1 Reply Last reply
                  0
                  • P peterchen

                    You can check your CPU usage - if the CPU is clogged, a RAM disk won't help much.


                    We say "get a life" to each other, disappointed or jokingly. What we forget, though, is that this is possibly the most destructive advice you can give to a geek.
                    boost your code || Fold With Us! || sighist

                    D Offline
                    D Offline
                    Dan Neely
                    wrote on last edited by
                    #24

                    Is the compiler smart enough to go idle while blocking on diskio, or does it sit there throwing a steady stream of noops until the read completes?

                    P 1 Reply Last reply
                    0
                    • T Taka Muraoka

                      I just upgraded my dev box with 2 Gb of memory (woo hoo!) and it runs pretty nice now :-) I was wondering if anyone had experience with using a RAM drive and if it made much difference? I was looking at speeding up VC6 builds, in particular e.g. putting all the intermediate files in the RAM drive.


                      The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

                      D Offline
                      D Offline
                      Daniel Grunwald
                      wrote on last edited by
                      #25

                      Windows automatically uses free RAM as additional disk cache. A RAM disk is not going to save you a lot of time. The first thing you should do is disable the swap file. Windows likes to swap away applications when they are minimized, even if enough memory is available.

                      1 Reply Last reply
                      0
                      • I Indivara

                        Taka Muraoka wrote:

                        Windows comes with one installed[^], although it's not very good.

                        did you read the last two posts on that link? "One other thing you can do is to put your swap file (Page File) on the RAM drive. This is probably better than putting anything you want to keep on it in case you ever want to restart your machine, anyway." :-D

                        N Offline
                        N Offline
                        Nigel Savidge
                        wrote on last edited by
                        #26

                        I am impressed by that suggestion - there is some realy good logic there. Guess he has never done any timings to prove a successful result though. :sigh:


                        Team Leader - Team Code Project[^] :cool:

                        1 Reply Last reply
                        0
                        • D Dan Neely

                          Is the compiler smart enough to go idle while blocking on diskio, or does it sit there throwing a steady stream of noops until the read completes?

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

                          it's idling (That's the typical behavior if you issue a synchronous file read/write). On my old dev box at w*rk CPU utilization was rarely exceeded 60% after the dependency check.


                          We say "get a life" to each other, disappointed or jokingly. What we forget, though, is that this is possibly the most destructive advice you can give to a geek.
                          boost your code || Fold With Us! || sighist

                          1 Reply Last reply
                          0
                          • T Taka Muraoka

                            I just upgraded my dev box with 2 Gb of memory (woo hoo!) and it runs pretty nice now :-) I was wondering if anyone had experience with using a RAM drive and if it made much difference? I was looking at speeding up VC6 builds, in particular e.g. putting all the intermediate files in the RAM drive.


                            The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.

                            M Offline
                            M Offline
                            Member 96
                            wrote on last edited by
                            #28

                            I recently did a ram upgrade from 1 to 2gb but it made almost zero difference compared to the other upgrade which was a SATA Raid 0 dual Raptor array. Now *that* makes all the difference in the world in build times.


                            "Hello, hello, what's all this shouting, we'll have no trouble here! This is a Local Shop for Local People, there's nothing for you here!" -Edward Tattsyrup

                            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