Admun's Tech Journey

thoughts, ideas, projects, and discoveries on technologies

  • Main
  • Tag Cloud
  • Archives
file[amdx2box.JPG] is an invalid type: only jpg/jpeg, gif and png types are allowed.file[admun2.png] is an invalid type: only jpg/jpeg, gif and png types are allowed.

30

Sep

Admun2 now X2

Posted by Admun  Tags: linux, hardware
I have been thinking about upgrading my server for sometimes. I have a AMD Athlon 64 3000+ CPU when I bought my server last year. While it's nice, I was thinking to eventually replace it with a Athlon 64 X2 when the price come down. Then I will run this setup for 3 more years before retire it. After all, one of the advantages of socket 939 is able to run a dual-core CPU.

I started shop around in Hong Kong before I come back to Canada, but was not able to find a cheap one. The price was about the same when compare to in Canada. Actually, I missed a blow out sale just a month or so ago (~CAN $40 cheaper). I guess what happened is that they no longer make socket 939 X2 CPU as the new one are for socket AM2. But since I already have a socket 939 m/b, I have to stay with socket 939. So, I ended up coming back with no CPU. (and I have no space to bring it because my luggages are all full anyway smile )

Then I was in TO last weekend and search all Pacific Mall but again unable to find any 939 X2 CPU. I guess it's the same story in HK and TO. A bit disappointed, I dropped by RBC computing on Thur. and hope they have one in stock or able to order one for me. Luckily, they have one last 3800+ in stock. So, I happily take it (damage $210).

AMD Athlon 64 X2 for socket 939, retail box

Installing the CPU was simple. I pop open the case, disassemble the heatsink/fan, swap in the new CPU. That's it. I already upgraded the BIOS a while back so it's already supporting dual-core CPU. I boot up the server to see whether the new CPU boots on Linux. Actually, I have been having problem booting the server with the latest kernel from FC4 64bit and have to run a old kernel. To my relieve, the single-core kernel boots up just fine. Then, I install the latest SMP kernel, reboot, and cross my fingers again. It's a real relieve when the kernel boot up and pass init. Now I have a SMP server!

So, how much performance boost I got from this upgrade? The CPU speed is up from 1.8 Ghz to 2.0 Ghz. The BogoMips (kind of a rough benchmark) is up from 3600 to 3900. It doesn't look that impressive? But the power comes in 2s! The server is now like (note, I say like...) having 2 CPU on it. So, applications can run at the same time, for real. Of course, this is only work if the bus is not overload and become the bottleneck. As for actually how much performance gain I got is yet to know. Maybe I will look into it later.

One improvement that is a side effect of the upgrade is that I am able to run the latest 2.6.17 kernel. That's mean I am finally able to use the latest ivtv driver 0.7.1. With the new driver, I am finally able to detect and use both WinTV pvr-250 and WinTV pvr-150 on the server. Now, I can use one capture card for TV recording and the other one for streaming. I can smell IP TV from admun. smile

Running applications remotely to my laptop

To get a feel of the performance gain, I ssh into the box, start up a xosview to see in real time the system's stat. Then I run k3b and burn some data DVDs. The server barely break a sweat. This is running while other services like Apache, MySQL, sendmail, Torrentflux are running in the background. The impact on my blog is roughly from 0.37sec to 0.41sec of processing time. I don't have old number to compare to, but I guess it's alright.

Xosview showing system load distribution

Last, I noticed from xosview that Linux is able to distribute loads between both CPU, sometimes one CPU is running while the other one seem blocking (by I/O?), and often both CPUs are running task at the same time. That's the indicator of how a SMP system better than a single core one. The system responsiveness should improved as there is always (hopefully) a program is executing.
Leave a comment

About Me

admun My passion has always been on software development, and I know it since I wrote my first program on an Apple II. I worked on cellular wireless system in the past (C/C++) and now focus on web application (LAMP, PHP, MySQL, CakePHP, Symfony, jQuery, Google AppEngine/python).

Tags

abit android apache app engine audio bandwidth benchmark bing blogroll bluetooth boinc bookmark botnet bt cakephp cdma cellphone chinese chrome clouds coding crash crawler date dns drm dsl fedora friendster g1 gaim gdesklets gmail google grid h323 hardware html ie6 instant messaging internet javascript jquery language lifestreaming linux liunx meetup ming motorola msi mysql nas nat networking nokia ntp nucleus opinion optimization os p2p palm parrot php power reblog redhat regex rss sdk se search security shell skype social network spam stats string svn syntax sysadmin t-mobile teksavvy telecom thinkpad time tips tuning tv twitter unix voip web web app web2.0 webos wordpress

Archives

  • Full archive
  • May, 2013
  • Feb, 2013
  • May, 2012
  • Aug, 2011

Search

Powered by LMNucleus CMS v3.66 | Copyright Edmond Hui
This page takes 0.038 sec/25 queries to process | NP_BadBehavior blocked 334 spams for the past 7 days
Theme Design by short funny jokes | Ported to Nucleus CMS by BABOCHTA
[Valid XHTML 1.0 Strict]