<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Me Blog! &#187; Technical</title>
	<atom:link href="http://robertsweetnam.ie/category/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://robertsweetnam.ie</link>
	<description>It&#039;s hard to think of a tagline - All the good ones are taken..</description>
	<lastBuildDate>Sat, 15 Jan 2011 19:00:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Making the Most of 12GB of RAM</title>
		<link>http://robertsweetnam.ie/2011/01/15/making-the-most-of-12gb-of-ram/</link>
		<comments>http://robertsweetnam.ie/2011/01/15/making-the-most-of-12gb-of-ram/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 19:00:18 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Boredom]]></category>
		<category><![CDATA[Curiosities]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[RAM disk]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[zippy]]></category>

		<guid isPermaLink="false">http://robertsweetnam.ie/?p=999</guid>
		<description><![CDATA[Having had my new PC up and running for a month now I recently treated myself to an 8GB RAM upgrade to bring me the the insane amount of 12 GB total. I did this with a plan in mind. The plan was to use some of the RAM as a RAM disk for use [...]]]></description>
			<content:encoded><![CDATA[<!-- Easy AdSense V2.82 -->
<!-- Post[count: 2] -->
<div class="ezAdsense adsense adsense-leadin" style="text-align:center;margin:12px;"><script type="text/javascript"><!--
google_ad_client = "pub-6763366335965000";
/* 468x60, created 9/3/08 */
google_ad_slot = "1846913107";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p>Having had my <a title="New PC" href="http://robertsweetnam.ie/2010/12/18/new-pc/" target="_blank">new PC</a> up and running for a month now I recently treated myself to an 8GB RAM upgrade to bring me the the insane amount of 12 GB total. I did this with a plan in mind. The plan was to use some of the RAM as a RAM disk for use with VMware workstation. The idea being to create a RAM disk and install Windows XP or Linux in to the RAM disk.</p>
<p>Now a RAM disk isn&#8217;t all that much good because the moment you shutdown your PC or it crashes or the power fails then you will lose everything. But this wasn&#8217;t bothering me that much. What I did was setup my VM using a 6GB RAM disk for storage. Once I had it all setup and up to date I shutdown the VM and simply copied the directory over to the hard disk. Now I had my backup I fired it up once more and played around a bit.</p>
<p>In addition to this I added a second virtual disk on the VM which is always on the hard disk so applications and permanent data is to be saved either there or on my NAS.</p>
<p>So what&#8217;s it like? First off I tried it on Windows 7 and didn&#8217;t have much success. There are several free RAM disk solutions available but when I got my VM up and running I started seeing a lot of &#8220;fragmented disk&#8221; errors and after rebooting I had files missing and it wouldn&#8217;t boot fully. All the hallmarks of disk corruption or in this case RAM disk corruption. Pondering about it for a bit I figured that maybe this would only work with Error Correcting memory (ECC). I was about to give up but I decided to boot into Ubuntu and try from there.</p>
<p>This was a resounding success! No errors of any kind. XP installed from an ISO in less that 7 minutes using an automated install. XP boots up in approximately 8 seconds from end of BIOS to desktop and the performance is absolutely incredible. Installing Office 2007 took about 5 minutes and  clicking on Firefox has it opening in about 1 second!</p>
<p>What makes this all the more interesting is that VMware workstation has a feature called &#8220;Unity&#8221; which runs the VM in the back ground and provided a start menu on Gnome. This makes for a very interesting way to seamlessly integrate Windows appications into Linux.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2011/01/15/making-the-most-of-12gb-of-ram/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New PC</title>
		<link>http://robertsweetnam.ie/2010/12/18/new-pc/</link>
		<comments>http://robertsweetnam.ie/2010/12/18/new-pc/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 11:41:25 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Spiffy]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[Dabs]]></category>
		<category><![CDATA[nVidia]]></category>

		<guid isPermaLink="false">http://robertsweetnam.ie/?p=995</guid>
		<description><![CDATA[Having been employed now for almost a full three months I finally have for the the first time in almost four years some disposable income. On the cards for some time was getting myself a new PC as my main PC was starting to get a little old. After all it is 5 years of [...]]]></description>
			<content:encoded><![CDATA[<p>Having been employed now for almost a full three months I finally have for the the first time in almost four years some disposable income. On the cards for some time was getting myself a new PC as my main PC was starting to get a little old. After all it is 5 years of age now and creaking along the seams a little bit. I had a gander around at the main players such as Dell and HP et al and decided that price wise I might would be better off building my own one.</p>
<p>After poking about the usual sites I settled on a bundle offered from Dabs.ie made up of the following:</p>
<p>CPU: AMD Phenom II 1090T Black Edition. 6 Cores at 3.2Ghz.<br />
Motherboard: ASUS M4A87TD EVO.<br />
RAM: 4GB DDR3<br />
HD: Samsung Spinpoint 1TB<br />
Case: Antec Sonata III with 500w PSU.<br />
Video: Gigabyte nVidia GeForce GTX460 with 1GB RAM.</p>
<p>The total came to just a shade under €700 including shipping which was bang on my budget. The parts had all arrived last friday so after a week of having it up and running I have to say I&#8217;m very impressed with the performance of it.</p>
<p>This is actually my first PC that has an AMD CPU. I was initially planning to buy an Intel Core i7 but from reading various reviews the Phenom II seemed to be almost on a par with the i7 I was looking at and was a little bit cheaper too. The motherboard and the CPU support overclocking too but I haven&#8217;t gotten around to trying that out yet.</p>
<p>Other factors that led me to decide on this combo was the motherboard supports USB 3.0 with four slots. It also has 6 SATA connectors one of which is connected to the eSATA connector on the front of the excellent case. The case with its 500w PSU is nice and big, easy to access with plenty of room for more disks with 6 x 3.5in drive bays. My plan is to start stuffing these to capacity over the coming months. Also the case comes with a front air filter which is very handy as I&#8217;m a smoker! The PC it&#8217;s replacing is rather filthy inside to say the least. Also the case has a nice large exhaust fan which is very quiet and has a switch to allow you to choose between three speed settings.</p>
<p>I also opted for just 4GB of RAM in 2 x 2GB modules in keeping with a view to upgrading in the future. My primary reasoning behind this was that Windows 7 flies along nicely on just 2GB of RAM and in keeping with my budget 4GB for the moment is plenty.</p>
<p>As always with a new PC the immediate performance is stunning. Over the Christmas holidays I intend on putting it thorough it&#8217;s paces with a few games that I am going to treat myself to but already I&#8217;m very pleased with my purchase <img src='http://robertsweetnam.ie/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2010/12/18/new-pc/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Gathering my online tracks in one place</title>
		<link>http://robertsweetnam.ie/2009/06/08/gathering-my-online-tracks-in-one-place/</link>
		<comments>http://robertsweetnam.ie/2009/06/08/gathering-my-online-tracks-in-one-place/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 18:46:18 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bored]]></category>
		<category><![CDATA[techie stuff]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=821</guid>
		<description><![CDATA[Now that things have finally settled down I can finally get around to getting a lot of the things I had planned for my summer holidays done. First up was to try to aggregate all my online presences from Twitter, Flickr Last.FM etc. I was considering using FriendFeed but since I&#8217;ve recently been extolling the [...]]]></description>
			<content:encoded><![CDATA[<p>Now that things have finally settled down I can finally get around to getting a lot of the things I had planned for my summer holidays done.</p>
<p>First up was to try to aggregate all my online presences from Twitter, Flickr Last.FM etc. I was considering using FriendFeed but since I&#8217;ve recently been <a title="My Tech Blog" href="http://tech.sweetnam.eu/2009/04/microsoft-web-platform-installer-and-iis-must-have/" target="_blank">extolling the virtues</a> of Microsoft&#8217;s Web App Installer, I noticed a new application was available to install called <a title="Amplifeeder" href="http://amplifeeder.com/" target="_blank">Amplifeeder</a>.</p>
<p>As I tend to like to have quite a lot of control over my own data I decided on this over the alternatives and I have been very impressed. Unfortunately you need a Windows Server with IIS and Microsoft SQL server so if you have a *nix hosting package you will be out of luck.</p>
<p>So my new aggregate site is now available at <a title="Aggregator.sweetnam.eu" href="http://aggregator.sweetnam.eu" target="_blank">http://aggregator.sweetnam.eu</a> if you fancy a look.</p>
<p>The next thing on my todo list for my summer holidays is to erect an antenna on the house for yet some more long range WiFi testing. Only thing is I&#8217;m terribly afraid of heights <img src='http://robertsweetnam.ie/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2009/06/08/gathering-my-online-tracks-in-one-place/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dodgy Verizon Behaviour</title>
		<link>http://robertsweetnam.ie/2009/02/25/dodgy-verizon-behaviour/</link>
		<comments>http://robertsweetnam.ie/2009/02/25/dodgy-verizon-behaviour/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 23:57:51 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Curiosities]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[begone!]]></category>
		<category><![CDATA[Bots]]></category>
		<category><![CDATA[curious]]></category>
		<category><![CDATA[WTF]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=704</guid>
		<description><![CDATA[I&#8217;ve just had 7 IP addresses from Verizon crawl through almost every page on my domain. That is blog.sweetnam.eu, tech.sweetnam.eu, www.sweetnam.eu and sweetnam.eu. A total of 5368 requests, in 3 hours! Odd things is that none of the IPs in question were typical crawlers as each IP requested an entire page at a time. Given [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just had 7 IP addresses from Verizon crawl through almost every page on my domain. That is blog.sweetnam.eu, tech.sweetnam.eu, www.sweetnam.eu and sweetnam.eu.</p>
<p>A total of 5368 requests, in 3 hours!</p>
<p>Odd things is that none of the IPs in question were typical crawlers as each IP requested an entire page at a time.</p>
<p>Given that there is 7 IP addresses involved and they are all in sequence I would imagine that a single Verizon customer has something nasty installed.</p>
<p>Here are the IPs (which I have since blocked)</p>
<blockquote><p>65.208.151.112<br />
65.208.151.113<br />
65.208.151.114<br />
65.208.151.115<br />
65.208.151.116<br />
65.208.151.117<br />
65.208.151.118</p></blockquote>
<p>The user agent:</p>
<blockquote><p>&#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&#8221;</p></blockquote>
<p>Grep of my logs:</p>
<blockquote><p>robert@cache:/var/log/squid# cat access.log | grep 65.208.151 -c<br />
5368</p></blockquote>
<p>Whois of IP:</p>
<blockquote><p>MCI Communications Services, Inc. d/b/a Verizon Business UUNET65 (NET-65-192-0-0-1)<br />
65.192.0.0 &#8211; 65.223.255.255<br />
Kintiskton LLC UU-65-208-151-112-D1 (NET-65-208-151-112-1)<br />
65.208.151.112 &#8211; 65.208.151.119</p></blockquote>
<p>Dodgy stuff.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2009/02/25/dodgy-verizon-behaviour/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Too much LAN for one man?</title>
		<link>http://robertsweetnam.ie/2009/01/05/too-much-lan-for-one-man/</link>
		<comments>http://robertsweetnam.ie/2009/01/05/too-much-lan-for-one-man/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 16:42:26 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Boredom]]></category>
		<category><![CDATA[Curiosities]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Routers]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[WiFi]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=572</guid>
		<description><![CDATA[Over the weekend I was in conversation via e-mail with The Other Fellow. Over the course of our correspondence I mentioned my setup here at home. Later on that evening I began to realise just how ludicrous my setup has become. I have four different networks, three wireless access points, and an unearthly amount of [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend I was in conversation via e-mail with <a title="The Other Fellow" href="http://theotherfellow.com/" target="_blank">The Other Fellow</a>. Over the course of our correspondence I mentioned my setup here at home. Later on that evening I began to realise just how ludicrous my setup has become.</p>
<p>I have <em>four</em> different networks, <em>three</em> wireless access points, and an unearthly amount of machines. To give you an idea of the chaos I made up a lovely diagram which is below. (There will be a fourth wireless access point in place soon but that is for a particular plan that I&#8217;m up to. More on that sometime in the future.)</p>
<p>The Sun Sparcs and the HP-UX machine are only powered up occasionally. I use a Dell TFT monitor which is the only display in regular use. Other than that I have a 19in Mitsubishi CRT that I use only when setting up or repairing other machines. I&#8217;ve probably mentioned this before but the room is on it&#8217;s own electrical circuit which actually has it&#8217;s own meter on it and the room is currently consuming between €1.50 and €2 of electricity per day.</p>
<p>I bet you thought it might be more! Most of them are desktops and spent quite a lot of time idling away consuming between 90 and 120 watts of electricity.</p>
<p>If you look at the diagram and are wondering about the External WLAN limited to 1Mb, this is the access point and network that I use whenever I have a nasty virus and or spyware infected PC or laptop for repair.</p>
<p>Anyway, Click on the diagram for a bigger version:</p>
<p><a href="http://blog.sweetnam.eu/wp-content/uploads/2009/01/lanjan09.jpg"><img class="alignnone size-medium wp-image-573" title="lanjan09" src="http://blog.sweetnam.eu/wp-content/uploads/2009/01/lanjan09-300x243.jpg" alt="lanjan09" width="300" height="243" /></a></p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2009/01/05/too-much-lan-for-one-man/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A new trick for an old dog</title>
		<link>http://robertsweetnam.ie/2009/01/02/a-new-trick-for-an-old-dog/</link>
		<comments>http://robertsweetnam.ie/2009/01/02/a-new-trick-for-an-old-dog/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 15:09:02 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Boredom]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Nostalgia]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=565</guid>
		<description><![CDATA[I think I have finally had enough of the festive cheer. Combined with the fact I still have almost three weeks holidays left I think I have gone a bit mad. I was clearing out my computer room and came across an old PC that served me well in the past. It was a faithful [...]]]></description>
			<content:encoded><![CDATA[<p>I think I have finally had enough of the festive cheer. Combined with the fact I still have almost three weeks holidays left I think I have gone a bit mad. I was clearing out my computer room and came across an old PC that served me well in the past. It was a faithful machine who&#8217;s day had ended with a failed hard disk.</p>
<p>As it happens, while tidying up I found an old spare disk and I decided to give it a new lease of life. Again as it happens I needed another machine for a while for a particular task that this machine would be quite suited to. So now it is alive once more and is happily pushing packets across the internet.</p>
<p>I was quite pleased with the results so much so that I decided that it could run it&#8217;s very own web server.  There is just a single html page with it&#8217;s story about how an open source operating system (FreeBSD in this case) gave it a new lease of life.</p>
<p><a title="Chicken Little - The little server that could." href="http://chickenlittle.sweetnam.eu/" target="_blank">Have a look over here</a>.</p>
<p>Things must be bad when my imagination starts assigning personalities to computers!</p>
<p>The keen eyed among you may have noticed from the phpsysinfo page that it is on a different network to my other web servers. This is a clue as to it&#8217;s purpose but unfortunately I can&#8217;t divulge it&#8217;s purpose here yet!</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2009/01/02/a-new-trick-for-an-old-dog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adobe Flash is crap except for this hamster</title>
		<link>http://robertsweetnam.ie/2008/11/20/adobe-flash-is-crap-except-for-this-hamster/</link>
		<comments>http://robertsweetnam.ie/2008/11/20/adobe-flash-is-crap-except-for-this-hamster/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 00:45:21 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Curiosities]]></category>
		<category><![CDATA[Obvious]]></category>
		<category><![CDATA[Pain]]></category>
		<category><![CDATA[Pathetic]]></category>
		<category><![CDATA[Sadness]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=470</guid>
		<description><![CDATA[In the normal run of things I rank Adobe Flash as one of the most hateful creations in the history of the planet, universe or whatever. Strangely my next most hateful creation is Adobe Acrobat Reader. Coincidence? Mind you, every now and then something comes along to remind you that maybe Adobe Flash is not [...]]]></description>
			<content:encoded><![CDATA[<p>In the normal run of things I rank Adobe Flash as one of the most hateful creations in the history of the planet, universe or whatever. Strangely my next most hateful creation is Adobe Acrobat Reader. Coincidence?</p>
<p>Mind you, every now and then something comes along to remind you that maybe Adobe Flash is not so bad after all. And maybe, just maybe there is a use for it other than useless website intros and You*.com videos.</p>
<p>So here is a virtual hamster: <a title="Hamster" href="http://abowman.com/google-modules/hamster/" target="_blank">http://abowman.com/google-modules/hamster/</a></p>
<p>But just to prove that Adobe Acrobat is still hateful, the latest version of Acrobat Reader weighs in at 33.5MB. To put that into comparison <a title="Openoffice" href="http://openoffice.org" target="_blank">Open Office</a> can create the damn things and it&#8217;s free! And it is only a 142MB (JRE Bundled) download but you get an entire office suite of software! Word processor, spreadsheet and you get the idea. You get more than just something for just reading documents!</p>
<p>As if that isn&#8217;t hateful enough just consider that Open Office is considered to be among the slowest pieces of software available &#8211; yet it loads up in about 30 seconds compared to about 3 minutes for Acrobat reader on the exact same P.C! Grrr..</p>
<p>But if it is just the ability to read PDF documents that you are after then <a title="FoxIt PDF reader" href="http://foxitsoftware.com/downloads/index.php" target="_blank">FoxIt Reader</a> is free and only weighs in at 2.57MB and takes but a split second to open.</p>
<p>And it is better than having to download a 200MB update for a program that was originally 33.5MB to download.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2008/11/20/adobe-flash-is-crap-except-for-this-hamster/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Chopping and Changing and some website housekeeping and tweaking</title>
		<link>http://robertsweetnam.ie/2008/09/06/chopping-and-changing-and-some-website-housekeeping-and-tweaking/</link>
		<comments>http://robertsweetnam.ie/2008/09/06/chopping-and-changing-and-some-website-housekeeping-and-tweaking/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 20:32:11 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=395</guid>
		<description><![CDATA[As I will be off to college on Monday I won&#8217;t have anywhere near a fraction of the time that I used to for messing about with all my various servers here. I figured it would make a lot more sense to consolidate my various sites onto the one machine if at all possible. So [...]]]></description>
			<content:encoded><![CDATA[<p>As I will be <a title="Teaching an Old Dog new tricks!" href="http://blog.sweetnam.eu/2008/09/05/teaching-an-old-dog-new-tricks/" target="_blank">off to college</a> on Monday I won&#8217;t have anywhere near a fraction of the time that I used to for messing about with all my various servers here. I figured it would make a lot more sense to consolidate my various sites onto the one machine if at all possible.</p>
<p>So first up was the retirement of my IIS server on which my tech blog used to reside. I have migrated <a title="My Tech Blog" href="http://tech.sweetnam.eu/" target="_blank">that blog</a> over to WordPress and it along with this blog and my main site have been relocated on to a new Debian 64bit server which was previously the already mentioned IIS server.</p>
<p>The migration also meant that I could catch up on some tweaks that I had long been putting on the back burner. As my <a title="My Main Site" href="http://www.sweetnam.eu" target="_blank">main site</a> is running Mediawiki I have configured the new server so that Mediawiki now uses <a title="Memcached" href="http://www.danga.com/memcached/" target="_blank">memcached</a> to help speed up queries and reduce hits to the database. It has had a bit of an effect already. in keeping with the desire to reduce queries on the database I installed <a title="Donncha'a Blog" href="http://ocaoimh.ie" target="_blank">Donncha&#8217;s</a> excellent <a title="WP-SuperCache" href="http://ocaoimh.ie/wp-super-cache/" target="_blank">WP Super Cache plugin</a> on both WordPress blogs. To give an idea of the difference that made a quick benchmark was called for.</p>
<p>Using Apache Bench I made requested a blog entry 100 times over 10 concurrent connections:</p>
<blockquote><p>ab -n 100 -c 10 http://tech.sweetnam.eu/2008/06/even-intel-wont-touch-vista/</p></blockquote>
<p>Without WP Super Cache the results were 20.72 seconds to complete with 71.47kbytes/sec</p>
<p>With WP Super Cache the results were 2.287 seconds to complete and 658.38kbytes/sec</p>
<p>However there is a caveat with those results as each test first passed through my <a title="My Reverse Proxy" href="http://blog.sweetnam.eu/2007/08/18/reverse-proxy-or-how-to-make-your-setup-more-complicated/" target="_blank">reverse proxy</a> but nonetheless the results are pretty conclusive. Another configuration change that I made that may skew those results is that I have disabled Apache logging on the web server. As all traffic first passes through my reverse proxy I use its logfiles for analysis. Interestingly from another test I tried recently, disabling logging on Squid Cache had absolutely no effect on its performance!</p>
<p>With everything now happily in place on the new server it was time to shut down and power off both of my <a title="No longer brought to you by Sun Solaris" href="http://blog.sweetnam.eu/2008/04/13/me-blog-now-brought-to-you-by-sun-solaris/" target="_blank">Sun Machines</a>. They will be ressurected for anytime I wish to play with Solaris. My mailserver remains running on my Poweredge 2800 although I took the opportunity to upgrade to the latest version of <a title="Zimbra Collaboration Suite" href="http://www.zimbra.com" target="_blank">Zimbra</a> today.</p>
<p>After all todays tweaking and migrating I am now left with my Smoothwall firewall performing NAT, my reverse proxy which I decided to keep up and running as it is outstanding for <a title="Keeping the spambots at bay" href="http://blog.sweetnam.eu/2008/07/28/keeping-the-spambots-and-crawlers-at-bay/" target="_blank">filtering unwanted traffic</a>, the new web server and my existing mail server.</p>
<p>It&#8217;s probably still a tad excessive though! Next up is to change the theme for this site as I can&#8217;t configure the sidebars and the search option is strangely missing!</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2008/09/06/chopping-and-changing-and-some-website-housekeeping-and-tweaking/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>More benchmark madness</title>
		<link>http://robertsweetnam.ie/2008/08/10/more-benchmark-madness/</link>
		<comments>http://robertsweetnam.ie/2008/08/10/more-benchmark-madness/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 20:12:20 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=354</guid>
		<description><![CDATA[I&#8217;ve been on and on about using Squid as a reverse proxy that at times it must seem that I&#8217;m bordering on being completely obsessed with it. Well I suppose that is partly true. The performance boost that it can deliver is staggering and to get an idea of how well it performs look no further [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been <a title="Reverse Proxy" href="http://blog.sweetnam.eu/2007/08/18/reverse-proxy-or-how-to-make-your-setup-more-complicated/" target="_blank">on</a> and <a title="Keeping spambots and crawlers at bay using Squid" href="http://blog.sweetnam.eu/2008/07/28/keeping-the-spambots-and-crawlers-at-bay/">on</a> about using Squid as a <a title="Reverse Proxy with Squid" href="http://www.sweetnam.eu/index.php/Reverse_Proxy_with_Squid">reverse proxy</a> that at times it must seem that I&#8217;m bordering on being completely obsessed with it. Well I suppose that is partly true. The performance boost that it can deliver is staggering and to get an idea of how well it performs look no further than Wikipedia who use it extensively. They claim that Squid serves up <a title="Wikimedia Cache Strategy" href="http://meta.wikimedia.org/wiki/Cache_strategy" target="_blank">78% of all their requests</a> to their visitors which is a staggering amount in itself.</p>
<p>So why does it perform so well especially when compared to Apache running on its own?</p>
<p>The main reason is caching. When someone makes a request the proxy server checks to see if it has it locally and if it does it will serve that up directly instead of requesting it from a backend server. This of course depends on a number of factors. Primarily it will only cache static content such as images, css and javascript files as well as good old html. It will not cache dynamic content such as the contents of a blog post such as this one (although this can be done using memcached), however as it may well cache the ancilliary files associated with the page. The greater the number the times the same content is requests then the greater the chance that Squid will keep it in memoy increasing performance even more.</p>
<p>To use this post as an example, all the images, theme and javascript have more than likely been served to your browser by the proxy server, all that was requested from the web server itself was the text which has been pulled from a database using Apache and PHP.</p>
<p>So how much better does squid serve static content from its cache compared to Apache?</p>
<p>The quick answer is that it serves it staggeringly faster than Apache. For my test I used a single jpeg image that was 73KB in size. I then set up two virtual servers on my webserver and copied the image into both. I configured my internal DNS so that one of the sites would be served direct by the webserver and the other would be accessed via my reverse proxy.</p>
<p>Benchmarking was performed from a my main workstation using Apache Bench (ab). I used a concurrency of 10 and requested the image 100 times from each test site. So first up is the direct request:</p>
<blockquote><p>Concurrency Level:      10<br />
Time taken for tests:   2.621 seconds<br />
Complete requests:      100<br />
Failed requests:        0<br />
Write errors:           0<br />
Total transferred:      7510044 bytes<br />
HTML transferred:       7465900 bytes<br />
Requests per second:    38.16 [#/sec] (mean)<br />
Time per request:       262.082 [ms] (mean)<br />
Time per request:       26.208 [ms] (mean, across all concurrent requests)<br />
Transfer rate:          2798.37 [Kbytes/sec] received</p></blockquote>
<p>That&#8217;s not too bad but here are the results when served by the reverse proxy:</p>
<blockquote><p>Concurrency Level:      10<br />
Time taken for tests:   0.640 seconds<br />
Complete requests:      100<br />
Failed requests:        0<br />
Write errors:           0<br />
Total transferred:      7510100 bytes<br />
HTML transferred:       7465900 bytes<br />
Requests per second:    156.35 [#/sec] (mean)<br />
Time per request:       63.960 [ms] (mean)<br />
Time per request:       6.396 [ms] (mean, across all concurrent requests)<br />
Transfer rate:          11466.60 [Kbytes/sec] received</p></blockquote>
<p>It performed twice as fast when passed through the proxy server which is phenomenal!</p>
<p>However some of this performance could be attributed to differences in hardware. The webserver is a Sun 900Mhz UltraSPARC III and the reverse proxy a 3Ghz P4 but nonetheless it does demonstrate that the reverse proxy greatly accelerates performance when serving static content.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2008/08/10/more-benchmark-madness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping the spambots and crawlers at bay</title>
		<link>http://robertsweetnam.ie/2008/07/28/keeping-the-spambots-and-crawlers-at-bay/</link>
		<comments>http://robertsweetnam.ie/2008/07/28/keeping-the-spambots-and-crawlers-at-bay/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 00:55:01 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=329</guid>
		<description><![CDATA[Some of you may be aware of the setup that I have here at home that dishes this blog and several other sites out onto the world wild web. I have probably an overly complicated setup in which I have no less than 3 backend servers with a Squid Proxy server acting as the front [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you may be aware of the setup that I have here at home that dishes this blog and several other sites out onto the world wild web. I have probably an overly complicated setup in which I have no less than 3 backend servers with a Squid Proxy server acting as the front end. While this may seem convoluted it does have some major advantages.</p>
<p>As all of you know, running a blog or any site can have it&#8217;s problems and almost all these problems are dealing with deluges of spam and trying to block unwanted crawlers siphoning information from your site. There are many excellent methods to reduce this unwanted traffic namely Akismet or Fail2ban however given the nature of my setup here Akismet is not as effective as it should be and fail2ban is not an option but this is where Squid comes into its own.</p>
<p>Squid is utterly configurable with so many options that you could find yourself easily overwhelmed. But there is one particular feature that is absolutely stellar in allowing me to control who and what accesses my sites. That feature is using Squid&#8217;s built in ability to use regular expressions to deny access based on a visitor or bots browser string. Apache can perform similar functionality <a title="Donncha's mod_rewrite tips" href="http://ocaoimh.ie/2007/10/10/keep-the-libwww-perl-bad-guys-out/">using mod_rewrite</a> but I find that having Squid to do the dirty work is a much more elegant solution as it flately denies access to the backend servers in the first place.</p>
<p>So how does one go about doing this? Well you can <a title="Blocking Bots with Squid" href="http://www.sweetnam.eu/index.php/Blocking_Bots_with_Squid" target="_blank">pop on over to my Wiki</a> where I have put together a HowTo which also has the regular expressions that are used to block all the bad browsers.</p>
<p>Needless to say my setup is vastly different than most but nontheless my HowTo could possibly help others in tweaking their methods of keeping the bad guys at bay.</p>
<p>If anyone finds it useful or spots something that could be improved I would be happy to hear from you.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2008/07/28/keeping-the-spambots-and-crawlers-at-bay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

