The only trick is to configure the tests to use the ramdrive. It must be
cleaned before running another test.

sudo mkdir /ramdrive
sudo mount -t tmpfs -o size=2000M tmpfs /ramdrive

mvn -Dtest.build.data.basedirectory=/ramdrive test -P runAllTests
-Dsurefire.secondPartThreadCount=10
rm -rf /ramdrive/*

On a 1K$ computer, with:
- 16Gb memory, 1333 MHz
- Intel Core-i7-2700K

Should be faster with a Intel Core-i7-3930K as there are more cores (6 vs.
4) and the memory is faster (1.6GHz).
With such a processor and 32Gb of memory we should be under 15 minutes.


On Wed, Apr 18, 2012 at 7:43 PM, Stack <[email protected]> wrote:

> On Wed, Apr 18, 2012 at 12:37 AM, N Keywal <[email protected]> wrote:
> > Hi Stack,
> >
> > It seems to be ok now (it was not on the built
> > https://builds.apache.org/job/HBase-TRUNK/2774/consoleText).
> >
> > BTW, I've been able to improve locally the built time with a 2G ram disk
> > and 10 processes. We're under 20 minutes with a one proc desktop machine
> > (intel i7). So we still have some room for simple improvements...
> >
>
> Tell us the prescription?  I want that....
> St.Ack
>

Reply via email to