Dan's Data letters #1

Publication date: 25-Sep-2002.
Last modified 03-Dec-2011.

 

Syncing ship

I remember reading a year or two ago about the effects of vsync and how it worked. Basically, what I seem to remember is that having vsync turned on in games set to, for example, 1024 x 768 @ 60Hz, on a 10GHz Pentium 4 and a Geforce4 Ti20000, means your frame rate won't exceed 60 frames per second. I'm quite sure about that part.

Now let's suppose you have an Athlon 900 and a GeForce2 MX, running at the same resolution and refresh rate, in the same game. Let's say that theoretically, this setup would be able to draw 56fps.

I remember reading that if your computer is not able to provide the 60fps that's necessary, you would not get the 56 fps that your system is capable of, but instead a frame rate which corresponds to the next lowest division of 60Hz which is equal to or below to the fps that your system is able to deliver. So for example if you are running around in an empty level, and your system can happily render 70 fps, your fps will be 60. Then more people join, and your system can only render 50fps, now your fps is 45 (just a guess here). Then a big firefight breaks out, and your system can only render 42 fps, now your fps is 25 (again just an example).

Does that ring a bell, or am I barking up the wrong tree? :)

Nemanja

Answer:
No, that's not how it works.

Think of it this way. If your refresh rate is set to 60Hz, and vsync is on, then your computer will always display exactly 60 frames per second, but some of them will be identical to the previous frame if the computer hasn't managed to draw a new frame in time. It doesn't matter if a new frame's ready one millisecond after a frame starts being drawn; it's missed its chance.

So if the system can only draw 56 frames per second, that's what you'll get, but it'll be a bit uneven - the actual signal going to the monitor will be exactly 60 frames per second, regardless of whether those frames were the same as or different from the previous one, and so the amount of time a given image can be on screen is always some multiple of 1/60th of a second.

With Vsync turned off, the output to the monitor is still 60 frames per second, but now every frame starts getting drawn on the screen as soon as it can, with no regard for whether the last frame's been finished or not. If another frame is ready when the top half of the previous frame has already been drawn, then that particular frame on the monitor will have the top half of frame #28372 and the bottom half of frame #28373.

 

Change! Change, damn you!

I've read your webpage concerning the TEAC CD-C68E. I also love the drive, but I had to upgrade my operating system to Windows XP and I lost the capability to access five of my six CD slots. Do you know a way to use all the slots with Windows XP?

Nic

Answer:
There's no elegant way to do it. I mention this issue in passing here. ATAPI CD changers just don't work properly in Win2000 or WinXP, and as far as I know, there's nothing you can do about it.

 

More on PC "turbo timers"

Just read your latest I/O letters column and I thought I might chuck in my two bits worth on the post shutdown cooling issue. You've titled the letter "CPU turbo timer", I've had turbo timers on cars before and the comparison doesn't quite stick. A turbo timer on a car actually does the opposite of what Nic Beavis wants his device to do. A turbo timer keeps the engine idling for a while in order to keep the turbo housing from cooling down too quickly, avoiding a rapid temperature change which could lead to variable expansion rates cracking the housing. Keeping the fans running after shutting your PC down would shorten the cool down period, leading to an increased risk of differential expansion damaging the CPU.

Mathew

Answer:
It's my understanding that the purpose of (real) turbo timers is to keep oil flowing through the turbocharger as and after it spins down; without them, the very hot turbo gets no fresh oil, and cooks the oil that's left in it. The turbo can be damaged as a result, either because it's still spinning with lousy oil on its bearings, or because it gets gummed up with burned oil.

The fact that the continuing flow of exhaust gas during the timer period also warms the turbo is, I think, just a side effect; if anything, I'd think the continuing flow of oil will cool the turbo faster than would happen if you just stopped the engine.

Regarding differential expansion and its possible risks, I've received some other correspondence about this issue, but I'm unconvinced that there's a real risk here. Cooling the CPU faster won't do it any good, but I don't think there's evidence to suggest that it does any significant harm either, as long as you're not dumping liquid nitrogen on it or something.

 

Data shuffling

I'm trying to format my 80Gb hard drive on my new P4 2.4GHz so I can dual boot to Windows XP and to Linux. I've heard that formatting a disk often wipes all the data on it, which would be a Bad Thing, but newer partitioners don't. The default XP partitioner doesn't say whether or not it wipes data. The Microsoft site naturally only has information on using two Windows flavors on the same HD, but says nothing about using other OSes. Can I simply use the XP partitioner, or would this cause lossage to files?

Jacob

Answer:
Repartitioning a drive, normally, does wipe everything on any partition you've changed. You need special "partition management software" to change partition sizes without losing the data on the partitions; WinXP's Disk Management utility can't do it.

Partition management software can juggle data around so that as long as you don't have insufficient disk space for the new partition and data arrangement, then you can indeed repartition without losing data. The big name in this field is Partition Magic. Linux users can, as usual, do much the same thing for free; Parted seems to be a good option, and offers bootable floppy versions that anyone can use, whether or not they're interested in Linux per se.

 

Let's call the whole thing off

I just read your recent SATA article and noted that you constantly refer to megabytes per second as Mb/s. I always that that Mb/s meant megabits per second and that MB/s meant megabytes per second. The big B little b was to distinguish between bytes and bits. I also find it hard to believe that you are wrong about anything. Could you please let me know if I am crazy or if you are in error?

Jack

