2006/09/30: Habit or Not
Saw this on my IM
2006/09/30: Admun2 now X2
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
)
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).

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.

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.

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.
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
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).
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.
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.

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.
2006/09/28: Smoked Me(at)
While looking up reference for my previous post, just bump into this link about Montreal meat.
It started a few years ago while visiting Montreal, my friend Dixon used to live there so we made a few trips up from time to time (I still try to do one a year). Afterall, Ottawa is close to Montreal, only 1.5 hours driving (much closer when compare to TO(ronto)). One time a bunch of us decided to tryout the "world famous" smoked meat out of curiosity. How good a sandwish can be?
They are good. The meat is not salty but very flavorful. The smell of the spices and meat blend together to ensure you want to bite it.
Actually, I never eat there (maybe I should some time), each time we bought the meat to go and have them sliced up in thin pieces. The meat is wrapped in oil paper, in the old fashion way. I usually can't resist to open it up and swallow a few slices by the time I get to the car. It's _that_ good. The smell, taste, and the juicy meat......
Even after I get home and put them into the freezer, they are still good. I usually put them in smaller bags once get home, so I just keep one in the frige. The meat still taste good after the road trip and in the freezer. It's THAT good.
Speaking of food from Montreal, the next thing come up is bagels!!
It started a few years ago while visiting Montreal, my friend Dixon used to live there so we made a few trips up from time to time (I still try to do one a year). Afterall, Ottawa is close to Montreal, only 1.5 hours driving (much closer when compare to TO(ronto)). One time a bunch of us decided to tryout the "world famous" smoked meat out of curiosity. How good a sandwish can be?
They are good. The meat is not salty but very flavorful. The smell of the spices and meat blend together to ensure you want to bite it.
Actually, I never eat there (maybe I should some time), each time we bought the meat to go and have them sliced up in thin pieces. The meat is wrapped in oil paper, in the old fashion way. I usually can't resist to open it up and swallow a few slices by the time I get to the car. It's _that_ good. The smell, taste, and the juicy meat......
Even after I get home and put them into the freezer, they are still good. I usually put them in smaller bags once get home, so I just keep one in the frige. The meat still taste good after the road trip and in the freezer. It's THAT good.
Speaking of food from Montreal, the next thing come up is bagels!!
2006/09/28: Hey, I Was There Too!
I was in this place as well when I visit Singapore in June. There's why I first met Heng's friend in town. It's really a busy place and the waiter/waitress works there really have an attitude. I mean they are mean.... yes, mean. I guess it's come from that I-am-famous-near-and-far-so-I-serve-you-the-way-I-want-to-and-you-eat-what-I-give-you thingy. (There was a smoked meat place like that in Montreal too... and they are GOOD)
This bring back a lot of fond memory of the trip.
Thanks, Alice.
This bring back a lot of fond memory of the trip.
Thanks, Alice.
2006/09/25: Give Me Your Seat
2006/09/21: Grey is in, green is out
If you are a military buff like me, you probably notice the US troops deployed in that certain part of the world is donning a new camouflage BDU. The Army Combat Uniform. The new unifrom is redesigned and suppose to make soldiers' life easier, in another word, make them more survivable on the battlefield.
One interesting thing about this grey/white-ish camo designed to make soldiers "invisible" is that it's universal for all environments that US troops is going to be deployed. (desert/woodland/urban)
However, how effective is this so call "univerisal" camouflage? I guess only time will tell.
Meanwhile, ACU is not the only game in town. There is an experimental uniform/camo known as Multicam that is coming out about the same time. According to some information on the net, Multicam seem to be even more adaptible to the surrounding.
Speaking of the camo used by ACU, it's actually design digitally. It's a variation of one used by Marines called MARPAT (and here).
If you still want more of camo, see here.
Meanwhile, I still like the optical camo in Ghost in the Shell better.
One interesting thing about this grey/white-ish camo designed to make soldiers "invisible" is that it's universal for all environments that US troops is going to be deployed. (desert/woodland/urban)
However, how effective is this so call "univerisal" camouflage? I guess only time will tell.
Meanwhile, ACU is not the only game in town. There is an experimental uniform/camo known as Multicam that is coming out about the same time. According to some information on the net, Multicam seem to be even more adaptible to the surrounding.
Speaking of the camo used by ACU, it's actually design digitally. It's a variation of one used by Marines called MARPAT (and here).
If you still want more of camo, see here.
Meanwhile, I still like the optical camo in Ghost in the Shell better.
2006/09/06: Replublic of Admun's Return...
I am finally returned to Ottawa after 6 months in China. My server has been off-line due to DSL router problem since June, the root cause is the failing Ethernet function on the SMC router. I replaced it with a LinkSys WRT54GS.
During the server's long outage, I've been using MSN MySpace a bit (now Windows Live Spaces). I will port all posts form there later.
During the server's long outage, I've been using MSN MySpace a bit (now Windows Live Spaces). I will port all posts form there later.


![[Valid XHTML 1.0 Strict]](http://edmondhui.homeip.net/blog/skins/admun3/valid-xhtml.png)
![[Valid CSS]](http://edmondhui.homeip.net/blog/skins/admun3/valid-css.png)
![Validate my RSS feed [Valid RSS]](http://edmondhui.homeip.net/blog/skins/admun3/valid-rss.png)





