• 0

Totally Idiotic idea


Question

hi all,

i am aware how stupid this sounds but i cant help but think it has some leggs...

basically im a dev at a software houes working on a c# solution - this is a big project - 1.29GB vis studio solution so you can immagine it takes a while to build when i'm coding which can be anoying... my question is basically.... why not load the solution and Vis studio into ram??

stupid i know and my work pc dosent have enough but my home pc has 12Gb ddr3.... is there not a way to actually load the bits needed to the ram so thay are accessable fast?

thing is even though my pc has loads of resources free the solution just takes ages to build ...

as said above i am aware its a stupid idea but for some reason i cant think of a reason why it isnt possible (ish)

your thoughts

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I'm assuming you are hoping for some speed boost by not having to access the data from the hard drive? If so, then you could create a RAM disk, then copy the files there before doing the build. I'm not sure that the speed boost would be worth the effort though.

Link to comment
Share on other sites

  • 0

I read a benchmark that tested the load times of projects when loaded from a hard disk as opposed to a RAM disc. I am sorry I don't have the link right now. The results showed that there is not much of a difference in performance. They concluded it was because VS already does enough caching to negate any advantages the RAM disc might have had.

Link to comment
Share on other sites

  • 0

Hi, I also work on a large scale project but this doesn't happen to me. Something around 500k lines of code, 600k comments. A lot of files. Build times are something around 30 seconds for the 20 projects in the solution (usually I only have to build 2-3 projects at a time, so it will take just a few seconds). Loading the solution itself does take up to a minute (restoring all of your open files, etc) but I usually have to load just once a day. SO, I really don't see any performance gain from using a RAMdisk. Neither do I feel that my valuable time is lost during compiling/loading.

Link to comment
Share on other sites

  • 0

the dev machine is an intel dual code 3.2ghz, with 4 gig of ram but it can take up to 2-3 mins to build/ run the solution. i think its because it has 25 ish projects and the majority are dependant therefore i need to buildthem all at once.

oh well i guess whoever it was that built our architecture in the first place didnt make it scaleable and now its only going to get worse(we are migrating to .net from somthing old and have only done 4 modules of the software from about 30) so god knows how its going to be in a few years!

thanks for the ideas - i dont think a ram disk is going to help much...

the anoying thing is that my machine always has resources avaliable but VS just wont use them (uses about 400meg ram normally)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.