Atomic I/O letters column #137

Originally published 2012, in Atomic: Maximum Power Computing
Reprinted here January 17, 2013
Last modified 16-Jan-2015.
 

Demand 802.11z today!

Why do wireless network speeds keep getting faster?

I've managed to retain some information gleaned during my university days, and the simple enough Shannon-Hartley theorem says to increase the data rate, you must either increase bandwidth or the signal to noise ratio.

So why don't we just do that from the beginning? Why bother with 2G, 3G, 4G Wi-Fi a/b/g/n etc etc. Why not just go to 100G (or whatever) straight away? Are telephone companies just trying to give us a reason to upgrade phones every 2 years?

Am I missing something? Is there some technical limitation, maybe battery life for phones? Is it difficult to design circuitry that uses more than (X) amount of bandwidth (hertz I mean)?

I've read some of Richard Feynman's books, and the impression I got was that we (the human race), know everything there is to know about how photons interact with electrons, and CPUs have come a long way. What more information do we need to be able to design the greatest wireless network in the whole wide galaxy?

Umit

Answer:
All advances in the bandwidth of a given way of connecting network nodes - a copper cable of particular characteristics, a given optic fibre, a given slice of radio-frequency bandwidth - are indeed limited by basic information theory. The actual bandwidth of the whole system, though, is determined by how well the network nodes use the connection. This is partly how close to the theoretical maximum their internal bandwidth and transmit/receive speed are, and partly how well they cope with numerous real-world data-transfer obstacles.

The result, to drag out the tired but surprisingly widely applicable car analogy, is sort of like how motors work in theory and in practice.

The maximum theoretical efficiency of a Carnot-cycle engine like the motor in a car is determined by the difference in temperature between the hot and cold "ends" of the engine - that's the burning fuel and the ambient air temperature, for an internal-combustion engine. This maximum theoretical efficiency for a car engine can easily be 70% or more.

A real-world four-stroke engine is lucky to achieve more than 30% efficiency, though.

And then, there's advances in technology.

If you took your laptop and access point back to 1940 they'd still work, and you could save a lot of Alan Turing's time by giving them to him. But there's no way that anybody in 1940 could duplicate them. They could reverse-engineer some of the hardware (commercial electron microscopes were first made in 1939!) and end up with an electronic computer industry rather sooner than we did in this timeline. (They'd probably be grateful if you threw in a local copy of Wikipedia and some PDFs of engineering texts, and perhaps another laptop so they could use one while studying the other...).

But no arrangement of electronic components manufactured in 1940 could duplicate computing hardware made today.

The same applies for hardware made in 1980, 1990 and 2000; the differences are just smaller.

You could probably make an 802.11-something system from components available in 1990 (802.11 a and b actually came out in 1999), but it'd be cumbersome and expensive and power-hungry and in no way a consumer-market product. In 1980 the Motorola 68000 was a workstation-class CPU; in 1985 it was a powerful-home-computer CPU; in 1996 it was a pocket-PDA CPU; today it's what you use to control a washing machine if a Z80 isn't enough.

And then, there's software and/or firmware.

Wired networking is bad enough; wireless networking is mildly miraculous. Low-frequency low-bandwidth radio will go through all sorts of things, but Wi-Fi and modern mobile phones work in the much more finicky microwave range. The network topology is pretty chaotic, there are dreadful obstruction and echo and crosstalk problems, access-point antennas are small and network-adapter antennas are often very small, and the list goes on. A mixture of theoretical maths and a lot of empirical testing gives us better and better wireless data systems as the years go by, but once again you usually need more processing power and storage space to implement each new refinement of the system.

If you'd like to see another example of this sort of technological evolution, look at the history of the phone-line modem, from double-digit bits per second to tens of thousands. Along the way, more than a few people found they were actually wrong about the theoretical limit to the bandwidth capability of the channel, not because the Shannon-Hartley theorem is wrong, but because empirical testing and fiendish ingenuity revealed the pipe was actually wider than we thought.

There's even a further automotive analogy for this situation: Dragsters!

Using the engineering calculations that predict the performance of a normal car, you can get a pretty definite maximum possible speed for a vehicle with a particular configuration and engine power.

Modern dragsters are MUCH faster than that.

This is primarily because of an evolutionary engineering process where the real-world results of, in particular, the interaction of giant sticky low-pressure tyres and the dragstrip surface, revealed the previous engineering assumptions to be incorrect.

 

Picasa: Love it or leave it

I use Picasa as an image viewer, because it can open everything, but when you view digital camera raw files with it, it insists on doing an "auto levels" sort of thing to punch up the preview of the image. This takes a few seconds and makes it impossible to delete an image while it's in progress and is generally sucky and horrible. How the hell do you turn this off?

