Atomic I/O letters column #122

Originally published 2011, in Atomic: Maximum Power Computing
Reprinted here October 18, 2011
Last modified 16-Jan-2015.
 

Mega Bloks may cause parity errors

Is it bad to make computer hardware out of Lego?

I don't mean CPUs, I mean cases and drive-holders and such. I've seen some fancy all-Lego cases on the Web, but all I really want to do, to start with at least, is make a sort of semi-permanent case for a hard drive plugged into a USB-to-SATA adapter. I've got a big tub of Lego from when I was a kid, and mechanically at least it seems really suitable for the job. You can make pretty precise shapes with it, and it looks better than just sitting drives on the table with cardboard between them or something.

The only problems I can think of are static damage and radio-frequency noise. Are these deal-breakers by themselves, or is there something else terrible about this idea?

Cameron

Lego spacemen doing all the work
Those big guys never were any use for anything.

Answer:
All-plastic computer enclosures of any kind are illegal to sell in many countries, because they do indeed fail RF-interference tests. It's legal to make your own plastic case, though, and several companies have sold plastic PC cases to customers who may, or may not, then go on to install components in them. Who can say?

(See also the complicated devices offered in many tobacconists, for the smoking of tobacco or "herbs".)

Realistically, this is seldom a problem. RF noise from PC components is unlikely to be powerful enough to do anything beyond fuzz up AM radio reception within spitting distance.

The RF noise gets out because plastic is non-conductive and can't be earthed, which is also why it accumulates static electricity. That's more likely to be the real problem you'll face. An undetectably small static spark can damage computer hardware, and any anonymous piece of plastic can build up such a charge just by sitting in a dry breeze.

Being realistic again, though, I wouldn't worry much about this either. Static charge on your own body is the usual cause of hardware-zapping, and you can get rid of that tolerably well by just touching metal at the same potential as the hardware before you touch the hardware. For working on computers, that means touching the chassis metal somewhere; for drives by themselves, the metal plate on top of the drive is connected to the ground pins on the power connector. Even if you're running a drive from the ungrounded plugpack of a USB connection kit, touching the metal on top will still bring you to the same potential as the drive.

So feel free to follow in the footsteps of Google and build computer components out of Lego. And cases, of course, are only the beginning!

 

Seagate vs WD vs Hitachi vs Samsung vs Ford vs Holden

This will sound like a stupid question, but which brand are the best hard drives?

I'm mainly asking about reliability. I don't care if Photoshop takes 5 more seconds to load, but I really do care about drives dying. Surely you (by which I mean you, Dan, and also Atomic in general) have been playing with PC drives for long enough to get a general idea? Is there any real reliability trend between manufacturers?

Anthony

Answer:
It's generally impossible to tell how reliable most computer components are, until it's too late.

There are some exceptions to this rule. The high failure rate of Xbox 360s, for instance, or IBM's legendary "Deathstar" Deskstar hard drives, from when 100Gb was a lot of disk space. Usually, though, you can't get a reasonable idea about computer-part reliability until long after the parts are obsolete.

Statistics that're too late to save you from buying, say, those G84 and G86 8000-series Nvidia GPUs that had dodgy underfill in the chip package, could still be useful if they painted the picture you're looking for. If, say, Nvidia GPUs seemed consistently less reliable than ATI/AMD ones, or if Seagate drives seemed better than Samsungs. But there's no consistent picture there, either. Technology changes so fast that IBM's run of lousy hard drives had no effect on the reliability of their (now Hitachi, soon to be Western Digital) descendants, and all of those red-ringed Xbox 360s very probably say nothing at all about the reliability of the next Microsoft console.

All sorts of technological objects have "Mean Time Between Failures" numbers; hard-drive MTBFs are often outrageously high, in the hundreds of thousands of hours. Those numbers are made by testing, say, 1000 drives for a thousand hours; if two of them die over that period, then the simplest kind of MTBF calculation says the MTBF should be 500,000 hours, about 57 years. In reality, it's unlikely that any of the drives will live for more than ten years, even if they're not running all day, every day.

(SSDs have even higher MTBFs than moving-parts drives, by the way. Long-term use of memory cards and industrial Flash-RAM devices tells us that SSDs ought to last substantially longer than hard drives, in most applications, but real-world numbers haven't been nearly that good, though many people don't care. In any case, you definitely shouldn't expect any SSD to actually work for the two million hours listed as MTBF on the spec sheet; that's 228 years.)

