Re: Raspberry PI vs Raspberry PI 2: time to compile backend code - Mailing list pgsql-hackers

From Adam Brightwell
Subject Re: Raspberry PI vs Raspberry PI 2: time to compile backend code
Date
Msg-id CAKRt6CQcr8Ui3S29tXxdvZ=QQP+MaEsaxBn7v_-qNiktwYEQ-A@mail.gmail.com
Whole thread Raw
In response to Raspberry PI vs Raspberry PI 2: time to compile backend code  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Michael,
 
This is a purely informational email...
I have put my hands on a Raspberry PI 2, and I have found that it takes 6 minutes to compile the backend code using the 4 cores of the ARMv7 processor, and close to 20 minutes on a single core (without ccache). The test has been done using ArchLinux ARM with a micro SD card of class 10 (said to be able to manage 50MB/s in write, 60MB/s in read).
In comparison, the buildfarm machine hamster, which is a Rasp PI 1, takes close to 2 hours to do the same operation, using the same OS and a similar class 10 card (30MB/s but the I/O is not the bottleneck).

Thanks for sharing this info.  I'm looking forward to getting my hands on an rpi2 soon for some of my other projects.  Having an idea of the increased performance, especially related to compilation, was certainly something I was curious about.

-Adam



--

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [RFC] LSN Map
Next
From: Kouhei Kaigai
Date:
Subject: Re: OBJECT_ATTRIBUTE is useless (or: ALTER TYPE vs ALTER TABLE for composites)