Re: what kind of computer for programmer ?



Phlip wrote:
> Rob Thorpe wrote:
>
> > The 16Kloc project above is 600KB (measuring disk-space not file size).
> > Extrapolating it's likely a 1.6 million line program would be about
> > 60MB in source form. If it's intermediate files take up say 5x the
> > size of the source I would need a 300MB ram-disk.
>
> Uh, won't the file system buffer all those files in memory (via DMA) at
> compile time, more efficiently than a ram disk?

No. The disk cache must send files back to the disk at some point,
often it will do so during the compile. Sometimes it will need to do
this during the compile - there are other reasons to do with
dependencies I can't remember right now.

> And parenthetically, could the file system not know the ram disk is in
> memory, and buffer everything _again_ in memory?

Probably, but I think OSes are smart enough to avoid this, usually
anyway.

> Note only one of those questions is stupid ;-)
>
> > But, this is never the problem. If you change something and a handful
> > of files recompile, that's ok however you do it. The problem comes
> > when many files need to be recompiled, or an entire rebuild is needed.
>
> Uh, you should partial rebuild hundreds of times more often than total
> rebuild, and you can schedule that to start unattended...

Yes, but having to schedule it is a bit of a pest. It's much easier if
it's fast-enough anyway.

.



Relevant Pages

  • Re: URGENT RAM disk problem
    ... >> all of the stuff to RAM DISK before running the script to make sure ... > data to buffer in memory. ... time to compile has almost increased by 2-4 times compared to non-RAM ...
    (comp.os.linux.development.system)
  • Re: Anyone turned their pagefile off on XP?
    ... then running a swapfile of RAM disk shouldn't cause too many problems. ... I agree but, if that is the *only* swap, why should it help over having no ... There are apps that attempt to second-guess the Windows ... app always has enough memory to run (but not if the system has gigs of RAM to ...
    (uk.comp.homebuilt)
  • Re: Possible to setup a Ramdisk in WindowsXP?
    ... > occasions and some occasional radio commercials. ... > old system with not much memory. ... RAM disk will hurt his performance greatly. ... >> Ken Blake - Microsoft MVP Windows: ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Possible to setup a Ramdisk in WindowsXP?
    ... > occasions and some occasional radio commercials. ... > old system with not much memory. ... RAM disk will hurt his performance greatly. ... >> Ken Blake - Microsoft MVP Windows: ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Possible to setup a Ramdisk in WindowsXP?
    ... > occasions and some occasional radio commercials. ... > old system with not much memory. ... RAM disk will hurt his performance greatly. ... >> Ken Blake - Microsoft MVP Windows: ...
    (microsoft.public.windowsxp.general)