All this doesn't stop people forming strong opinions about particular brands. If someone's had two Western Digital drives fail in a row, or two Samsungs, or two Seagates, they'll often now swear by whatever brand hasn't yet treated them so badly. In these cases I recommend the prompt administration of Darrell Huff's classic slim volume, "How To Lie With Statistics". It applies as well to hard drives in 2011 as it did to tooth-powder ads in 1954.

 

WholeInternet.zip: 2.1kb

I have not laughed so hard in a long while as when I just read the first paragraph of section 9.1 of the comp.compression FAQ.

Especially when I hit "applicable recursively".

The things some folks can convince themselves of...

Only later did I note in the preface of the page:

"This topic has generated and is still generating the greatest volume of news in the history of comp.compression."

Rocky

Answer:
Yeah, I love that stuff. Compression programs that can always make any data smaller are to mathematicians and computer scientists as perpetual-motion machines are to physicists.

The best part is that the theory that makes clear that this is impossible, called the "pigeonhole principle", can be explained even to people (like me...) who have no knowledge of advanced mathematics at all. Only if someone's really determined to say "you know, science doesn't know everything, FTL and antigravity could be possible, and so could fitting 100 things in 99 pigeonholes without any pigeonhole having more than one thing in it" will they then be fooled by any of the endless series of bogus magical data-squishers.

Often, the people who write such programs are just cranks. When a dedicated scam artist goes at it, the results can be much more impressive. "Infima" was pretty awesome; just a bunch of other people's compression programs stuck nose to tail, plus a dodge to make sure decompressed files tested as bit-identical to the originals, because the software overwrote the originals with a copies of the compressed versions when the hapless user wasn't looking!

 

USB angle grinders! USB plasma TVs!

Those USB drink warmer things didn't work, because USB can only deliver 2.5 watts. Now we've got USB 3, though, and apparently that can deliver more power. So will it now be practical to have USB soldering irons and USB toaster ovens?

Harry

Answer:

Officially, as you say, USB versions 1 and 2 can supply no more than half an amp (500 milliamps) at five volts from a powered port (a "root port" on a controller, or a port on a powered hub). And, again officially, USB 3.0 can indeed deliver more juice.

But nothing is simple.

A "Battery Charging Specification", separate from USB 3, was added to the USB spec in 2009. A powered USB port meeting this spec should be able to deliver as much as 1.5 amps in the two USB 1 speed modes, and if there's no data transfer at all, there's no ceiling current beyond the carrying capacity of the connectors. Normal USB A connectors are only specced for 1.5 amps, but manufacturers are allowed to use beefier ones if they like.

