Dan's Data letters #123

Publication date: 30 August 2004.
Last modified 03-Dec-2011.

 

The poor man's SSD

What's faster, portable flash memory, or hard disks? Given the limited read/write life of flash memory, would it be feasible to use a 6Gb CompactFlash card as a hard disk replacement?

Jon

Answer:
Flash RAM has near-zero seek time, but lousy maximum transfer rates (a CompactFlash card with a pin adapter can plug straight into a PATA cable, but will only support PIO transfers, not DMA of any flavour).

You can use flash memory as a hard disk replacement, as long as you don't put a swap file on it. It's perfectly feasible for no-swap systems, which means you can even run Windows if you use 98SE with virtual memory turned off, or something. Flash memory is a natural for lightweight Linux/BSD systems, of course; desktop Linux needs swap, but if you're just rolling your own network appliance, a near-free 8Mb CompactFlash card makes a great boot device.

I've written about this sort of thing on a couple of previous occasions.

 

Slowness, and PC-TV

I use iTunes for Windows for my music collection because I like it. But whenever I use it to rip a CD, my whole PC becomes molasses. Is this iTunes, or the way I've connected the drives? It didn't happen before I lost a hard drive and I re-jigged my PC. Both my CD burner and DVD player are on the same IDE cable; is this the problem? iTunes used to be able to rip and play the CD at the same time with no problem. Now it can't.

Also, when you review video cards, the talk generally revolves around games. But long before all this "Media PC" guff, I wanted to use the PC as a substitute video recorder. Is the video card the more important feature to getting good picture, or the TV tuner card?

Dave

Answer:
My first [and, as it turned out, correct!] guess would be that you don't have DMA turned on for the CD drive. You don't mention which Windows flavour you're using. In Win95-series versions (95, 98, ME) you go to the Properties panel for the drive to change DMA settings; in Win2000 and WinXP you go to the Properties panel for the appropriate channel ("Primary IDE Channel", "Secondary IDE Channel") of the appropriate controller. Just fish around in Device Manager until you find the appropriate one, and try clicking the DMA box or selecting "DMA If Available" (depending on Windows version) for everything in sight. If it doesn't work, Windows should just restart with the drive back in PIO mode - nothing, despite Windows' dire warnings, should actually stop working.

Different video cards with TV out have different image quality, but pretty much everything on the market at the moment has OK quality. Problems more commonly arise with image alignment; if your TV doesn't have full image size and positioning controls (which most don't), some cards won't let you get a nice full-screen image without black borders. I think all of the mainstream ATI and Nvidia cards these days are OK in this respect, though; the drivers from both companies have plenty of TV image tweakability.

The tuner card is important too, of course, but if you've got a good regular TV image then you should be OK. Note that the tuners in digital TV tuner cards may be rather fussier than an ordinary digital set-top box; don't assume that because an STB works fine for you that a digital tuner card will as well.

 

In my day, we used a crank

I've gotten myself into a few situations where my brilliant self tends to leave the headlights on when I get home. I was curious, would it be possible to charge a car battery, removed from the vehicle, with a computer PSU's 12V rail? Say I use the "wire trick" and bridge the green wire to ground to make an ATX PSU start up on its own, then touch the 12V to the battery positive and ground to the battery negative, how long would it take to charge the car battery to a reasonable amount enough to start a car? A few hours?

Gregory

Answer:
Yes, this'd probably work - and probably take less than an hour - but you couldn't charge the battery completely this way.

A proper charger for 12V lead acid batteries needs to feed them, classically, 13.8 volts (it's more complex if you want to maximise battery life - I talk about that here).

A mere 12V supply will, however, be able to throw enough energy into the battery that you'll be able to start the car. I know this for a fact, since I once did it to my own car using a cheap 7Ah sealed lead acid "brick" battery. The trick there is to connect the freshly charged brick (a freshly charged lead acid battery will have a bit more than 12V terminal voltage) in parallel with your flat car battery; the battery can still be in the car, as long as the ignition is well and truly off. Leave it for half an hour, then disconnect the brick (which can't deliver anything like enough current to start the car, and will become rather unhappy if you ask it to), turn the key, and you'll probably be in business. After that, the car's own alternator can of course throw more charge into the battery.

You could do the same trick with a ten-cell NiCd or NiMH pack; with a really heroically enormous NiCd pack, like ten ten-cell model plane packs in parallel, you could probably even start the car directly without incident (you'd be wanting to unplug them smartly afterwards, though, as they wouldn't much like being charged by the alternator). Various other unlikely 12V sources would also do; in theory, a phalanx of carbon-zinc AAAs would be adequate, but wiring 'em up would be like harnessing 10,000 mice to a cart.

