A Site by Jaysam Thanki, Web Architect

Firewire is Slow

December 7th, 2009

This past weekend, i went out to look for a Firewire enclosure for my Mac Mini so that i can expand on my storage a bit for all the photo’s I take. I like to keep at least 2 if not 3 copies of all of my pictures.

At my local Frys, I picked up an Acomdata 3.5″ enclosure which sported USB2.0 and Firewire interfaces, for only $39.99. A bit steep, but i wanted something to test with. After getting home, and plugging in a 500gb Seagate ST3500630AS drive (got one back from Seagate after a previous one failed), i did some quick testing.

On Windows, using MTIReadWrite, i was able to see about 20mbytes sustained read/write over a 2gb file. I found that to be dreadful. So i went up to the Mac Mini, and tried something similar. Using the command

dd if=/dev/zero of=test bs=16k count=64k

I averaged 28mbytes/sec over a few runs. A bit better, but still dreadful. USB can match that easily (although i didn’t actually test USB on this device, but form past experience, 30mbytes/sec is the max i’ve ever gotten from a USB interface to a disk). Doing some math, Firewire is 400mbits/sec which is equal to 47.68mbytes a sec raw throughput at 400mbits. So, expecting anything more than 47mbytes/sec is madness. I didn’t try a Firewire 800 device since the Mac Mini only has Firewire400m, and so does my PC.

So, Firewire is slow in today’s market. It was a heck of a lot a faster than a DNS-321 from DLINK that i tried in the same weekend, that thing was REALLY slow, only 18mbytes/sec throughput – on gige with jumbo frames. Useless.

The only cool thing about Firewire, is that you can daisy chain them. Although, i daisy chained two together on my Mac Mini, and it  dropped read and write speeds down to 17mbytes/sec each – when simultaneously reading or writing from both Firewire drives.

If you’re looking for fast external storage, i think eSata is the only way to go at this point. Pity we can’t daisy chain them together.

Windows7 LSASS crashing system

November 9th, 2009

Microsoft’s Windows 7 packs a lot of power, performance and stability – for the vast majority of us. Unfortunately, one glitch left me tearing my hair out from this virtually perfect operating system. It appears that in a particular environment, Windows 7 Ultimate x64 will crash and burn all the time for no apparent reason. Luckily, David Weisz has found the problem, and given a reason and a solution to the problem.

Let me explain the scenario where this occurs. I have a Asus M50V laptop, a stellar laptop for business and gaming use. It has 4gb’s of RAM, and it’s my daily workstation for practically everything. Since I’m an IT professional, i run and operate my own Windows Domain within my enterprise, along with Exchange and all the other goodies – mainly as a showpiece of what a good network deployment can do for a customer. Hence, my laptop is joined to a Windows 2003 AD, just like all my other previous laptops and workstations and operating systems.

After installing Windows 7, it appeared that there may have been a glitch with the firmware on the motherboard and Power management, as 7/10 times, when i’d resume my laptop from a sleep state, and after logging in – i’d get the LSASS crash and the usual “Critical error, system will reboot in one minute” message, making me scramble to clsoe all my documents.

However, it appears that it is a small environmental issue with the types of Domain controllers i have, and authentication of such. Hence David Weisz’s solution works. The fix is a simple registry change so that the LSA service authenticates to Windows Servers, pretending to be of Windows Server compatibility. That change is

Key:   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters
Type:   REG_DWORD
Name:   DefaultEncryptionType
Data:    23 (decimal) or 0×17 (hexadecimal)

And bingo, no more crashed, and now i can resume my dance of saying Windows 7 is pretty much perfect in every way.

My advice for Windows 7

October 27th, 2009

To put it simply, it is my opinion that everyone should eventually be using Windows 7 as it is a remarkable operating system with little issues. I’ve been using Windows 7 since January 2009, and have had very few issues, if any at all during that time. I should also add that I have been using Windows Vista since late 2006, and am coming from using Windows Vista for a long time on a laptop that was designed for Windows XP.

Here is a simple guide that you can follow that should tell you in a nutshell what you should do

IF

You are running Windows Vista now – Windows 7 is recommended to you.

You are running Windows XP or Windows 2000 – Windows 7 can be considered after a consultation.

You are looking to buy a new computer – Make sure it comes preloaded with Windows 7. If you are a business customer, and have a server, make sure the computer comes with Windows 7 Professional or Ultimate

How to install

