Archive for the ‘Computers’ Category

Gigabit Switch

Thursday, February 7th, 2008

Over the years, i have had pleanty of trouble with 8 port switches, With plenty of traffic going through such switches while analyzing database data on multiple computers, i have always had problems with them overheating and then the process halts, and it is easier to do it all over again than to rewrite the software and teach it how to resume, the answers have always been simple, Get an aluminum (Or if you are lucky to find a brass (zinc and copper)) heat sink, you would simply get some thermal epoxy, unmount the existing heat sink and fix your larger heatsink on the heating processor (the switche’s processor) and voila, problem gone.

Yesterday i got a D-Link DGS-1008D 8 port, Thinking that D-Link would actually put a decent heatsink on a switch, i plugged it in… then not very surprised, the thing overheated (And it is not even summer yet).

No problem, found a nice piece of aluminum from a hard disk enclosure, Cut it to an appropriate size, bent it a couple of times, and unscrewed the switch casing, Surprise, no heat sink at all (Surely this should mean they did not expect the processor to heat up so much), so i got my beloved thermal epoxy and fixed my new heat sink on the relativly large processor (As big as the die from an intel dual core processor), reassembled the casing, and put it back on the network.

A few hours later i went to see what it was doing, there was no network load, NONE, and to my surprise, the casing was very warm VERY, i unscrewed the case and the new heat sink is so hot it is annoying to keep your thumb on it (Thumb feels least).

So whats the story D-Link, am i missing something ? I got my handly little battery operated drill, and punched some holes above the heatsink, but the damn thing back on the network, i will go and check on it now (5 Hours later)…

The thing is very hot, i took off my heatsink and went to get a proper one, i though this was an overkill for something D-Link did not bother cooling !

Anyway, i will come back and finish this post, along with pictures of everything as soon as i find the time to install a new heatsink.

Reatarting a remote Windows Vista Computer

Thursday, January 24th, 2008

On linux, i use software KVM (When on LAN and no need for SSH), on windows, nothing but the good old remote desktop, and with vista, i like it better since Micro$oft claims there is more security in it now, No time to validate there claims, especially when they release proprietary software.

So, i wrote this application once that whenever you click on it, it asks you if you want to restart the computer you click, it restarts, I wrote it mainly because Windows Vista’s task manager did not allow me to restart the computer like XP did (On XP, Click the taskbar, go for task manager, then you will find the option to restart the computer from the menu there), On Vista on the other hand it was not there.

So today i found out that there is another way, Just as convenient.

Since the local computer will catch the CTRL+ALT+DEL, you can not restart the remote machine by clicking that combination, Now i know there is another combination to open that lovely blue screen on the remote machine, CTRL+ALT+END (End is usually beside Delete), and voila, there is that little red thing in the lower right corner where you can click the arrow and restart your remote machine)

Have Fun

Microsoft complete system backup

Sunday, January 6th, 2008

So, Again, Just when i want to write a thank you to Microsoft, they insist on making something so annoying that you just have to write something against them, I have never been a big fan of there products, Lazy is what i think they are, if i sold a copy of my software to everyone on earth, i would surely employ more programmers for that product.

Anyway, There is a new distro of Linux you might like with eye as good as Vista’s eye candy, and perfect for so many uses that it can server as a free replacement that i think is even superior to the all paid Windows, UBUNTU Linux, especially 7.10 is real cool, Anyway back to my problems with the all mighty Vista backup tool

I was really looking forward to using there backup and restore tool, So, as you can imagine, i started by backing up my computer, To both 2 DVDs and a different Hard disk drive.

Now, to restore, i got a different hard drive, installed it on that same computer, Popped in the windows installation DVD, went through the repair process until i got to the complete system restore window, popped in the last DVD (DVD 2/2) into the drive, and voila, i am restoring, Oh wait, Not another error message, what’s wrong this time Windows.

Windows Complete PC Restore operation failed.

Error details: There are too few disks on this computer or one or more of the disks is too small. Add or change disks so they match the disks in the backup and try the restore again. (0×80042401)

Nice, what’s that all about

After investigating the issue, it seems we need to have the same number of Disks (And that is accurate, not same number of partitions, same number of DISKS), Hooked in the same exact way, having the same or larger size than the one that was backed up.

Sure, for (the dynamically expanding VHD they borrowed from there Virtual machine software(s)) maps a hard disk and acts as if it was full sized etc, etc, But MS could have written software to shrink the (Disk Size) of the Virtual Hard drive, and i am not talking about the one that compacts the data, nor am i talking about the one like in VMware that defrags a virtual disk.

