Atomic I/O letters column #38

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

 

CPU giblets

How do differently clocked CPUs actually differ in terms of manufacturing? I mean, what do Intel and AMD do to make the higher clocked chips, besides just raise the core multiplier? It's not like they re-engineer the entire chip, as it's the same architecture and all. I thought that maybe all they do is test the threshold of the chips and those with a higher threshold get a higher stock operating speed.

Also, what is the core multiplier? I mean, I know what it does, and that the FSB multiplied by the core multiplier gives the resultant operating frequency. But what exactly is it? When the multiplier is changed what physical... thing... happens to make the operating speed that factor more?

Liam

Answer:
You've pretty much figured out the deal with CPUs of different speeds. Every CPU of a particular type (a particular core, amount of L2 cache, et cetera) can end up packaged as the very top-spec version, if all goes well, and if the CPU manufacturer needs it to be.

All does not go well all the time, though; chip fabrication is a tricky business, and not every chip on a given silicon wafer is going to be the same. The chips are tested before the end of the packaging process, and classified according to the speed they manage to run at. Some don't work right even at the minimum speed for their product line; they're thrown away. Most chips pass the test for one grade or another, and are usually then packaged up accordingly.

Some chips, however, pass the test for high speed, but are packaged as a lower speed chip, simply because there are orders for X many of those lower speed chips and the fabrication process happened to turn out more high speed chips than were needed. Sometimes practically every chip at a given speed grade actually passed the test to run much faster - see the classic old Celeron 300A, for instance (was it only five years ago...?), or the Pentium 4 2.4C. Chips like this come along quite regularly; as I write this, overclockers are pretty happy about the Socket 754 Sempron 3100+ and the Socket 939 Athlon 64 3200+.

The mechanics behind the multiplier are more complex. Inside the CPU there's a phase locked loop (PLL) circuit that uses two dividers.

Put (relatively) simply, the FSB clock is applied to one input of a frequency comparator, the output from which drives a voltage controlled oscillator (VCO). The VCO is the actual configurable gadget which, left to its own devices, spits out approximately the right core clock frequency for the CPU.

The VCO can't be trusted to get it quite right, though, so its output is fed through the two dividers (two dividers let you have fractional multipliers; older processors that only handled integer multipliers have only one divider) that're set to the right ratio to recreate the bus clock from the VCO's output, assuming the VCO output is exactly right.

The output from the dividers goes to the second input of the frequency comparator I mentioned above. This closes the loop in the PLL; the comparator controls the VCO's input, and compares the VCO's divided output to the FSB speed it's supposed to perfectly match, and tweaks the VCO input if it doesn't. The circuit can thus very rapidly settle onto pretty much the exact frequency the processor's meant to run at.

 

Screen translation

Is it possible to connect an LCD from an unused notebook to a desktop PC, to use as the main display?

Rivai

Answer:
Possible, yes. Practical, probably no.

A few companies (example) sell interface adapters that let you connect various kinds of LCD panel to normal video signals, including RGBHV ("VGA"). The adapters aren't very cheap, though; you can expect to pay at least $US200 for one, maybe $US250.

The adapter isn't all you need to make the panel into a monitor, either; you need some kind of casing, of course, and you also need a power supply. Even if you don't put a value on your time, all of this pushes the price of the resultant contraption up pretty close to that of a brand new regular 15 inch 1024 by 768 LCD monitor - which is probably the best you can expect from your ex-laptop setup, since adapter boxes for higher resolution panels are hard to find.

If the laptop's an old one, you're unlikely to want to stare at its screen all day anyway. If it's a new-ish one, consider networking it to the main PC (wirelessly, if you like!) and using VNC or Windows' Remote Desktop to make the portable into a remote monitor, and keyboard, and mouse!

 

Dash, plus, backslash, tilde...

I just bought a DVD burner that does both DVD-R and DVD+R, and no one can tell me the difference between the two types of recordable DVDs. Can you shed some light on this?

Chris

Answer:
The difference between the "dash" and "plus" recordable DVD formats was important when the technology was younger, if only because you had to make sure that cheap spindle of discs you bought on eBay was compatible with your drive.

