Re: Server specs for a continuous integration system
Elvis Dowson
Hi,
On Sep 3, 2013, at 3:29 AM, Christian Gagneraud <chgans@...> wrote: Isn't RAID-5 going to be slower, especially if it's software? RAID 1 I use a Gigabyte Z77X-UP5TH motherboard which has support for RAID in BIOS, at boot up, and Thunderbolt connected to an Apple 27" Thunderbolt display. I've got two SSDs in a RAID1 configuration (striped). If you can wait for some more time, they'll be releasing a version of the motherboard for the new haswell chips as well, but it's not probably going to increase performance. I use a 3770K i7 quad-core processor, 16GB RAM, with a liquid cooled solution running at 3.8GHz. I've overclocked the CPU to 4.5GHz, but I end up shaving only 2 minutes off build times, so I just run it at 3.8GHz. A core-image-minimal build takes around 22 minutes for me, for a Xilinx ZC702 machine configuration (Dual ARM Cortex A9 processor + FPGA). Here are the modifications that I've done to my system, to tweak SSD performance, for Ubuntu-12.10, for a RAID1 array. SSD performance tweaks (for non RAID0 arrays) Step 01.01: Modify /etc/fstab. $ sudo gedit /etc/fstab Increase the life of the SSD by reducing how much the OS writes to the disk. If you don't need to knowwhen each file or directory was last accessed, add the following two options to the /etc/fstab file: noatime, nodiratime To enable TRIM support to help manage disk performance over the long term, add the following option to the /etc/fstab file: discard The /etc/fstab file should look like this: # / was on /dev/sda1 during installation UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx / ext4 discard,noatime,nodiratime,errors=remount-ro 0 1 Move /tmp to RAM # Move /tmp to RAM none /tmp tmpfs defaults,noatime,nodiratime,noexec,nodev,nosuid 0 0 See: Guide software RAID/LVM TRIM support on Linux for more details. Step 01.02: Move the browser's cache to a tmpfs in RAM Launch firefox and type the following in the location bar: Right click and enter a new preference configution by selecting the New->String option. Preference name: browser.cache.disk.parent_directory string value: /tmp/firefox-cache Best regards, Elvis Dowson |
|