A small app, probably with allot of reuse code from MS Virtual PC, that takes a hard drive VHD image, reads the actual data, and dumps it into a new drive, one that you might have created using MS Virtual PC.

Some of you will post replies to this saying, the backup info is in the XML files, but trust me, before you modify the XML files you need to modify the VHD file !

Anyway, at the minute i will try Acronis True Image 11 and let you know what happens, there is always some developer (Or Team) out there that has the software for the Job .

Solid State or RAID0 ?

Friday, December 28th, 2007

Many people come to me asking if they should go with Solid State hard drives, or a RAID 0 Config, i usually answer “RAID”, But that is not exactly how you can make such a decision.

Raid adapters are one factor, the slowest disk in your RAID set is another, Memory on the adapter (Caching) is a big deal.

Let me start with the simpler stuff for sometimes you just want a 1 word answer.

1- Raid: Much much better for Large Files, in fact (Oops, there goes the one word answer) a single hard drive is faster than Solid state for large files.

2- Solid State (Flash Drives) for Random access is (SOMETIMES) faster, but if you have a really good RAID controller with lets say 128MB on it, Raid.

Raid Arithmetic can be done either by the controller or your computer’s CPU, Surely by the controller is better, but if you have a powerful CPU, and the Job requires more transfer than CPU, the justification of cost can only be done in very serious computing environments. The CPU load comes from the Driver that does all the math.

Now more reasons to go RAID

1- Cost/GB: Flash disks are not only expensive, Do the math (Hint: Cost/Size = Cost per Gigabit).

2- Flexibility: You can make it fast, fast and Big (Usually the same depending on your controller), Fast and Safe, Safe, Etc…

3- Other Uses: Once you find out you did not need this much bandwidth from your hard drive, You can take the raid set apart and have more hard drives (Unless your RAID controller already supports JBOD (Just A Bunch Of Disks), You can also use your hard drives in enclosures or as nas storage or even take them apart and see what you could have seen for free on the internet.

4- Buffer, NCQ, a nice feature not applicable to Solid State, RAM is faster than Flash memory, and for some tasks, when you write the data and read it soon afterwards, the disk can be very fast. When you are writing small amounts of data, they can go into the ram, and the disk will migrate them to the plates at it’s earliest convenience, NCQ is a great feature that i don’t want to get into right now because i have to get back to work.

5- SATA II: Having SATA2 on a solid state (Flash) hard drive makes no sense, No RAM is inside, and the top speed is less than 1.5Gb/s, while in the hard disk, you can make use of the doubled speed especially when you are writing to the buffer (Or reading from the buffer)

6- The more the merrier, add disks (Will sometimes require a better controller), Add disks and make it faster (NOTE: When you add disks, you need to take out your data, make a larger array then copy it back on) so you need somewhere to copy to

Downside or RAID

1- Shock tolerance is low, especially when the disks are spinning
2- Power, they consume more power, but you should not be very concerned to tell you the truth, everyone is taking about hard disk power consumption like it was a big deal, let me tell you something, your idle processor consumes much more power, Your graphics card probably consumes triple the power, and i won’t be telling you what a busy CPU can feed on.
3- Noise: They can be very noisy, depending on the Brand and enclosure (The enclosure can be your computer case)
4- Vibration : They sometimes interfere with each other’s functionality (When vibrating the lens can sometimes miss destination), not to mention the annoyance of the vibration in the first place (Especially when it causes more noise from your computer case.

5- If you are using RAID0, one disk decides to take an unscheduled nap, all your data is lost, so you will need to have a disk as big as the RAID striped set for backup, Using a level of mirroring can mess up your write performance.

So, here i guess you can tell, Raid is better for MOST purposes, Solid state, the expensive alternative for missions where seek time is important. But don’t expect something much faster than RAID, Not if you have a good controller anyway

NOTE: Solid state drives are better on Laptops, the physical size of a laptop does not allow for Raid Setup, and is expected to get shock every once in a while, I personally use an eSATA expresscard adapter to connect to a 5 disk enclosure, but that does not do me much good when on the go.

Notes for me: When you come back for editing, tell them about SCSI VS SATA Raid, also about what adapters exist, and what adapters not to use, What do you need to get efficiency, how come Antivirus software has anything to do with this, etc…