Csound Csound-dev Csound-tekno Search About

[Cs-dev] Using a RamDisk

Date2012-12-01 17:12
FromSteven Yi
Subject[Cs-dev] Using a RamDisk
Hi All,

This may be old news for some of you, but I recently tried out using a
RamDisk to do my builds on.  I'm using Esperance DV
(http://www.mparrot.net/) on Mac OSX to create the RamDisk, and doing
builds of blue and csound on it.  Just a small stat, I did a clean
build using Ninja to build Csound 6 on the Ramdisk.  I got:

real 0m14.291s
user 0m42.066s
sys 0m5.713s

(14 seconds for a full build!)

This is using "time ninja" after generating the ninja build files with CMake.

I know there's commandline ways to do this on Mac, and other methods
for Linux.  I don't own an SSD so don't know if this would be much of
an improvement over SSD, but it's noticeably faster than on my HDD.

Thought others might find it useful!
steven

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-12-01 17:38
FromRory Walsh
SubjectRe: [Cs-dev] Using a RamDisk
I might need to try this! My OSX builds are fiendishly slow.



On 1 December 2012 17:12, Steven Yi  wrote:
> Hi All,
>
> This may be old news for some of you, but I recently tried out using a
> RamDisk to do my builds on.  I'm using Esperance DV
> (http://www.mparrot.net/) on Mac OSX to create the RamDisk, and doing
> builds of blue and csound on it.  Just a small stat, I did a clean
> build using Ninja to build Csound 6 on the Ramdisk.  I got:
>
> real 0m14.291s
> user 0m42.066s
> sys 0m5.713s
>
> (14 seconds for a full build!)
>
> This is using "time ninja" after generating the ninja build files with CMake.
>
> I know there's commandline ways to do this on Mac, and other methods
> for Linux.  I don't own an SSD so don't know if this would be much of
> an improvement over SSD, but it's noticeably faster than on my HDD.
>
> Thought others might find it useful!
> steven
>
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel:
> INSIGHTS What's next for parallel hardware, programming and related areas?
> Interviews and blogs by thought leaders keep you ahead of the curve.
> http://goparallel.sourceforge.net
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net