In all cases, I do not recommend a Windows 7 upgrade. It is always in my interest to keep customers and the public in a safe environment, and because of my belief in this – I only recommend a clean install of windows 7, and not an upgrade.

To install Windows 7, backup all of your data to an external device – and then install windows7 by formatting the computer (select a custom install and delete partitions and install to the un partitioned area)

Once installed, reinstall your office applications and other applications and restore your data back to you’re my documents / favorites.

How to buy Windows 7

Windows 7 comes in a variety of editions. Since you already own Windows, you should look for the upgrade packages only. You do not need to buy the full version to do a clean install of windows. If you are unsure which edition to get, please contact me.

I’m on Windows XP, what do I do?

If you are on Windows XP, then there is no rush to move to Windows7. We should make sure that all of your existing applications can run in Windows 7, before making the plunge into Windows 7. Like Vista, windows7 runs in a different way to Windows XP leaving a lot of applications and devices unusable on Windows7 without updates or upgrades. Some devices such as old scanners will not work in Windows7 at all.

If you are running on a relatively new computer (newer than 2005) and have atleast 1gb of RAM, then running Windows7 should be fine – but perform a clean install as described above.

If you have one of the newer Netbooks (the ultra portable computers with 10inch screens) then running Windows7 should not be a problem, as long as you have enough disk space to install Windows 7 and 1gb of RAM.

If you are unsure, do not install Windows 7, and contact me instead.

USA and Bob Bradley

June 15th, 2009

The first game ended today as a 3-1 loss to the world champions Italy, and it was a good game for the most part. Scrappy, stop and go football with the possession changing frequently as both teams went head on with tackles. However, it was a loss to the US. It was expected to be a loss, as the Italian squad had rebuilt since the debacle at Euro 2008, they brought back the world cup winning coach and got a few new faces that are pretty good, including an American.

But that’s not why I’m writing all this. I’m writing all this because I’m a bit upset with Bob Bradley as the coach for our team, and I’m a bit upset with one of the players on the squad as well. I don’t think we’ll do well at all in any major tournament without some real talent in coaching.

The US has been playing pretty well for quiet a while, and its gotten pretty solid at scraping out results, against good teams and bad team, home and away. It’s also gotten pretty good at wiping the floor with rubbish opposition. It’s been like this for a very long time, probably all the way since 1998 when Bruce Arena took over. He was able to stabilize the team after the 1998 debacle, and get some winning form to the nation’s team. However, there’s always been one thing lacking. That one thing is Style.

The US has no style of play. It’s all individuals that work their magic, and sometimes it works and we get a decent goal. But it’s never the same kind of goal over and over, or a well worked goal.

Sure, that might be because the strikers in the country are no good, but I’m not quiet certain that’s what the problem is. We have good strikers now, they can score from anywhere. But because we don’t have a style of play, it gets lost, and only found in the players individual flares.

What I’m really looking for is a stand out style of play. Lets take for example a team that we all know has a style. Arsenal. Arsene Wenger has stamped his authority on the team with a special kind of progressive attacking style that the team never sways away from, no matter what the score is, no matter what the condition is. When you turn the telly on, and you see Arsenal playing, you know you’re going to see high possession – high speed – high passing games, and generally, a lot of goals (for or against doesn’t matter). Barcelona plays in a similar style too. Germany plays a distinctive style as well with pin point passing as its signature.

So why cant the US have a style? Better yet, why not adopt on of these styles? Is it too difficult to do, is it so special that only Guardiola, Wenger, Loewe, Beckanbaur or Klinsmann know? If so, fine i accept that these coaches have special ingredients. But guess what, some of these coaches are available, including one that lives 15mins from the USMNT’s base camp.

No more excuses, i want a style for the team, and i want it now before the 2010 world cup.

This means that Bob has to go. He’s a good coach, for scraping out the wins. But for a country that’s do dominant in CONCACAF, i’m expecting the team to blow out rubbish opposition with lots of goals, not just 1-0’s and 2-0’s and 3-0’s. Some of the opposition we play in CONCACAF are comprised of part time players, that aren’t even considered professional. Surely we’re good enough to get 6 goals against them, right ? I think its because we have no technical direction. Arsenal would wipe the floor with some of the CONCACAF nations, with its reserve team.

As for the team itself, i think its more or less fine. The backline is decent, its good enough given the talent pool. The midfield is also alright given the talent pool. We’re weak up top, but almost every other country is weak up top (no, i don’t include Spain or Brazil in that list of “other countries”).