Answer:
Actually, the balance of opinion among people who bother to have arguments about this sort of thing is that bits get the upper case B. Well, that's the balance of opinion among that contingent of those people who are more likely to have beards and remember toggling boot code in on something's front panel. General usage seems to have swung back the other way, these days, except that the most popular abbreviation for "megabyte" is still "Mb".

Why all the confusion?

Well, on the one hand, bits came first. The byte doesn't even have a definite size - it varies depending on computer architecture. So, the argument goes, bits got the abbreviation B, and the byte had to make do with b.

On the other hand, bytes are bigger.

The gripping hand is, though, that this whole area is so hopelessly jumbled that you have to define your terms every time you use them. People abbreviate "megabyte" as "Mb", "MB", "M", "M-byte", "Meg", and God knows what else. It's a complete schemozzle.

Personally, I abbreviate bytes as b and bits as B, but I'll still define my terms every time I do it. If I remember.

 

Long range computing

Do you know what the limit is for SVGA cable length? (and PS/2 keyboard and mouse cables, for that matter).

I'd like to move my 747 soundalike PC waaaaay over there, but I imagine there's some sort of limit. Also, if I exceed said limit, would it just not work, or will everything explode, or something in between?

pompomtom

Answer:
The length limit depends on the quality of the cable. You need good cable for a run of any significant length, and you need quality connectors for any extension at all, unless you're happy with ghosting any time you use a high-ish resolution.

Realistically, the limit for monitor extension cables without expensive repeaters and such is around ten feet. Get a good ten foot extension lead (Belkin brand, for instance), and you should be fine up to quite high resolutions and refresh rates.

If you overdo it, nothing should come to harm. Over-long monitor cables just give you a crappy image. Over-long PS/2 cables may give you intermittent control. Nothing ought to die, in either case.

 

Photography FPS

What's the secret to getting faster frame rate from a video camera (at a cheap price)? I want to do crisp clear slow motion (I understand shutter speed is part of the deal), but I am just not getting enough frames per second to see what I want to see.

Matt

Answer:
As far as I know, there's no cheap option. Moderately high frame rate video camera setups (like, 120 frames per second, not ultra-fast explosion-tracking stuff) seem to cost well over $US5000, because they have to use special capture hardware; consumer capture boards won't work with them. On the plus side, they're not totally exotic equipment; apart from scientific applications, I think they're used for some industrial process control/robotics purposes, which means there are probably quite a lot of them out there, and you might be able to find an older but adequate rig on eBay, or something.

If you need colour as well as high frame rate, though, I think you're likely to be back into multi-kilobuck territory.

 

PC vs workstation...

I'm always curious when video card reviewers mention we're "not yet at Toy Story quality". Anyway, I always wondered if the best PC hardware (P4 3GHz, NV30 or whatever) could match a $50000 SGI Octane2 or Fuel workstation (or whatever they use at Pixar Studios anyway) in OpenGL games or Benchtest demos.

Dutch

Answer:
For games and game-type benchmarks, PCs do very well indeed, and are super-monster-ultra winners compared with pro graphics workstations (most of which can't actually run PC games, of course) if you take price into account.

The big deal about the workstation solutions is that they're able to use their hardware for something useful; they don't have the performance-for-accuracy tradeoffs that the PC cards have (have you ever seen a line of white pixels along an edge in a 3D game, where the polygons don't meet up? That's an error that's tolerated because it's faster to be a bit sloppy, but it's obviously unacceptable for pro work), and they're also able to take their hardware-rendered images and rapidly pipe them back to main memory, so the rendering hardware can be used to pump out frames for use somewhere else. Which is, of course, what you want when you're rendering a movie instead of a game.

PC cards can be used for graphics-hardware-to-main-memory purposes as well, but their drivers really suck in that area; there's no value to it for games, so it's been completely ignored, and in any benchmark that tries to do it, PC cards will lose by a mile.

 

DIY wrecking yard

How much would a 2 by 2 by 1/5 inch (approximately) neodymium magnet cost that could pick up paper clips from 6-8 inches away?

Jeremy

Answer:
It'd cost quite a lot, since I don't think there are any surplus sources for NIB magnets that size (that's considerably bigger than anything that I've ever pulled out of a hard drive). See here for about the biggest cheap NIB I've found.

 

Uh, OK...

GREETINGS FROM PUERTO RICO

HI! HELLO!

HOW ARE YOU? HOW YOU DOING? IT ALL FINE? EVERU THING FINE?
HOW DO YOU FEEL IN AUSTRALIA? NICE TO MEET YOU MI NAME IS"
HIRAM MERCADO I'M FROM" PUERTO RICO, I LIKE THE COMPUTERS
I'M VERY FANATIC OF COMPTERS, I LIKE THE TOWER BLACK,
I'M INTERESTING IN THE TOWER BLACK, HOW MUCH THIS MODEL
OF TOWER BLACK, THE NUMER OF THE MODEL IS PC31,
THE MODEL THAT WANT IS TOWER BLACK PC 31, HOW MUCH WIHT THE
TOTAL OF SHIPHING AND HADLING? THE TOTAL COMPLETE OF THE TOWER BLACK
PLEASE SEND ME ALL INFORMATION IN MY E-MAIL

ATT" HIRAM FROM" PUERTO RICO

Answer:
This guy sent me three copies of this. He got my usual "sorry, I don't sell things" reply. I don't bother replying to the credit card scammers who regularly e-mail me to try to buy 100 CPUs, but this chap didn't sound like one of them.

You cannot tell me that this is just someone who doesn't speak English too well.

I don't know what he's on, but I think I want some.

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)