Dan's Data letters #8

Publication date: 5-Nov-2002.
Last modified 03-Dec-2011.

 

Standby drain?

Having recently moved into a student house in my 2nd year of university, there is much concern over keeping our electricity bill down and thus saving money. Among the steps decided to reduce power consumption was the issue of leaving computer monitors on standby as against switching them off.

Is it better to switch a monitor off than leave it in standby mode? How much energy is a monitor getting through when in standby mode? Where is it putting all this energy if it's not displaying anything on the screen?

Peter

Answer:
In standby, monitors should only draw a few watts. The Energy Star spec for monitors requires that they step down to less than 15 watts, and then less than 8 watts, if they have the full two levels of standby. Modern screens can be expected to drop to less than five watts in standby. If five watts makes a significant difference to your power bill, I don't know how you managed to afford computers in the first place.

Note that a monitor that's just displaying a black screen, but isn't in standby mode (standby mode should be indicated by the monitor's power light flashing or turning orange or something) will still have all of its electronics powered up, including the power-sucking tube assembly. It will still, therefore, be drawing pretty much full power.

When a monitor's in standby with its tube powered down, it's still it's running the circuitry that allows it to power up again when the computer tells it to. And, as the nearest physics student should be able to tell you, all of the energy that goes into the monitor ends up as heat.

(This, by the way, means that computers make perfectly good electric heaters. A single PC doesn't have the heat output of even a small fan heater, but two or three PCs kept on all the time will be enough to keep most rooms comfortably warm, cost no more to do it than an electric heater of the same power would, and be able to do much more interesting things with the electricity on the way.)

 

Jumper hunting

I just bought a second hand PC to upgrade my mother's old computer. Problem is, the BIOS is password protected and I can't find how to reset it. The motherboard is a Gigabyte GA-6BXC Rev 1.7. I found a manual that says it can be reset using JP11, but I cant find JP11 on my motherboard. I have tried removing the battery, but it still boots with the BIOS password protected.

Kiran or Trish

Answer:
There's no mention of CMOS clearing in the manual for the v1.0 revision of this board, but the manual for the v1.9 revision turns out to have v1.7 info in it as well (both manuals are available in PDF format from here), and mentions JP11. But, as you say, doesn't tell you where it is. I, however, happen to know where it is, thanks to a reader who volunteered the information after I first put this page up; it's apparently between the second and third ISA slots from the edge of the board, next to the case connector pins.

Remember to turn off the hard power switch on the back of the computer, or unplug the computer from the wall, if the PSU has no hard power switch, before you use the jumper. If you can't find it, you can achieve the same result by turning off/unplugging the PC and then removing the lithium coin cell backup battery from its holder next to the PCI slots. Leave it out for several seconds, put it back in again, and the CMOS should be cleared. If doing that didn't work before, it's probably because you didn't remove the battery for long enough, or because you left the computer plugged in; the motherboard uses the standby supply line from the PSU to maintain its CMOS contents.

In other news, the Table of Contents entry for section 1.2 of each of the PDF manuals mentioned above lists that section's title as "KEY FEATHERS".

Thank you, and goodnight.

 

SCSI salvage

I have a an old HP Kayak XA workstation. It has a SCSI card already in it, and a 4.3Gb IBM drive. I was planning to go down to an auction and pick up three more 4.3Gb SCSI drives, to make it a server for the home LAN. I was going to RAID 0 them, so I was wondering exactly how reliable these drives would be. I mean, they're far from new, and they have a limited lifetime. Since the primary purpose of the server is to back up my main system when I go LANing, the reliability is a big-ish issue, but I don't want the loss of space associated with RAID 1 or 0+1.

Also I was curious, can you install Win2000 Server on a software RAID array created in Win2000?

Byron

Answer:
Don't put important data on second hand drives. Ever. You don't know where they've been. RAID 0 sets of second hand hard drives, where one failed drive will take down the whole stripe-set, are obviously an even worse idea. I don't know much about Kayak XAs, but it's my understanding that they come with either a SCSI controller or an ATA one. So you can't just plug in a new commodity IDE drive, which is what I'd recommend if it were possible.

You're not going to find a cheap new SCSI drive, of course, so the best option I suggest is that you find a single used SCSI drive that's big enough for the data you want to store, and use that. Leave the original drive as your boot device, for simplicity.

Regarding the installing-on-a-RAID-array issue - Win2000 can't have its system or boot partition on a software striped volume, but I think mirrored volumes are OK.

 

Cheapie case

I've recently purchased a "Ritmo" case with two fans, front USB ports and a 400w PSU. It was only $AU90... cheap, I know.

Will I be able to trust it to run an Athlon XP 2200+, an Asus A7V8X motherboard, 512Mb PC2700 RAM, a GeForce4 Ti4200, a 60Gb Western Digital HD and a 20Gb Seagate HD? Oh, and a Sound Blaster Audigy? Is there any cheap, practical way to test the PSU to see what it can produce, before frying all my shiny new components?

Brad

Answer:
If that's a real 400 watt PSU in that case, it'll be fine. Heck, if it's a real 300 watt PSU, it still ought to be perfectly OK.

If it's a cheap piece of crap with a "400 watts!" sticker on it, though, all bets are off.

Many PSUs can't deliver what they say they can - see here for amusing examples. Now, even a stacked PC isn't likely to actually have a more-than-300-watt continuous power draw, but if any PSU's not going to live up to its label by a large margin, then an allegedly-400-watt one in a 90-Australian-dollar case is that PSU.

There's no easy way to test a PSU's capacity. You can make like Tom's Hardware and load up the rails with power resistors, but you probably don't have a bunch of low-value power resistors sitting around. Gimcrack power resistors can be made out of fencing wire hanging in buckets of water, to name just one of a variety of mad-scientist options; all you need to make it all work is a multimeter to help you guesstimate your resistor values. But that isn't a five minute job either.

In any case, a dodgy PSU is unlikely to barbecue your computer, even if it dies. It's much more likely to never actually die, but instead just give you a really annoyingly flaky computer, until you swap the PSU for something better.

 

Network mystery #7623

I have four PCs running Windows 2000 Server. Connect them to a cheap 5-port palm hub, and they work well. Swap the hub for an eight port mini switch (I've tried CNET and LanTech switches), and the four PCs are no longer networked together. Can't even ping each other.

Swap back the hub, and network connectivity is back.

If I use the switch with two PCs running WinXP, they work just fine.

Network settings/installations on the four PCs are default, and I only gave each a fixed IP and subnet mask.

There is nothing to configure on the switches themselves. I'm thinking that there must be some service or setting in Win2000 that's confusing the switch.

Norman

Answer:
I'm assuming you're using the same network cables for the computers that work as for the computers that don't. If not, then a dud cable or two could be the problem, especially if the hub is 10BaseT only and the switch is 10/100BaseT.

I'm also assuming you're not plugging any PCs into an uplink port on the switch by mistake. That ought not to shut everything down, I think, but it sure wouldn't help.

I'm further assuming that you haven't just been unlucky enough to get two dodgy switches. The fact that the XP boxes works suggests that that isn't the problem.

Things you can try:

  • Update everything's network card drivers. The drivers can, conceivably, stop a network card from correctly negotiating with the switch. A 10BaseT hub doesn't require speed or duplex negotiation; a 10/100 switch does.
  • Lock all of the network cards down to 10-megabit-per-second, half-duplex mode in their Properties. Again, if it's something to do with the higher speed or duplex negotiation that's causing the problem, this ought to solve it.
  • Turn everything off, with the network all plugged together. Turn on the switch. Now turn on the PCs. If the network adapters aren't negotiating properly when "hot-plugged" (unlikely, but possible), this will solve the problem.
  • Try different network cards. Swap the ones from the XP boxes into a couple of the 2000 boxes and see if it helps. If the 2000 boxes have built-in NICs, you can disable them in BIOS setup and try a PCI-card NIC.

Thing you can try that probably won't work:

  • Shuffle cables around. You've probably already done this, but if anything can see anything when you plug everything into different ports on the switch from the ones they had before, then that indicates eldritch cable problems; replace (and/or shorten) cables until the problem goes away.

 

4+4+4=5?

I have a Microsoft developer CD which contains the following:

Windows 2000 Professional
Windows 2000 Server
Windows 2000 Advanced Server
Windows 2000 Security Rollup Package 1

(All on one CD-ROM, yes CD-ROM, not DVD-ROM)

When I look at the properties of the CD from Windows Explorer, it says the disc's "Used space" is 510,263,296 bytes (486 MB).

However, when I copy this CD to a hard drive - simply select all files and drag to a folder on C: - the copied files take up 1,239,522,616 bytes (1.15Gb). The "Size on disk" is 1,289,445,376 bytes (1.20Gb)

These are full working versions of all 3 Windows 2000 Operating Systems straight from Microsoft. On the CD, each OS folder looks exactly like the single CD with that operating system, and the number of files are exactly the same (eg. Microsoft Windows 2000 Server CD - 7817 files, Win2000_EN\ENGLISH\WIN2000\SERVER folder on above CD - 7817 files).

My question is, how is it possible to fit 1.15GB of data on a CD that then only shows up as only 486Mb? I have tested duplicating this CD, both using a proper CD duplicator and also using software with a burner, and the duplicator can copy the CD no problems, but using software and a burner, there is just no way it can fit all the files back onto a CD-R.

I have noticed that there are a large number of files on the CD, most of which are small (less than 1Mb); for instance, in the folder Win2000_EN\ENGLISH\WIN2000\SERVER\I386 there are 4646 files and only 18 are greater than 1Mb. Also, I have tested copying the files to NTFS and FAT32 partitions, with roughly the same results (the above size information is from an NTFS partition).

I have been stumped with this one for a long time and have mystified a lot of people with the logistics of this problem. Any insight you could provide that would help this mystery would be greatly appreciated.

David

Answer:
At first, I thought this might be related to slack space, but that doesn't actually make sense.

Slack space is the space that's left over in the last disk cluster taken up by a file. Disk space is allocated by the cluster; the minimum amount of space a file can take up is one cluster. Your NTFS hard drive probably has four kilobyte clusters; make a one byte file, and it'll take up four kilobytes on the disk. Make a 4097 byte file, and it'll take up eight kilobytes on the disk. Make 1024 one byte files and they'll take up four megabytes.

The average amount of space wasted by files on a 4kb-cluster drive is, therefore, two kilobytes per file. A collection of files with a given total amount of actual data will waste more and more space as the file size falls, unless many of the files are whole multiples of the cluster size in size, or not far short of a whole multiple.

Windows' Properties display for a bunch of files shows you the "Size", and also the "Size on disk" for the files. "Size" is the actual amount of data; "Size on disk" is the total disk space taken up, including slack space.

This explains the 49,922,760 byte discrepancy between the "Size" and the "Size on disk" of the files once you've copied them to your hard drive. Three directories each with something like 8000 files in them gives a nice neat two-odd kilobytes wasted per file, which is what you ought to see from four kilobyte clusters. So there's nothing weird going on here.

The weird thing is, as you say, the discrepancy between the amount of CD taken up - the absolute bleeding-edge maximum possible capacity of weird super-over-burned exotic CDs that many drives can't read is 900Mb, but this CD's a perfectly normal one that isn't even close to the old "74 minute" 650Mb ceiling - and the amount of hard disk taken up by the data after you copy it. CD-ROMs only have about one kilobyte slack per file, but you'd need a rather large negative amount of slack per file to make up the difference in this case, and I doubt Microsoft have developed negative-slack technology yet.

What is actually happening is, basically, a neat little hack, which may be familiar to anybody who's used to dealing with Real Operating Systems in which hard and soft links are everyday tools.

The three operating systems on your CD share lots and lots of files. There is not a big difference between different versions (Home, Server, Advanced Server...) of the various NT-series OSes; the more expensive versions come with more extras and less deliberate crippling, but they're basically the same thing.

So what Microsoft have done is jimmy the CD file system so that various duplicate files in the three directories are actually made up of the exact same data on the disc - the disc's table of contents points to the same thing for different files. The total amount of actual data on the disc can, therefore, be 486Mb, but not much of that data is different. Most of it is duplicated stuff, the same in all three OSes. When you copy the files to the hard drive, you copy the same CD data three times, to three different directories (maybe only two times, for some files), where it ends up as sets of separate but identical files, all taking up hard drive space.

The utility Microsoft use to make these discs, automatically linking duplicate files, is called CDIMAGE.EXE, and as it turns out it's not hard to find.

To duplicate these sorts of CDs without using dedicated copying hardware, just do an ISO copy, either with a CD burning program that can read and write the ISO-9660 filesystem on the fly, or by reading the CD to an ISO file on your hard drive and then burning a new CD from that file.

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)