64-bit Green PC
A few weeks ago, I built myself a brand new machine. I wanted something 64bit and low powered that could act as a VMware or other virtualization server if necessary. I also wanted it relatively cheap.
So between Newegg, Geeks.com, ZipZoomFly and Amazon, I did just that. My primary focus was a "Green PC". I didn't want to sacrifice power (cpu operations) for power (electricity). I also wanted it to be relatively cheap ($500-600). I identified the two of the biggest power suckers in just about any mainstream pc:
- the CPU
- the PSU (in efficency)
I started with an AMD 64 x2 BE-2350. This CPU was on sale for less than 100 bucks and advertised 45w of power usage ... which is fantastic! Many high powered CPUs these days use roughly 100w of electricity, easily.
My other major piece was the PSU. Most power supplies are about 60-75% efficient, meaning much of the juice you're pumping into your PC is being used to heat your room. Aantec's "EarthWatts" PSU's have a rating of 85% or higher. Not only do you save that electricity in the form of heat, but also running the fans to cool down the system.
Once I had those two major parts, I continued. I got a deal on 2gb of DDR2 800 ram, which operates at 1.9v ... which is low by todays standards. The motherboard I chose was nothing special, an ECS A770M-A, the main reason I chose it because it supports PCI-E x16 and up to 32gb of memory.
The video card was also not the latest and greatest. I'm a big fan of Nvidia, and I went with their 6600 series card. (My last card was a 5500). This card supports dual monitors, has 512m of ddr video memory, and probably runs cooler (and with less power) than a top of the line 8800 or 9000 series. Also, Geeks.com had it for about $50!
Next, my old machine had three IDE hard drives and two DVD drives, one a burner and one just a reader. Can you say power consumption? I consolidated the 320gb of drivespace I had with my old machine with one 500 gb SATA drive. I also went with one DVD+/-RW drive instead of two.
Not counting the dual LCD monitors, my new setup uses about *half* the electricity of my old one. I have one of those Kill-a-Watt voltage/wattage monitors. And I took the readings before my last tip.
I installed Slamd64, a 64-bit version of Linux, but could have very well used Ubuntu Server or Workstation. One thing Ubuntu does "out of the box" was enable CPU frequency scaling. I, too, wanted to take advantage of this.
I made sure to enable the loading of AMD's powernow-k8 module (in /etc/rc.d/rc.modules) as well as the "ondemand" cpufreq governor. (Slamd64 has the "userspace" governor enabled by default compiled into the kernel). The main difference between these two, the ondemand gives you power when you need it, while the userspace lets you choose what specific power levels you want.
Finally, these aliases in root's ~/.bash_profile topped it off:
alias hpwr='echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor && echo 2100000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed'
alias lpwr='echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor'
My available frequencies were 1000mhz/cpu core on the low end and 2100 on the high end. While my machine idles (I leave it on all the time) it doesn't soak a lot of power unless I access it from remote and tell it to. If I'm working on something important, I can temporarily type "hpwr" and perform my task, then back to "lpwr" when I'm done!
I'll have to take idle measurements with the Kill-a-Watt again to see how low it really goes. Or, maybe I'll just wait to see if I get a nice surprise in my next power bill!
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Ubuntu Online Summit
- Devuan Beta Release
- The Qt Company's Qt Start-Up
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- The US Government and Open-Source Software
- May 2016 Issue of Linux Journal
- The Death of RoboVM
- Open-Source Project Secretly Funded by CIA
- New Container Image Standard Promises More Portable Apps
- BitTorrent Inc.'s Sync
In modern computer systems, privacy and security are mandatory. However, connections from the outside over public networks automatically imply risks. One easily available solution to avoid eavesdroppers’ attempts is SSH. But, its wide adoption during the past 21 years has made it a target for attackers, so hardening your system properly is a must.
Additionally, in highly regulated markets, you must comply with specific operational requirements, proving that you conform to standards and even that you have included new mandatory authentication methods, such as two-factor authentication. In this ebook, I discuss SSH and how to configure and manage it to guarantee that your network is safe, your data is secure and that you comply with relevant regulations.Get the Guide