Build a low-cost green server

Discussion in 'Computer Gaming Forum' started by Treamcaster, Nov 19, 2010.

  1. Piratero

    Piratero Peppy Member

    Joined:
    Feb 28, 2009
    Messages:
    367
    Likes Received:
    8
    It's all relative to tuning virtual memory to avoid having frames being swapped out to the page file.
     
  2. splith

    splith Resolute Member

    Joined:
    May 2, 2010
    Messages:
    997
    Likes Received:
    4
    Linux -> Create no swap partition.
    Windows -> Go into system properties and disable system paging file.

    You can disable it on both.
     
  3. Alchy

    Alchy Illustrious Member

    Joined:
    Apr 6, 2004
    Messages:
    6,216
    Likes Received:
    19
    It's a very bad idea to disable it on windows unless you've got lots of RAM.
     
  4. Trenton_net

    Trenton_net AKA SUPERCOM32

    Joined:
    Apr 13, 2007
    Messages:
    2,378
    Likes Received:
    58
    www.fit-pc2.com

    Great devices. I own one and it's perfect. Not as small as a Shiva plug, but it has more features and is x86 compatible.
     
    Last edited: Nov 25, 2010
  5. Calpis

    Calpis Champion of the Forum

    Joined:
    Mar 13, 2004
    Messages:
    5,906
    Likes Received:
    21
    Unless you're talking about SSD, you don't want a swap file on flash. Not so much for reliability these days--USB flash sticks DO have wear leveling and can remap dead sectors, but because they are horribly slow to write to, typically <10MB/s. SSD write speeds are only acceptable because the flash is arranged with a VERY wide bus to increase throughput.

    I say disable the swap if you have 2GB of RAM. It's hardly necessary for a server anyway since most of the heap won't be tied up on internet browser crashes (assuming you aren't using it as a general computing device as well).
     
  6. rso

    rso Gone. See y'all elsewhere, maybe.

    Joined:
    Mar 26, 2010
    Messages:
    2,190
    Likes Received:
    447
    You can even get away with a lot less than 2GB, especially if you think carefully about what you want to run (like choosing fluxbox over KDE/Gnome, or lighttpd over Apache). On my laptop I rarely exceed 800MB, and the embedded system I use for a server is using only 10MB (out of its 32MB total) right now, with HTTP and FTP servers running, me being logged in via SSH, and a torrent in the background (have to admit 32MB can be a tight squeeze though, so I added 60MB of swap for unexpected peaks).

    Long story short, think about what you need instead of installing random crap, and unless maybe you insist on some big database you shouldn't really need more than 512MB-1GB of RAM, and definitely no swap.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page