Skye

Answer:
You don't. Google in their wisdom have decided that everybody likes that feature.

If for some reason you do not, you'll have to switch to a different image viewer, at least for RAW files. FastStone Image Viewer is free and fast, and supports several raw formats.

 

For some reason, reversing "EXE" doesn't work

The IT setup at my 20-person company is... a mess, it's probably on thedailywtf.com somewhere.

The main computer guy is on holiday now, and I'm doing his job kind of like a dog with a Rubik's Cube. Our in-house stock-management application screwed up for the nth time yesterday, and someone managed to get through to IT guy and he said he has a patched executable that fixes it, and now he's e-mailed that to me and then dropped off the Internet and into scuba-diving gear or something. But I'm wondering whether he accidentally (on purpose?!) sent me some kind of virus. The attached file is called newexe.piz, and IT guy says I should just rename it to newexe.zip and extract the file.

Why this and not a ZIP in the first place? If I copy this around everywhere and it's a virus, I'll catch shit for it, not IT guy.

Searching turns up .piz as a format used by "Pizazz Plus", but I'm pretty sure that isn't it.

Dan

Answer:
It's very probably perfectly fine. He probably renamed it to get it past e-mail filters that block EXEs and ZIPs and so on, specifically to prevent people from mailing malware to each other. Such a filter should, of course, do something smarter like feed attached files to an actual virus scanner, but plenty of mail servers have simpler filters put in place in 1995 and never improved.

If you're doubtful about this or any other file's bona fides, by the way, just bounce it off a virus scanner yourself. I like "Jotti's malware scan", which feeds anything you upload to it to twenty different virus scanners.

(Sending confidential business software to the Web site of some guy in the Netherlands may be hazardous to your employment. From what you say, though, it doesn't seem very likely to make your situation any worse than it already is.)

 

When your nuke from orbit is a dud

I have this laptop that's about 2 years old and one day Windows went off the wall and just would not boot up properly, even in safe mode. There was a corrupt file in the Windows system files, so I thought I'd either have to repair it or reinstall Windows altogether. But every time I try to repair Windows with the CD, it stops at the loading bar and just stays like that for hours, not loading anything. So I thought let's just get rid of it all and start fresh, but it still refuses to do anything. As soon as I format the hard drive with the Windows CD and try to start installing Windows it just freezes up.

I am using Windows XP for this laptop as it originally had Vista when I bought it, I just reformatted it with XP. Any ideas what potential problems could cause this?

Nick

Answer:
It sounds very much like a dying hard drive. I wouldn't bet my life on that, but the symptoms match exactly.

Consider this an excuse to upgrade to an SSD!

(Or just get a cheap new hard drive with much more capacity than your old one.)

 

Keeping up with the Gateses

Given that it seems 95% of Windoze "updates" are really just security fixes for IE v.whatever that I don't use, do you think it's worth the trouble? I've turned off the auto update reminder because I grew tired of Windoze's constant fault reminders and admissions. I check for driver/BIOS updates on my self built AMD boxes when I'm bored, but all seems well. The few updates I have tried seemed a bit wonky at times, but I was thinking of Win7 SP1.

Any thoughts?

Hans

Answer:
Hey, don't forget the Windows Genuine Advantage updates too! Where would legitimate customers be without the sneaking suspicion that upgrading your computer may make it think you're a pirate!

But seriously, you're right that the majority of updates aren't a big deal. Most are patches and shims to "improve compatibility" with one thing or another that probably wasn't written right, and no given user is likely to encounter more than a very few of the things that get patched. But on the off-chance that you might, you might as well install those updates.

Microsoft Security Essentials, though, is definitely worth installing and updating. Even if you're wise to the ways of viruses and botnets, even if you never use the administrator account unless you really have to, it's still only the work of a moment to accidentally install malware, and modern malware can be a huge pain to remove. The malware/anti-malware arms race changes all the time, so you should never assume that some program that worked great five years ago can still handle everything today, even if it's still regularly updated. But Microsoft Security Essentials may currently have the best hassle-to-effectiveness ratio of all Windows anti-malware tools.

The predecessor to Security Essentials is the Malicious Software Removal Tool, which is still regularly updated and worth having. Yes, it may never find anything amiss on an experienced user's computer, but it's not as if it, or Security Essentials, cost money. The same applies to security updates for applications.

I've had updates set to "check, but let me choose which to download and install" for many years, and I think that's the best option for experienced users. Remember that just because "all seems well" does not necessarily mean that it is. It's perfectly possible for a Windows machine to be botnet-infected without any symptoms obvious to the user.

 

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)