Here’s an update on the status of my RPi.
Some modules weren’t installing right, namely XML::Parser. It needed some more dependencies built:
sudo apt-get install expat libexpat1-dev
YAML wasn’t working either. This commands specifies to CPAN which YAML to use. There are variants, you see, so it gets confused.
perl -MCPAN -e shell
o conf yaml_module YAML
o conf commit
Couldn’t install all the Perl modules without a swap file. Wear leveling isn’t an issue because you have years and years of NAND life before it craps out.
dd if=/dev/zero of=/swapfile1 bs=1024 count=524288
chown root:root /swapfile1
chown 600 /swapfile1
Then edit your /etc/fstab to mount the swap file after reboots.
/swapfile1 swap swap defaults 0 0
Check if it’s working.
I also mounted my Synology NAS over NFS instead of CIFS because the latter requires more CPU overhead. Here’s a tutorial. I ran into an issue with not being able to connect, which was because of the “insecure_locks” flag. Change it to just “insecure.” Refer to 6.2.1 Step 12.
USB Flash Drive
Reports around the world wide web indicate that USB flash drives operate RaspBMC faster than SD cards. I’m using the SanDisk Ultra Class 10. I have the Patriot Rage XT 16 GB USB 2.0, which was the fastest USB 2.0 drive when I bought it. A USB 3.0 drive will saturate the USB 2.0 controller even though the port isn’t capable of the full speed. Here are the USB speeds. Here’s what you need to know about SD cards on the RPi, and here’s how you move the filesystem from the SD card to the USB flash drive.
My SD card writes at 6.5 MB/s, but the USB drive writes at 15 MB/s. Not bad.
That’s what’s done so far, and next up is the overclocking and heatsinking stage. I’ve seen 1.1 GHz out there, and I’m still trying to figure out the best heatsink + enclosure combo. I’m mostly worried about finding a decent one that doesn’t cost more in shipping than the actual heat sink. Here are some contenders.