Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I've been having a bit of fun putting together a new home server, and have some info for others who might be pondering building their next PC, but who are on a budget. This is kind of off-topic, except that we all need hardware to run Perl on, and many of us are on tight budgets right now.

I do most of my work on a laptop, using a server for mod_perl/Samba/CVS/etc. My old P133-based server was getting unstable (I suspect that the disk controller was dying), and I was looking around for what to replace it with. None of the refurb boxes I found inspired great confidence, new equipment seemed rather expensive, and I wanted something small. The Shuttle boxes looked tempting, but were still expensive. My needs didn't require 1.8Ghz+ speed.

Researching further, I found that an emerging alternative to Intel- or AMD-based motherboards are the all-in-one Via Mini-ITX boards, many of which run the low-power, i586-compatible Via C3 chip. The Mini-ITX boards have Audio, Video, and LAN on-board. Some have TV-Out. You basically plug in RAM, hook up a disk and CD/DVD, install an OS, and away you go. Oh, and you need a case. That's where some people have been having a lot of fun, building Mini-ITX boards into lunch boxes, toaster ovens, old game consoles, cigar humidors, etc. The low-end processor can be run fanless, for truly quiet computing.

I was skeptical of the stability of these boards until I did some research, and found that they could run RH8 and recent builds of FreeBSD (and gentoo linux, with a bit of futzing), and that people who had them were pretty happy with them.. A positive report from a serious FreeBSD developer I respect was enough to push me over the edge.

I opted for this board in this case (which is quiet, but not silent), adding a 256Mb RAM stick and a Sony CDRW (on sale), and reused a 60GB IBM drive from the old server. (The board actually booted off of the old drive, which had RH7.2, but I installed RH8 to get newer drivers.) In total, I shelled out about $350 USD, including taxes.

I'm happy with the result, with a few caveats:

  1. The C3 processor is i586 compatible, but lacks a few instructions in the i686 set. This means compiling some stuff from source. I haven't had any trouble with anything from a fresh RH8 install, which claims to be built for i686, but I'm probably just lucky (so far).
  2. The on-board AGP graphics is pretty much limited to 1024x768x24 graphics. It's fine for text or X, but don't expect to play graphics-intensive games. I run the box mostly headless, so I don't care.
  3. TV-Out may require drivers that aren't yet stable on Linux. Again, no issue if you're just running headless or don't plan on plugging the box into a TV.
The linITX forum has more reports from people who're running Linux on Mini-ITX boards.

Disclaimers: None. I'm just a happy customer.

In reply to OT: Building a small home server by dws

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    [ambrus]: Corion: I mentioned that the unix event loop of Prima always wakes up at least once every 0.2 seconds. Have you found out whether the win32 event loop of Prima does that too?
    [Corion]: ambrus: Hmm - I would assume that the onDestroy message is sent from the destructor and doesn't go through the messageloop, but maybe it is sent when a window gets destroyed but all components are still alive...
    [ambrus]: Corion: partly deep source dive, partly just conservative coding even if it adds an overhead.
    [Corion]: ambrus: Hmm - no, I haven't looked at wakeup intervals ... I wonder why it should want to wakeup periodically because it gets a lot of messages from the Windows message loop (on Windows obviously)
    [ambrus]: (Alternately a deep source dive and then rewrite that event loop to make it better, and then as a bonus you get an idle method.)
    [ambrus]: The 0.2 seconds wakeup is likely a workaround for some bug, but I can't guess what bug that is.
    [ambrus]: It's been there since Prima 1.00 iirc
    [Corion]: Hmmm... Weird. Maybe it needs that for doing its timers or something. Still weird.
    [Corion]: But I guess I'll find out soonish, as my application seems to use Prima for more than just displaying the OpenGL output soonish ;))
    [ambrus]: No, I think the timers are handled fine in the event loop, as far as I can see.

    How do I use this? | Other CB clients
    Other Users?
    Others rifling through the Monastery: (9)
    As of 2016-12-09 10:33 GMT
    Find Nodes?
      Voting Booth?
      On a regular basis, I'm most likely to spy upon:

      Results (150 votes). Check out past polls.