The main problem with using a computer PSU to get a car battery into this just-charged-enough state, though, is that the car battery may suck more amps than the computer PSU can deliver, early in the charge. This should only be a problem if the car battery's really flat, though; if the car's been sitting overnight with the headlights on then it will be, but if it's still got over ten volts then you'll probably be OK. A really high wattage computer PSU would also help, of course; old 150W AT supply, no, new 580W oversized ATX supply, yes.

Note that the flatter a car battery has been, and the longer it's stayed that way, the more likely it is to have been lethally sulfated and need either replacement or treatment with one of those magical desulfators which I still haven't gotten around to looking at in person. In a pinch, though, even a severely sulfated battery can usually be coaxed into starting the car a couple more times, which'll be enough to get you to the garage.

 

The tongue is always an option

Is there any way to use a multimeter to determine which hole is active and which is neutral, in an AC outlet?

Assuming the answer is what I think it is (connect each to earth and check the reading), is there any other way to do it, when there is no earth connection nearby?

How hard could it be for multimeters to include an "AC mains tester" mode?

M.R.

Answer:
Your guess is correct; you check each one to earth in AC volts mode with the outlet turned on, and the active one will show X volts, while the neutral should show zero (but will probably show a bit of leakage voltage - if it shows a lot of volts, you've probably got some kind of ground fault).

Here in Australia, absence-of-earth isn't an issue, because all normal outlets here are earthed. Without an earth, it's actually theoretically impossible to tell the difference between active and neutral just by touching both of them with probes, because all the probes can detect is the potential difference between the two, which in AC looks the same whichever way around you probe it.

Note, however, that you can provide a low-grade earth yourself just by holding the tip of the other probe in your hand, while poking the other probe into the socket. This is a pretty capital-D Dumb thing to do with a multimeter, because you'll zap yourself if your multimeter is in a low-resistance mode (like, one of its current-test modes), or if it's in voltage mode but has an (improbable) fault. You'll probably survive touching just the active terminal directly, mind you, as long as your body isn't actually connected to neutral or a good earth (bare feet on wet ground...).

To avoid the whoops-I'm-in-amps-mode-now-I'm-dead problem, you can buy little cheap pocket-clip AC-tester screwdrivers that contain a high-value resistor and a small neon bulb (or, nowadays, even a not-very-reliable LCD voltage display!). Poke the end onto a live wire with your finger touching the metal ring on the other end and the bulb lights up, without any chance of electrocution. There are also fancier mini-probe gadgets that combine this feature with various others.

 

Quieting a pizza box

As is the wont of all those with a lust for UNIX geekery, I've come to own a SparcStation 20. While the build quality and engineering of the SS20 is remarkable, the same can not be said for its acoustic engineering, which leaves both a great deal to be desired and a loud ringing sensation in the ears.

The primary culprit is most certainly the SCSI hard drive (Seagate Hawk ST32430WC) wedged into this machine, which performs the traditional imitation of a jet engine hitting its straps. This issue I hope to resolve with a new drive just as soon as Seagate tell me which model I should be looking to buy. Beyond this, though, there are three fans in the system which, while currently masked by the drive, are also far from whisper quiet. One is a dinky Nidec Beta V TA150DC (C33830-16) which cools the drives, while the other two are inside the PSU and are both Nidec Beta V TA225DC (M33515-55) fans (which should be here but aren't, an anomaly I've asked Nidec about but am yet to receive a response on).

I'm having a hard time finding information on quiet fans for this system. Most to all of the quiet computing information is highly PC-centric so fans that don't feature prominently in this world are simply not mentioned with regards their acoustic performance. Are you aware of any fans that could replace these three that could minimise noise?

I should also point out that the system is currently furnished with a dual HyperSparc CPU module running at 90MHz and the PSU fans are responsible for cooling that toasty fellow, which will hopefully be joined by another of it's brethren to make a quad CPU system (just as soon as I can find one on eBay that is...), so I can't really use a low power model lest I inadvertently poke the gremlins of thermal instability. Any help you could offer would allow me to retain full hearing for a markedly longer period of my life.

Andrew

Answer:
I don't think you're going to be able to make it a whole lot quieter if you just replace the existing fans with a couple more 60mm units and a 40mm with similar specs to the stock fans. The only noise you can eliminate by doing that is buzzing from old dying bearings.

However, if you don't mind taking to the thing with a jigsaw, you could hack a hole in the top of the pizza box case to suit a big old 120mm fan - which'll have to poke out of the top of the casing. 35 to 40 cubic feet per minute of airflow from a top-mounted fan should match the flow from the standard fans; even a slimline 120mm fan should manage 80cfm at full power. It won't be terribly quiet at full power, but it'll probably be less annoying that half as much airflow from small fans, because it'll make a lower pitched noise. If you wind down its speed (with any of a number of speed control solutions - a commercial speed controller, or an in-line resistor or Zener diode chain, or maybe just running the thing from the five volt rail I possibly foolishly imagine the Sparc PSU to have...) until it only moves 40cfm, you should have a quite acceptably quiet solution.

Alternatively, you could try ducting the air coming out of the box (which is probably where most of the noise is escaping) through a sound-absorbing muffler (cardboard lined with packing foam will do). Just squish a blanket up against the box vents for a moment to see the maximum damping you can expect from this strategy.

 

It's a Sony! Wait - no it isn't.

A friend of mine in Brazil tells me that I can get 3600mAh Sony AA NiMH rechargeables from stores and Web sites in Brazil, like this one. I ran quite a few searches on the Internet and the results always led me to Web sites in Brazil. No other countries have any ads for these batteries. I also looked for 3600s far and wide in electronic stores in my (US) State but came up empty-handed. Even Sony's battery site does not show these batteries. Their highest seem to be 2100mAh.

My friend has a good digital camera and swears that these Sony 3600mAh batteries are the thing to use and have been available for months in Brazil now. What do you know about this? Should I try them out?

I've also been reading good things about Maha external battery packs. since my camera is 2.4V, (2 AAs) can I use higher voltage external packs into the dc-in plug? If so, which voltage is ideal for taking lots of photos, good zoom, live view, interval recycling between shots, etc?

Arsenio

Answer:
My first guess was that these "Sony Cycle Energy" cells aren't a real Sony product at all, or if they are, then they've been misleadingly relabelled for the Brazilian market. Perhaps there was some Brazilian legal loophole that allows the capacity of two cells in parallel to be quoted, or something. I suspected they were just a knock-off, though.

Arsenio chased the story for himself, though, by calling the Sony support number...

3600mAh AAs?

...on the back of the package (which, a reader's now pointed out to me, contains that rarest of creatures - a misleading graph that makes a difference look smaller than it really is. The 72% figure's almost exactly right, though!).

As soon as he asked about 3.6Ah AAs, the Sony rep mentioned that they don't make them, and that yes, someone's selling fake batteries in Brazil.

Indeed, the only actual current loose Sony NiMH AA cells are plain 2100mAh cells, with the part number NH-AA-2DA. A reader's now pointed out to me that they also sell bundle packs of four 2300mAh AAs and a charger; the packs have part numbers BCG34HD4 and BCG34HRD4. They're included with their new Hi-MD MiniDisc players. If you're waiting for actual 3600mAh NiMH AAs from Sony or anyone else, though, you'll be waiting a while - possibly forever.

Regarding external battery packs - there'll probably be some input voltage latitude, but you shouldn't exceed the rated voltage of your AC adapter by much. Cameras that use a simple diode for reverse polarity protection on their DC input will lose some voltage there - so a 6V camera may have a plugpack that outputs about 7V, say - but it's generally OK to run a 6V device from 7.2V anyway. Not always, but generally. There's no way a 6V pack will be OK with a two-cell camera, though.

Most cameras get more volts from their plugpack than from their battery pack, which may give them slightly faster zoom and brighter displays, but the difference is seldom major.

The Maha external packs are aimed at cameras that have low capacity internal batteries - probably very small lithium ion packs - because they offer only 1.8Ah (for the NiMH pack) and 2.2Ah (for the Li-I pack) capacity. If your camera runs from four AA cells, then another set of four new 2Ah-plus AAs will give you about the same capacity as one of these external packs.

There are other, larger capacity external pack products that'll save you from having to make your own, but they're bulkier than the Maha packs.

 

Still waiting for the strapless version

I'm interested in a purported cordless anti-static wrist strap that uses the "Corona principle to harmlessly rid your body of static electricity before it can damage your data or computer equipment".

I've Google searched "Corona principle" and "Corona effect" but only found articles about electrical discharges around high voltage electrical lines. Do you know what the Corona principle is, and would it allow such an anti-static device to work?

Gerald

Answer:
If you're charged up enough that your body is exhibiting significant corona discharge - even from a pointy probe held in your hand, much less a smooth wrist strap gadget - then you're way, way beyond what's necessary to cause electrostatic discharge damage to computer hardware.

So, as you might expect, that cordless anti-static strap worketh not.

If you want to ask me a question, feel free - but please read this and this first.

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)