The first tmpfs suggestion I would use on an as needed basis. You would be better served by leaving tmp alone and creating a ram tmpfs just for the programs that require it. The notes at this location are more appropriate, note the "/tmp/jack" vs. "/tmp" http://proaudio.tuxfamily.org/wiki/index.php?title=DAW_Digital_Audio_Workstation#Jack_configuration The other tmpfs and shmfs settings may only make a difference (otherwise could actually be detrimental) if you re-compile jack with the correct options set. Check to see which settings were used in the packaged jack you have installed.
noatime is commonly used and should be set on data drives/partitions. writeback may help, personally I don't use journals on my "audio write" disks. No swap partition or no swap mounted during recording, swap on separate physical drive if needed during non-linear editing only.
Slightly out of date but still valid info from cinelerra http://cvs.cinelerra.org/docs/split_manual_en/cinelerra_cv_manual_en_20.html By far the fastest file system is mke2fs -i 65536 -b 4096 my_device tune2fs -r0 -c10000 my_device This has no journaling, reserves as few blocks as possible for filenames, and accesses the largest amount of data per block possible.
A slightly slower file system, which is easier to recover after power failures is mke2fs -j -i 65536 -b 4096 my_device tune2fs -r0 -c10000 my_device This adds a journal which slows down the writes but makes filesystem checks faster. ...
You should have separate physical drives for audio/video data. If you're mixing you should have 3 physical drives, one for OS system, one for sample/track reads, one for mixed output writes.
For a system that is limited by the user's ability: 3 physical drives, formatted as standard EXT3 for OS, no journal and no access times for audio read and write drives
No swap partition, enough memory so this is not an issue, never exceed 65% memory load with all apps/plugins/etc. loaded. The rest of memory is for disk buffers. The percentage shrinks if you have a large memory system. You should have >256mb available ram fully loaded, more is better.
For a gross approximation of CPU utilization, start up a standard mix session with all plugins loaded and functioning, softsynth playing, etc. and then run top. Your Cpu idle percentage should be greater than 50%.
XFCE, no arts or esd, no gnome, no beagle, static IP. remote syslog, no cd autodetect, no printing support turned on (enable as needed).
Low-latency or realtime kernel, each has their own uses, usually use low-latency.
To load test, I'm viewing/editing 6 video tracks, 640 x 480 and 16 audio tracks 48k 128kbit simultaneously while downloading an iso, running mysql and apache (idle), plus running vmware with a ubuntu 7.04 client running a few firefox browser instances, each with many tabs open. I have 260mb free ram plus plenty of cache buffers and around 70% cpu idle on a AMD64 3700 while doing all of this.
Rebooting is still needed for performance systems. To determine if you need to reboot: Write a script to start and stop an app 1000 times. Run this script with each of your programs. If free memory ever goes near zero, you probably have a memory leak and rebooting periodically will be necessary.. My system can stay up for months with many random apps. I can also crash the system in a few moments with a bad app. Every distro I've tried (and I've tried more than most) still has at least one app with a memory leak. Audio and video apps move and allocate memory and more often than others have memory leak issues. Another reason I like using virtual systems is they're great for debugging. A cpu or memory hog client will kill the VM but not the parent system.
Hopefully in the future the Ubuntu studio project will switch to XFCE and build the system up from Ubuntu server which is a cleaner base system than Xubuntu. If designed for production vs. desktop gadgetry performance should easily be doubled.
Somewhat Offtopic: Take for example EMC, a cnc distro built on Ubuntu. Barely runs on a pentium III, lost steps, UI delays, etc.. After system tuning runs fine on Pentium III even on Pentium II (after convert to Xubuntu, static ip, remove unneeded daemons, etc.)