(Remember that current actually delivered into a given load depends on the load's resistance; this is why you can grab the terminals of a car battery without being vaporised by hundreds of amps. Little LED fan doohickeys and awful $4 electric razors will work the same from a "high power" USB socket as they did from a normal one.)

You still shouldn't expect to be able to, say, run a forty-watt laptop from 5V USB power; even with zero loss that'd be eight amps, which'll make USB-cable conductors rather toasty. I could see a netbook running from nothing but USB power, though. And you actually can already buy a USB soldering iron, which runs from one of those double-headed Y cables that suck power from two USB ports, and may actually work, sorta. Proper soldering pencils with power draw under 20 watts are mainstream products, so beefier USB could probably run one of those OK, too.

All of this specification discussion is of limited relevance, though, because ugly things happen when specifications meet the real world.

Take the abovementioned double-headed USB power cables, for instance, which are commonly used to run little external drives that won't quite spin up from 2.5 watts. The official USB spec doesn't allow those. Heck, it doesn't even allow extension cables.

There are a bunch of USB 1 and 2 specifications - minimum device voltage requirements, cable length and type restrictions - that are interpreted very loosely indeed by a lot of manufacturers. Some USB controllers can provide more power than they're meant to, some USB devices are touchier about technically-OK supply voltage and cable lengths, et cetera. If I were you, I wouldn't expect USB 3 to bring better compliance with the rules, especially by manufacturers of dirt-cheap USB peripherals.

I wouldn't be at all surprised if, to achieve maximum USB compatibility, a normal computer two years from now will need its motherboard USB 3-point-whatever-we're-up-to-by-then controller, plus an add-on USB 3.0 card, and an add-on USB 1/2 card. Since add-on USB 3 cards are already cheap and USB 2 cards are now practically free, this isn't likely to be a major problem unless your teeny computer or laptop in the year 2013 has nowhere for you to plug more cards into it.

You can be pretty confident that any USB 3 controller will be able to deliver the 900mA per port that's in the USB 3.0 spec. That's only 4.5 watts, but it's better than 2.5W.

 

Other letters columns

I/O #1
I/O #2
I/O #3
I/O #4
I/O #5
I/O #6
I/O #7
I/O #8
I/O #9
I/O #10
I/O #11
I/O #12
I/O #13
I/O #14
I/O #15
I/O #16
I/O #17
I/O #18
I/O #19
I/O #20
I/O #21
I/O #22
I/O #23
I/O #24
I/O #25
I/O #26
I/O #27
I/O #28
I/O #29
I/O #30
I/O #31
I/O #32
I/O #33
I/O #34
I/O #35
I/O #36
I/O #37
I/O #38
I/O #39
I/O #40
I/O #41
I/O #42
I/O #43
I/O #44
I/O #45
I/O #46
I/O #47
I/O #48
I/O #49
I/O #50
I/O #51
I/O #52
I/O #53
I/O #54
I/O #55
I/O #56
I/O #57
I/O #58
I/O #59
I/O #60
I/O #61
I/O #62
I/O #63
I/O #64
I/O #65
I/O #66
I/O #67
I/O #68
I/O #69
I/O #70
I/O #71
I/O #72
I/O #73
I/O #74
I/O #75
I/O #76
I/O #77
I/O #78
I/O #79
I/O #80
I/O #81
I/O #82
I/O #83
I/O #84
I/O #85
I/O #86
I/O #87
I/O #88
I/O #89
I/O #90
I/O #91
I/O #92
I/O #93
I/O #94
I/O #95
I/O #96
I/O #97
I/O #98
I/O #99
I/O #100
I/O #101
I/O #102
I/O #103
I/O #104
I/O #105
I/O #106
I/O #107
I/O #108
I/O #109
I/O #109
I/O #110
I/O #111
I/O #112
I/O #113
I/O #114
I/O #115
I/O #116
I/O #117
I/O #118
I/O #119
I/O #120
I/O #121
I/O #122
I/O #123
I/O #124
I/O #125
I/O #126
I/O #127
I/O #128
I/O #129
I/O #130
I/O #131
I/O #132
I/O #133
I/O #134
I/O #135
I/O #136
I/O #137
I/O #138
I/O #139
I/O #140
I/O #141
I/O #142
I/O #143
I/O #144
I/O #145
I/O #146
I/O #147
I/O #148
I/O #149
I/O #150
I/O #151
I/O #152
I/O #153
I/O #154
I/O #155
I/O #156
I/O #157
I/O #158
I/O #159
I/O #160
I/O #161
I/O #162
I/O #163
I/O #164
Dan's Data letters #1
Dan's Data letters #2
Dan's Data letters #3
Dan's Data letters #4
Dan's Data letters #5
Dan's Data letters #6
Dan's Data letters #7
Dan's Data letters #8
Dan's Data letters #9
Dan's Data letters #10
Dan's Data letters #11
Dan's Data letters #12
Dan's Data letters #13
Dan's Data letters #14
Dan's Data letters #15
Dan's Data letters #16
Dan's Data letters #17
Dan's Data letters #18
Dan's Data letters #19
Dan's Data letters #20
Dan's Data letters #21
Dan's Data letters #22
Dan's Data letters #23
Dan's Data letters #24
Dan's Data letters #25
Dan's Data letters #26
Dan's Data letters #27
Dan's Data letters #28
Dan's Data letters #29
Dan's Data letters #30
Dan's Data letters #31
Dan's Data letters #32
Dan's Data letters #33
Dan's Data letters #34
Dan's Data letters #35
Dan's Data letters #36
Dan's Data letters #37
Dan's Data letters #38
Dan's Data letters #39
Dan's Data letters #40
Dan's Data letters #41
Dan's Data letters #42
Dan's Data letters #43
Dan's Data letters #44
Dan's Data letters #45
Dan's Data letters #46
Dan's Data letters #47
Dan's Data letters #48
Dan's Data letters #49
Dan's Data letters #50
Dan's Data letters #51
Dan's Data letters #52
Dan's Data letters #53
Dan's Data letters #54
Dan's Data letters #55
Dan's Data letters #56
Dan's Data letters #57
Dan's Data letters #58
Dan's Data letters #59
Dan's Data letters #60
Dan's Data letters #61
Dan's Data letters #62
Dan's Data letters #63
Dan's Data letters #64
Dan's Data letters #65
Dan's Data letters #66
Dan's Data letters #67
Dan's Data letters #68
Dan's Data letters #69
Dan's Data letters #70
Dan's Data letters #71
Dan's Data letters #72
Dan's Data letters #73
Dan's Data letters #74
Dan's Data letters #75
Dan's Data letters #76
Dan's Data letters #77
Dan's Data letters #78
Dan's Data letters #79
Dan's Data letters #80
Dan's Data letters #81
Dan's Data letters #82
Dan's Data letters #83
Dan's Data letters #84
Dan's Data letters #85
Dan's Data letters #86
Dan's Data letters #87
Dan's Data letters #88
Dan's Data letters #89
Dan's Data letters #90
Dan's Data letters #91
Dan's Data letters #92
Dan's Data letters #93
Dan's Data letters #94
Dan's Data letters #95
Dan's Data letters #96
Dan's Data letters #97
Dan's Data letters #98
Dan's Data letters #99
Dan's Data letters #100
Dan's Data letters #101
Dan's Data letters #102
Dan's Data letters #103
Dan's Data letters #104
Dan's Data letters #105
Dan's Data letters #106
Dan's Data letters #107
Dan's Data letters #108
Dan's Data letters #109
Dan's Data letters #110
Dan's Data letters #111
Dan's Data letters #112
Dan's Data letters #113
Dan's Data letters #114
Dan's Data letters #115
Dan's Data letters #116
Dan's Data letters #117
Dan's Data letters #118
Dan's Data letters #119
Dan's Data letters #120
Dan's Data letters #121
Dan's Data letters #122
Dan's Data letters #123
Dan's Data letters #124
Dan's Data letters #125
Dan's Data letters #126
Dan's Data letters #127
Dan's Data letters #128
Dan's Data letters #129
Dan's Data letters #130
Dan's Data letters #131
Dan's Data letters #132
Dan's Data letters #133
Dan's Data letters #134
Dan's Data letters #135
Dan's Data letters #136
Dan's Data letters #137
Dan's Data letters #138
Dan's Data letters #139
Dan's Data letters #140
Dan's Data letters #141
Dan's Data letters #142
Dan's Data letters #143
Dan's Data letters #144
Dan's Data letters #145
Dan's Data letters #146
Dan's Data letters #147
Dan's Data letters #148
Dan's Data letters #149
Dan's Data letters #150
Dan's Data letters #151
Dan's Data letters #152
Dan's Data letters #153
Dan's Data letters #154
Dan's Data letters #155
Dan's Data letters #156
Dan's Data letters #157
Dan's Data letters #158
Dan's Data letters #159
Dan's Data letters #160
Dan's Data letters #161
Dan's Data letters #162
Dan's Data letters #163
Dan's Data letters #164
Dan's Data letters #165
Dan's Data letters #166
Dan's Data letters #167
Dan's Data letters #168
Dan's Data letters #169
Dan's Data letters #170
Dan's Data letters #171
Dan's Data letters #172
Dan's Data letters #173
Dan's Data letters #174
Dan's Data letters #175
Dan's Data letters #176
Dan's Data letters #177
Dan's Data letters #178
Dan's Data letters #179
Dan's Data letters #180
Dan's Data letters #181
Dan's Data letters #182
Dan's Data letters #183
Dan's Data letters #184
Dan's Data letters #185
Dan's Data letters #186
Dan's Data letters #187
Dan's Data letters #188
Dan's Data letters #189
Dan's Data letters #190
Dan's Data letters #191
Dan's Data letters #192
Dan's Data letters #193
Dan's Data letters #194
Dan's Data letters #195
Dan's Data letters #196
Dan's Data letters #197
Dan's Data letters #198
Dan's Data letters #199
Dan's Data letters #200
Dan's Data letters #201
Dan's Data letters #202
Dan's Data letters #203
Dan's Data letters #204
Dan's Data letters #205
Dan's Data letters #206
Dan's Data letters #207
Dan's Data letters #208
Dan's Data letters #209
Dan's Data letters #210



Give Dan some money!
(and no-one gets hurt)