Today, though, cheap drives read and write both flavours, and the only remaining difference is that DVD-R is slightly more likely to be legible in any given DVD-reading device. It's hard to make good stats on compatibility because of the range of different drives and media out there, but there's a quite comprehensive and reasonably up-to-date survey at CDR-Info.

It says that DVD-R compatibility is about 97%, while DVD+R manages about 87%.

 

Disco mouse

I have a Microsoft Optical Mouse Blue, and I got the idea of modding the light in the mouse. I am just wondering, is that an LED, and if it is, is it possible to change it without affecting the optical mechanism?

Andrew

Answer:
Yes, it should be possible. People have even found that despite the operating voltage difference between red and blue LEDs (less than 2.5 volts, versus around 3.5), you can just swap a blue one right in and have it work at decent brightness.

The only risk you run here (besides accidentally destroying your mouse with a soldering iron...) is that the little camera in the bottom of the mouse expects to be looking at a surface lit by a red LED, and may not be as sensitive to blue light. This may make the mouse more prone to skip on surfaces that it worked fine on before. Again, though, people who've done this trick with various mouses generally don't report problems when using the mouse on regular mousemats or other high-contrast surfaces.

Note that if you've got a mouse with a second, decorative LED shining out the back (the Blue mouse has one, as do many other IntelliMouses), you can change that LED to a different colour with no chance of causing tracking problems.

There are even triple-die red-green-blue LEDs in standard twin-lead 5mm packages, now - I checked out some little flashlights that use them here and here. They include a tiny flasher/chaser controller right there in the package, and there's a reasonable chance that they'll work as drop-in replacements for a red LED, too. They'd be no good as a under-mouse light, but would be particularly trippy as a tail light!

 

Wonderful wire

I was wondering if there was a real difference in quality between the standard HD15 VGA monitor cables and BNC cabling. I was just given a 19 inch Sony GDM-400PS, which has both inputs, and I was wondering whether it's worth paying for BNC cables.

Nathan

Answer:
A good BNC lead will give you a sharper picture at very high resolutions. A bad one won't do anything worthwhile. It's perfectly possible for a bad BNC lead to give you a fuzzier, ghostier picture than a good HD15 lead would. If you want to see the kinds of problems I'm talking about, buy the cheapest HD15 extension cable you can find (which can be a useful thing to have for impromptu connections of monitors to distant misbehaving computers, when you don't care about image quality), and plug it in.

There's not much point to using BNC for monitors smaller than 19 inches. You can just start to see some difference in 1280 by 960 on a decent 19 inch screen, especially if you're running a high refresh rate (like, 100Hz).

1280-by-whatever at 85Hz (the sweet spot for the GDM-400PS) might be high enough for the difference to be apparent. Don't expect anything dramatic, though, unless the cable you're using at the moment is unusually lousy.

 

Modem Of Mystery

I am one of the unfortunate people who, thanks to Telstra, are still light years behind in the broadband revolution, even though people living 100 metres away can get ADSL. So I am stuck with a shitty 28.8 connection.

My download speed is usually around 3Kb per second, however when I downloaded this Excel file the speed was a whopping 9kb/s. How is that possible?

Tim

Answer:
It's very highly compressible data.

Your modem, like every other modem for a lot of years now, does v.42bis data compression by default; that reduces the fatness of data passing between your modem and the one at the ISP's end of the line.

Usually, v.42bis doesn't achieve much. It'll squish HTML data quite successfully, but things like JPEG and GIF images, and most separate files people download, are already compressed and have no more "air space" in them. V.42bis automatically turns itself off when you're transferring incompressible data, since it'll do more harm than good then.

That uncompressed Excel file, however, can be zipped down to less than 10% of its uncompressed size, so v.42bis can compress it considerably too. The most compression the v.42bis algorithm will ever manage is 4:1, but you're seldom likely to see more than the 3:1 you just got.

Note that if Telstra had zipped the Excel file themselves, you would have got it even faster, ignoring the time it would have taken to unzip it at your end. V.42bis wouldn't have made the zip file any smaller, but there would have been a tenth as much data to download in the first place.

I've written more about this sort of thing before, here and here.

 

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)