Laysan: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 40: Line 40:
Linux Mint 14
Linux Mint 14


Main system space is on a RAID 0 consisting of two OCZ Vertex 4 120GB drives.
Operating system is split between a 240GB SSD and a 1TB HD.
I had a RAID 0 setup with 2 SSD's but the (considerable) speed bump was not worth the pain to configure and maintain it.


On RAM fs are /tmp, /var/tmp, /var/run, /var/lock
On RAM fs are /tmp, /var/tmp, /var/run, /var/lock


/var partition is on a 1TB Caviar Black. /home is in /var
Since the system has 16GB of RAM I am not worried about swap space. I put it in a swapfile on the 1TB drive.
 
Since the system has 16GB of RAM I am not worried about swap space.


  echo vm.swappiness = 0 > /etc/sysctl.d/swappiness.conf
  echo vm.swappiness = 0 > /etc/sysctl.d/swappiness.conf


  # Make a 4 GB swapfile
  # Make a 4 GB swapfile
  dd if=/dev/zero of=/var/swapfile1 bs=1024 count=4096k
  sudo dd if=/dev/zero of=/var/swapfile1 bs=1024 count=4096k
  mkswap /var/swapfile1
  sudo mkswap /var/swapfile1
  chmod 0600 /var/swapfile1
  sudo chmod 0600 /var/swapfile1


'''cat /etc/fstab'''# <file system> <mount point>  <type>  <options>      <dump>  <pass>
'''cat /etc/fstab'''
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
  proc            /proc          proc    nodev,noexec,nosuid 0      0
  proc            /proc          proc    nodev,noexec,nosuid 0      0
  # alternative where it were installed /dev/sdb1
  # / was on /dev/sda1 during installation
#UUID=5119dcda-e481-4314-933e-b495a793cfce /              ext4    errors=remount-ro 0      1
  UUID=7cb28401-a5da-49ee-a20a-842f62d7a8e8 /   ext4 errors=remount-ro,noatime 0 1
# where it live now, on /dev/mapper/vg_raid-lv_raid
  UUID=8f8a646f-6ae3-4e2e-aff0-57159971b5ce /var ext4 noatime 0 1
  UUID=8c9b5dda-f9f6-4220-91bd-0291d7254f7a /               ext4   errors=remount-ro 0       1
  UUID=a45024f6-04ae-4e20-985a-3a4ec03dcfdd /home ext4 noatime 0 2
# /boot was on /dev/sda1 during installation
  UUID=035deadb-cb44-4129-a2ec-844e2f6ca602 /boot          ext4   defaults        0       2
# /home was on /dev/sdc1 during installation
  UUID=1d9ef03d-e39a-44ef-9435-7b099dc2d0ee /home           xfs    defaults        0       2
 
Still need to add this part
 
  /var/swapfile1 none swap sw 0 0
  /var/swapfile1 none swap sw 0 0
  #
  #
Line 73: Line 72:
  tmpfs /tmp    tmpfs defaults,noatime,mode=1777 0 0  
  tmpfs /tmp    tmpfs defaults,noatime,mode=1777 0 0  
  tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
  tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
I am leaving boot on a non-RAID device, this build is for speed not reliability so RAID for boot is irrelevant.
I built the system like this
/dev/sda1 /boot
/dev/sdb1 /       
Then I built RAID 0 on sda2 and sdb2.
mdadm --create --level=0 --raid-devices=2 /dev/md0 /dev/sda2 /dev/sdb2
pvcreate /dev/md0
vgcreate vg_raid /dev/md0
lvcreate --verbose --extents 100%FREE -n lv_raid vg_raid
mkfs.ext4 /dev/vg_raid/lv_raid
mount /dev/vg_raid/lv_raid /
update-initramfs


== Extras ==
== Extras ==

Revision as of 05:04, 22 February 2013

Laysan is my current desktop computer.

This is by far the fastest (and quietest) computer I have ever used or owned.

I had intended to build a server, then it got turned into my desktop instead. The server ended up being built later.

Components

Motherboard: ASUS P8B-M LGA 1155 Intel C204 Micro ATX Server Motherboard

CPU: Intel Xeon E3-1230 Sandy Bridge 3.2GHz LGA 1155 80W Quad-Core Server Processor BX80623E31230

RAM: 8GB x 2 Kingston 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1333 (PC3 10600) ECC Unbuffered Server Memory Model KVR1333D3E9SK2/8G

Drives:

  • Operating system and home directory on an OCZ Agility 3 240GB SATA III] MLC (SSD)
  • Data storage on a 2 TB WDC Caviar Black (SATA 2) WD2001FASS-0

DVD burner: TSSTcorp CDDVDW SH-222BB

Video: PNY VCQ2000D-PB Quadro 2000D 1GB 128-bit GDDR5 Workstation Video Card I wanted a workstation video card, as I want to do some OpenGL programming, and I work with ArcGIS software. This is the only component in this build that I would change; I would get a high end gaming board instead of a low end workstation board.

Monitors: Acer 23" and Acer 17".

Keyboard: IBM PS/2 Model M SpaceSaver (built in 1987)

Audio: This motherboard has no integrated audio so I use a NuForce UDAC 2 and a pair of Acoustic Research powered speakers.

Other: bT878 video capture card, an Osprey 210, that so far I have never used!

Case: Fractal Design Define Mini Black Micro ATX Silent PC Computer Case w/ USB 3.0 support and 2 x 120mm Fractal Design Silent Fans

Power supply: SeaSonic S12II 620 Bronze 620W ATX12V V2.3 / EPS 12V V2.91 80 PLUS BRONZE Certified Active PFC Power Supply

Operating system

Linux Mint 14

Operating system is split between a 240GB SSD and a 1TB HD. I had a RAID 0 setup with 2 SSD's but the (considerable) speed bump was not worth the pain to configure and maintain it.

On RAM fs are /tmp, /var/tmp, /var/run, /var/lock

Since the system has 16GB of RAM I am not worried about swap space. I put it in a swapfile on the 1TB drive.

echo vm.swappiness = 0 > /etc/sysctl.d/swappiness.conf
# Make a 4 GB swapfile
sudo dd if=/dev/zero of=/var/swapfile1 bs=1024 count=4096k
sudo mkswap /var/swapfile1
sudo chmod 0600 /var/swapfile1

cat /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# 
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=7cb28401-a5da-49ee-a20a-842f62d7a8e8 /    ext4 errors=remount-ro,noatime 0 1
UUID=8f8a646f-6ae3-4e2e-aff0-57159971b5ce /var ext4 noatime 0 1
UUID=a45024f6-04ae-4e20-985a-3a4ec03dcfdd /home ext4 noatime 0 2
/var/swapfile1 none swap sw 0 0
#
# Move things to RAM DISK for speed
tmpfs /tmp     tmpfs defaults,noatime,mode=1777 0 0 
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0

Extras

  • Calibre
  • Eagle 6.4
  • Eclipse
  • Microchip MplabX
  • Oracle Java
  • VirtualBox