What i do think, is that Landon Donavon is done. He’s had more than a 100 games to be a leader, and he’s just not up to it. Sure’ he’s a great player when playing for games that don’t matter, or a game vs Mexico on home turf. But beyond that, he’s useless for the USMNT now and he needs to be dropped ASAP. It’s dragging the team down trying to find a spot for him. Just like how Aragones dropped Raul for Spain in 2008, USSF as a whole, has to drop Donovan to progress. I also think that FIFA should put a cap on international caps for a player. I think that number should be 100. Play for the country 100 times, and you’re done. No more. Do not pass go.

No more Landon please. Thank you

Thats it.

Done.

NTBackup on Windows Server 2003 x64 and SQL Server 2000

May 13th, 2009

Just came across this gem of a KB from Microsoft, which happens to be pretty recent as well. I had a customer with a x64 Win2k3 installation where NTBackup would just not run. It hung on Preparing the Volume Shadow Service, and never did and simply died. This KB outlines the exact issue and fixes it. Not sure if the patch is needed, but it could just be that the Registry key is needed.

http://support.microsoft.com/kb/913360

Pre-authentication Failed Message in Event Log

May 11th, 2009

You may come across an entry in your event log’s on your domain controllers that reads something like this:

2009-05-11 11:23:13 Local0 Critical

Pre-authentication failed:

User Name: TNLT1$

User ID: %{S-1-5-21-343818398-813497703-839522115-3620}

Service Name: krbtgt/techienetworks.com

Pre-Authentication Type: 0×0

Failure Code: 0×19

Client Address: 10.X.X.X

 

This appears to be common to all newer Windows operating systems that are Vista and above (including Windows 2008 Server). This from what i understand, is related to UAC and the need to do some kind of “pre authentication”. Never the less, there is a fix for this.

You will need to install the ADSI Editor on your domain controller. Once you have that installed, open up MMC (start -> run -> mmc) and add in the snap-in called “ADSI Edit”

Once you have it added to your MMC, right click on ADSI Edit, and click “Connect” and click “OK” to connect to your domain. You will then need to drill down into DC=<DOMAIN,DC=com, CN=Computers.

Here you’ll find a list of all the workstations, and servers joined to your domain. Look for the machine giving you the event log message, and right click, go to properties.

Within the attributes section, look for “userAccountControl”, and check the value. If the value is below 4194304, then simply add 4194304 to the value. For example, if the value is listed as 4096, then make it 4198400.

That’s it.

Kieran Gibbs, its ok.

May 5th, 2009

Dear Kieran,

I watched with great anticipation today, to see Arsenal go through to the final with two splendid goals. However, it all got upended because you slipped in the 8th minute, and J.S Park notched in a goal.

I am writing this letter to say that its ok, nobody (especially me) blames you, and you are the 2nd best left back in the Premier League, after Clichy.

Yes, what i’m saying is that its not your fault. Even Clichy could have slipped. It was just not meant to be. In fact, J.S Park should have missed it, but sadly he didn’t.

I can tell that you must have been heart broken as you didn’t make it out the tunnel for the second half.

You should cherish the fact that you took C. Ronaldo to the cleaners in the first leg, and use that to build your skills upon, and be the next best left back in the world I support you on this.

Here is a reminder.

Thank you for your efforts, and continue the hard work.

Hook’s Banana Muffin Recipe

April 9th, 2009

Note to myself about this easy to make muffin recipe

Ingredients
1 Cup Sugar
1 Stick Butter (Room Temp)
4 Small OR 3 Large Banana’s
1 Egg
1/4 tsp salt
1/4 tsp baking soda
1/2 tsp nutmeg
1 Cup flour

Method
Start oven at 350F
Cream together the sugar and butter
Mash the bananas, but not completely. Leave it lumpy
Add the banana’s to the mixture
Integrate the flour into the cream mixture slowly and don’t over mix.
Pour the mixture into muffin tray, and bake for 20-25 minutes, or until golden brown.

How to disable Windows Firewall on Server Core 2008

November 22nd, 2008

A Quick note, mainly to myself about how to disable the Windows firewall on Server 2008 Core

netsh firewall set opmode mode=disable

TNWinLog v1.0 Released

September 2nd, 2008

Techie Networks is proud to announce the release of TNWinLog, a syslog agent for Windows servers. This free utility can be found here and attaches to your server’s event logs and forwards any new entries to a syslog server, such as Kiwi Syslog.

TNWinLog is free to use by anyone.