Summary

Strategy
20 February 2005

This file is currently a mix of "which kernel to run" and "longterm computer strategy."

20 February 2005

Over Xmas, I set up the Opteron storage server (trevi) to capture live television and to serve as a workstation for students in my classes who need access to the captured material.  Trevi thus runs the following services:

  • application server for my laptop (and locally)
  • television recording and storage
  • video editing station (java, dual-head video, good audio)
  • WinXP gaming platform (triple boot to WinXP Pro and WinXP 64-bit)
  • VMware server (WinXP on demand)
In the Winter quarter, the machine is being used extensively for tv capture and me and the students to use the footage for my media strategies class. I've also attached a 200GB firewire drive (to cyberspace, actually) where the footage from January, February, and likely much of March can be stored and thus removed from Trevi altogether.

This kind of distributed and removable storage is very attractive and I may get more of those enclosures -- they cost around $30 I believe, so you can literally store the files in these removable drives that can be plugged in at a moment's notice. Label each enclosure with the contents of the drive and pile them up. If all of them need to be connected, you can daisy-chain them on a fast firewire card -- this is really very attractive. The USB 2.0 drive enclosure kits are cheaper ($23 vs $39), but so far USB is messing up and Firewire is working.

The only issue is file system -- but there are no good cross-platform alternatives,  and ext2 is fairly fully implemented on OSX (ext2fsx lets you read, write, and format; there's a residual problem still with some USB drives) and readable on Windows (free explore2fs and ext2fsnt or proprietary ext2fs anywhere with free read-only support). You can also serve them though Samba or NFS on Linux. So don't worry about the file system; ext2 is good.

I've now discovered that I can indeed daisy-chain the external firewire drives! That's a first for me. Having firewire is obviously a plus for interactivity / sharing with Macs. A problem remains that you can't reattach a drive once it's been removed, without rebooting the machine -- see firewire for details.

The other machines currently have these functions:
  • sigillo: laptop serving as my main desktop (CD drive replaced)
  • gubbio: currently serving as a MythTV demo, also /vm storage (not used)
  • cyberspace: serving tikiwiki edu and cyberspace; storing video and software in /vc and /vs
  • spello: phpESP server for around 60 students in two classes; storage; backup desktop
In spring I'll need a gaming machine, but I'll no longer really need to record television news.

Long-term plans:
  • trevi
    • application server
    • development machine for free software guests
    • storage hub
    • thin client server
  • new machine
    • gaming
    • no hurry on this -- trevi is a fine game machine for now
  • Televison News Archive machines
    • tv capture
    • you shouldn't have to think about this at all
    • just borrow files when you need them
You don't want to have your own capture machine in part because you can't get all the channels you want anyway -- you'll do better with access to an array of machines.

26 November 2004 update

The Opteron storage server was converted to Debian amd64 in September 2004 and runs the following services:

  • application server (Firefox, Mozilla, OpenOffice, Gimp, Dia, etc.)
  • VMware server (WinXP on demand)
  • Linux video editing station (java-based; dual-head video card and two monitors; good audio)
  • WinXP gaming platform (dual boot)
This means that my various high-end needs are largely met by this single computer, which has a terabyte in current storage and the capacity for another terabyte (or more, depending on drive size).

The other machines have the following roles:
  • sigillo: laptop serving as my main desktop (may need CD drive repair)
  • gubbio: currently serving as a MythTV demo, also /vm storage
  • cyberspace: serving tikiwiki edu and cyberspace; storing video and software in /vc and /vs
  • spello: storage -- could be used for TV capture; built-in sound, riva TNT video.
I thus have no need for new equipment at the moment, having discovered how to turn the Opteron server into a gaming platform. This is an optimal solution, as I currently need the gaming platform only occasionally, and can run the server most of the time. If I start needing a gaming platform more frequently, I could get a second machine -- but the thing to do would be to get another storage server, just add an AGP or PCI-Express slot, so that you consolidate storage from gubbio and spello into the new machine.

Video lab design

19 November 2002: Now that you have a dynamic and simple system -- Debian, through Libranet -- you should plan to switch everything to this distribution and maintain several very similar machines. Check out Thing's instructions on HA, a heartbeat cluster method. There's also firewire networking (Oracle released some patches).

Consult with Marsha Smith about furnishing the video lab -- you might even get some funds from Neil, though at the cost of opening it for others in the program. Anyway, ask Marsha, just for yourself -- Linux hardware, nothing complicated, ability to transcode and render, hooked up to TV and VCR, easy access on a list of tasks:

  • show dv tape on TV
  • project dv tape on screen (projector)
  • import dv from camcorder
  • edit dv footage
  • transcode to different formats
  • export to camcorder
  • stream on demand
  • massive storage RAIDs
  • capture from TV

XFS and LVM

If you want the changes present in pre10 _and_ xfs _and_ LVM, get the -aa kernel. Version pre10-aa2 has xfs included. You can get the original at http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/ or a copy at: http://giga.cps.unizar.es/~magallon/linux/kernel/.

Narrative on 18 November, after the installation of Libranet 2.7 and Win98 on VMware

The VMware solution was installed this morning, with Dreamweaver now directly available in Linux. I don't see any drawbacks -- the response time is excellent. This has a very solid feeling of a profound solution to the long-term project of setting up a good computer system.

Narrative from 15 October 2002-- Computer plans

It looks like 2.4.19-ac4 is fine.

What I want is a laptop for my main work -- but if that's so, then you'd want to have it at home and take it in only occasionally, such as for teaching. That would mean that the laptop replaces my current laptop. Now, recall that with the laptop, you'll be able to use Dreamweaver in OSX, and also run Debian... This is fine, but not really my priority -- that is to say, it's my priority for teaching. So what you can do is migrate your windows box to Debian and run applications in OSX. What's left now is what? I think Agfa has an Apple printer driver, or you leave a Windows machine in the lab that runs it. Video is all better on Linux and Mac. MS Office is on OSX. OCR sounds like it's been ported to OSX, and Tim is getting a sheetfeeder. So what you do is move gubbio to the lab and convert Spello -- which will become the new gubbio -- to Debian. That should do it for now. Or -- you move gubbio home. Or you donate gubbio to UCLA LUG. Or you do this: remove the add-on CPU and replace the CD drive. Turn it into a dumb web server and leave it just for that -- it could even be configured to be a firewall? This is what you do. You don't need the CPU speed. You'll also need to peel off all the Windows stuff -- spend some time tidying that stuff up.

The question is whether it makes sense to get a second machine right away -- a nice and quiet desktop for the office, with a 1GHz CPU that doesn't need a fan, and not much hard drive space -- just enough to run an OS, and then mount the rest to the lab. That way your three machines can all go to the lab, where they will be replaced over the next year or so and passed to UCLA LUG. This is the way to go. Get a TiBook and get a quiet PC, and move everything into the lab for now. In the lab, move towards putting Debian on everything, so the machines are as similar as possible. Get Codeweavers Office.

Narrative from the installation of 2.4.20-preX in mid-August 2002

Note on recent patches: The 2.4.19 kernel may be fine -- I haven't tried to run it. The pre2 patch has a problem with CPiA, but otherwise runs fine. The pre3 patch doesn't boot. The pre4 patch may still have some difficulties with IDE -- it's worth waiting, perhaps until 2.4.20 is official. No point taking chances with your IDE drives! The main reason to get a new kernel (my current 2.4.16 is running great) is to get dv1394 for exporting back to camcorder. However, even this is frankly not a feature I urgently need. The main use would be for TV programs that you want off the hard drives. So it's worth getting, but there's no hurry.

There is also a virtue in keeping a kernel for a long time -- it creates a stable and reliable system. Many Linux boxes are still running the 2.2 kernel -- in fact, this is still the default Debian stable kernel. 2.4.16, patched with the gigadriver patch from Andre Hendrick, seems to be an excellent kernel. The quality of kernels is uneven, and people in the know avoid some of them and favor others. For digital video, there is still work adding new features to the kernel, so this is worth getting once it's stabilized.

The great thing about the current setup is that it's stable and works fine. It's really a production system -- I can take a tape, grab the content, compress it to divx, write two or three tapes to a DVD, and then delete the original dv to make room for more. In compressed form, an hour of video takes up about one Gb, so you can have a hundred hours on each hard drive (120 and 150 hours). This is not exaggerated, but it's also not too much -- you'll accumulate that amount of video. The originals you then keep on tapes, carefully marked. This is already a fully satisfactory system for your purposes. What you may also want to do is pick out interesting sequences for talks before you delete the dv files, since you cannot edit the mpeg4 files (at least not at the moment; kino may acquire the capability).

Add this material to a separate file called something like video strategy and place it under the Research directory on grain -- you can link to and from the Linux pages.

 

 

 

 

top
Debate
Evolution
CogSci

Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles


CogWeb