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!
|Bitcoin on Amazon! Sort of...||Sep 28, 2016|
|Free Today: September Issue of Linux Journal (Retail value: $5.99)||Sep 27, 2016|
|nginx||Sep 27, 2016|
|Epiq Solutions' Sidekiq M.2||Sep 26, 2016|
|Nativ Disc||Sep 23, 2016|
|Android Browser Security--What You Haven't Been Told||Sep 22, 2016|
- Free Today: September Issue of Linux Journal (Retail value: $5.99)
- Bitcoin on Amazon! Sort of...
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- Android Browser Security--What You Haven't Been Told
- Nativ Disc
- Epiq Solutions' Sidekiq M.2
- Returning Values from Bash Functions
- Tech Tip: Really Simple HTTP Server with Python
- Securing the Programmer
Pick up any e-commerce web or mobile app today, and you’ll be holding a mashup of interconnected applications and services from a variety of different providers. For instance, when you connect to Amazon’s e-commerce app, cookies, tags and pixels that are monitored by solutions like Exact Target, BazaarVoice, Bing, Shopzilla, Liveramp and Google Tag Manager track every action you take. You’re presented with special offers and coupons based on your viewing and buying patterns. If you find something you want for your birthday, a third party manages your wish list, which you can share through multiple social- media outlets or email to a friend. When you select something to buy, you find yourself presented with similar items as kind suggestions. And when you finally check out, you’re offered the ability to pay with promo codes, gifts cards, PayPal or a variety of credit cards.Get the Guide