Disk Drives Explained 132
CowboyRobot writes "Magnetic disk drives are one of those things I usually take for granted without thinking about, but I recently realized how little I understood about how they really work. ACM Queue has an article from their 'Storage' issue titled, 'You Don't Know Jack About Disks', which does a very good job of explaining exactly how magnetic disks have evolved since the 70s and how they work today."
Re:just in time... (Score:1)
Re:just in time... (Score:1)
Re:just in time... (Score:2)
Re: (Score:1)
Re:just in time... (Score:2)
In the beginning:
CRT storage - a special CRT tube would store dots on the phospher of the tube, kinda of like a storage oscilloscope stores a waveform, only it stores dots.
Core memory - little doughdots of iron ferrite in a basketweave of little wires. Each one was a bit when magentized or a zero when no.
Magentic drums - a cylinder instead of a platter.
The only two I know from more recent times to have actually made it to market are "RAM drives" (very expensive but very fast)
Re:just in time... (Score:1, Insightful)
Re:just in time... (Score:1)
Re:just in time... (Score:1)
Re:just in time... (Score:1)
Quite an insightful paper (Score:1)
What kind of controller interface do they (thumb drives) use? ATA, SCSI or something else?
Re:Quite an insightful paper (Score:1)
Re:Quite an insightful paper (Score:1)
Re:Quite an insightful paper (Score:1)
Re:Quite an insightful paper (Score:1)
Re:Quite an insightful paper (Score:1)
Nintendo Gamecube (Score:3, Interesting)
Now thats a neat idea
Rus
Re:Nintendo Gamecube (Score:5, Informative)
Re:Nintendo Gamecube (Score:1, Interesting)
Re:Nintendo Gamecube (Score:2, Informative)
Re:Nintendo Gamecube (Score:3, Funny)
Re:Nintendo Gamecube (Score:1)
Re:Nintendo Gamecube (Score:1)
Re:Nintendo Gamecube (Score:1)
Re:Nintendo Gamecube (Score:1, Funny)
Re:Nintendo Gamecube (Score:2, Informative)
It reads the disk from edge to center, which is the opposite of most other devices. There were a few very early CD players that did this too, and they weren't able to play CD singles.
Funniest /.'ed message (Score:3, Funny)
So... anybody got a mirror?
Re:Funniest /.'ed message (Score:2)
Re:Funniest /.'ed message (Score:2)
Re:Funniest /.'ed message (Score:5, Funny)
Yea, that is exactly how hard disks *don't* work.
Re:Funniest /.'ed message (Score:3, Funny)
Or is it a message from the future?
Man, I can't wait for T4.
Re:Funniest /.'ed message (Score:1)
Why? Because T3 Sucked so Bad!?
Re:Funniest /.'ed message (Score:2)
A bit more history (Score:5, Interesting)
To take the IBM mainframe example he quotes: yes, IBM originally used a CKD (count-key-data) architecture and this was still preferred in the late 1970s for highest performance applications. However, in the last 1970s, IBM already provided FBA (fixed block architecture) disk drives such as the 3370. These moved intelligence of disk geometry into the disk controller and were quite easy to program.
Other mainframe and minicomputer manufacturers had innovative schemes during the early 1980s.
Re:A bit more history (Score:4, Insightful)
The real beauty of CKD was the "K" or "key" field. If you wrote data blocks with keys, you could then ask the disk controller to search for a given key while your program was executing other code. The controller would find the matching record, read it into storage and interrupt when it was done!
Nowadays most mainframe DASD is really RAID-1 or RAID-5 SCSI arrays that emulate CKD under the covers. With gobs of RAM and the introduction of "dataspaces", the usefulness of CKD is debatable, but like other legacy interfaces, CKD will be a long time dying.Re:A bit more history (Score:2)
Indeed, and actually 512K was a pretty large mainframe in the early '70s. I remember working with a 370/115 with only 64K and a 370/145 with originally 256K. The 370/145 was running VM/370 with DOS/VS, MVS and VS1 guests, as well as CMS users. As you can imagine, performance was not stellar!
Re:A bit more history (Score:2, Informative)
Re:A bit more history (Score:3)
I'm not saying that it is a bad idea to do this in hardware, but it is just one more thing that was invented long ago on mainframes and is now "new" for PCs.
I'm still convinced that in the long
Re:he forgot to mention..... (Score:2)
And to think we've reached ATA-133/Serial ATA hard drives storing twenty thousand times what that 10 MB hard drive can do and at many, many times the access speed. And all in a drive that is 1/3 the height and 2/3 the width of that original 5.25" drive.
Re:he forgot to mention..... (Score:1)
Re:he forgot to mention..... (Score:2)
Re:he forgot to mention..... (Score:3, Interesting)
The problem is that they don't know how much disk space you have, since it depends on the compressability of the data. Sometimes you would need to write something large to the drive, and the installer would tell you that there's not enough space, although it would have fit. That happens because some data compresses really well. A MP3 won't compress at all, but something like a 16 color image might compress really
Magentic disk drives are bad for environment (Score:5, Insightful)
Furthermore the rare element production takes often place in very anarchic countries like Kongo or Liberia. Usually warlords and local terrorists use the money from the disk drives rare elements to finance their blood raids and terrorship.
That's btw the reason why the US were setting up Kabila in Kongo. This guy was killed, but only because the French were more clever.
So, instead of this old technology which is going to be phased out in 5 years anyway, you should use more modern flash/ram disks and DVDs for data storage, just for moralic reasons.
Think about it: If you refuse to buy bananas or big name brands because of the cruel, inhumane exploitation of the third-world workers, then you should do the same in IT and avoid disk drives.
Still some ways from HD replacements. (Score:3, Informative)
I think within the next 15 years we will finally see the breakthrough that will essentially turn our primary storage into physically-removeable cartridges of solid-state non-volatile memory storing over 250 GB of data on a cartridge somewhat smaller than the physical dimensions of a 3.5" floppy drive. And unlike today's non-volatile memory, the new solid-state memory can b
Re:Still some ways from HD replacements. (Score:3, Informative)
Really, why does configuring non-mechanical devices so long? Why does the bios check take so awfuly long? Shouldn't a mobo that has a bus running at 133MHz actualy be up in milliseconds?
Re:Still some ways from HD replacements. (Score:1)
Also it wouldn't be impressive if there weren't alot of churning to effectively turn on a computer.
What you really have to question is why you have your mobo do the PNP setup in a matter of a second then linux still takes about 20 seconds to boot [thereabouts I've never really timed it].
Tom
Re:Still some ways from HD replacements. (Score:2)
Instant POST is exceptionally handy on laptops, where every second POSTing can be wasted battery life in many cases.
Re:Still some ways from HD replacements. (Score:2)
Re:Still some ways from HD replacements. (Score:1)
I wisht memtest86 or something similar was included in the BIOS, though.
Re:Still some ways from HD replacements. (Score:1)
Which causes heat and requires alot of expensive memory. Heck I would settle for 50GB of 5MB/sec memory which is all my IDE harddrive can write anyways.
Of course 5MB/sec wouldn't be popular [even though you could effectively make it with ram from the early 90s]. Which is why you lie, it isn't 5MB/sec its 41943040 bits/sec. Now that's impressive!
Tom
Re:Still some ways from HD replacements. (Score:2)
I don't think the solid-state drive I suggested is going to run at the same speed as main system RAM! =)
What I am thinking of is something more like the memory used on CompactFlash and SD memory cards, only with vastly improved durability and 250 GB capacity. Because you don't have to go through the mechanical process of physically writing and reading data on a spinning disk, such a drive could load the OS is a small fraction of the time it needs now even with today's fastest ATA-133 or Serial ATA har
Re:Still some ways from HD replacements. (Score:1)
A smarter idea would be to have a high capacity li-ion battery backup that recharges when the computer is on. Eventually the battery will die which means making it hot-swappable [e.g. while the machine is on] would prove useful.
My computer is on 99% of the time so the battery essentially would never be used [except for power outages and the like].
In the end a battery backed solution would prove more practical for durability [e.g. you can re-wri
Re:Still some ways from HD replacements. (Score:1)
The other day I came across this discussion [acmqueue.org] between Jim Gray (MS Research) and David Patterson (Pardee Prof. at UC Berkeley) suggesting among other things that if the disks get much bigger (Terabytes) they're likely to be serial-access rather than random-access (the return of mag-tape, but flatter, because that way you could read a 20TB disk in a day instead of a year), and the return of sneakernet (for terabytes of data,
Re:Magentic disk drives are bad for environment (Score:1, Funny)
The only reason the parent was modded "Insightful" was that he spelled Congo with a 'K'.
Remember, alternate spellings always mean that the writer knows the 'real' story.
Re:Magentic disk drives are bad for environment (Score:1)
Does that alternate spelling theory go for this gem as well? ;-)
Re:Magentic disk drives are bad for environment (Score:2)
There's a little too much emphasis on the incoming end of the digestive tract. I tend to focus on the outgoing end, and it has proven to be quite lucrative over the years. Here's an example:
When I first began investing, I hypothesized that the best sector to be in for long term growth would be toilet sanitation/plumbing fixtures...cos you have growing wealth in developing powerhouses like China and India and the first thing people want when they co
Re:Magentic disk drives are bad for environment (Score:3, Insightful)
Take away the mining industry, and what do you have? A lot of now-unemployed miners with NO other work available, and reduced cash flow in a country that's already strapped, thus
Re:Magentic disk drives are bad for environment (Score:1)
Unless english is not your native tongue, someone claiming to have superior intelligence (as your tagline clearly makes this claim) should take pains to write clearly.
This would include not making up new words where others work perfectly well, I.E. "terrorship" instead of "terrorism" and "moralic" instead of "moral". Further, phrases such as "more clever" can be reduced
Re:Magentic disk drives are bad for environment (Score:1)
Small errors in spelli
Re:Magentic disk drives are bad for environment (Score:1)
beware of the high Ego :-)
To be serious I mean that, Mensa are a load of elitist loosers, if you want friends & people who like you for who you are not for some irrelevant parameter of your being, then loose the Mensa loosers.
Relevant Link... (Score:5, Informative)
Re:Relevant Link... (Score:1)
All you want to know about (Score:5, Informative)
Referenced PDF (Score:5, Informative)
On page 6 (ATA versus SCSI) Mr. Anderson (insert matrix joke here) references "ATA versus SCSI: More Than an Interface," by Dave Anderson, Erik Riedel, and Jim Dykes.
The pdf can he had here: ATA_vs_SCSI [gutenpress.org]
I thought it was quite an interesting read, and an excellent companion piece to the "You Don't Know Jack about Disks" article.
Well... (Score:5, Funny)
Aha! (Score:3, Funny)
Fatal error: Call to undefined function: message_die() in db/db.php on line 88
Yup, my hard drive did that a few weeks ago...
Slashdotted (Score:2)
Text of article (Score:3, Informative)
Figure 1 [acmqueue.org]
Figure 2 [acmqueue.org]
Figure 3 [acmqueue.org]
Figure 4 [acmqueue.org]
Figure 5 [acmqueue.org]
Figure 6 [acmqueue.org]
Figure 7 [acmqueue.org]
Figure 8 [acmqueue.org]
Figure 9 [acmqueue.org]
Magnetic disk drives have been at the heart of computer systems since the early 1960s. They brought not only a significant advantage in processing performance, but also a new level of complexity for programmers. The three-dimensional geometry of a disk drive replaced the simple, linear, address spacetape-based programming model.
Whatever happened to cylinders and tracks?
Traditionally, the programmer's working model of disk storage has consisted of a set of uniform cylinders, each with a set of uniform tracks, which in turn hold a fixed number of 512-byte sectors, each with a unique address. The cylinder is made up of concentric circles (or tracks) on each disk platter in a multiplatter drive. Each track is divided up like pie slices into sectors. Because any location in this three-dimensional storage space could be uniquely identified by the cylinder number, head (surface) number, and sector number, this formed the basis for the original programming model for disk drives: cylinder-head-sector access.
This raises the question: If that is how data is stored on a drive, why don't we still use that as the programming model? The answer is not an easy one but has its roots in the fact that this geometric model endured until the advent of the intelligent inter-faces, SCSI and ATA. [The IBM mainframe world used a slightly different model, allowing tracks to be written with records (blocks) of user-defined length. An individual track could have sectors of different sizes. As one who programmed count key data (CKD) storage, I can attest that it offers the application wonderful flexibility, but the drive design challenges have relegated it to history. Also, a purist might point out that standards etiquette calls for SCSI to use blocks and ATA to use sectors, but I will use these terms interchangeably.]
Disk-interface protocols implement the programming model for disk drives. The earlier drive interfaces did little more than expose signals to let the host directly manipulate the drive mechanism and initiate a transfer of data at a target location. This put the task of dealing with all the low-level idiosyncrasies peculiar to drives on the programmer charged with developing the firmware or software support.
The introduction of ATA and SCSI fundamentally changed this. Table 1 describes the migration of intelligence from host to drive in the evolution of the more important interfaces. With these intelligent interface protocols, the task of programming the use of disk drives became much easier. Disk-drive designers also gained a freedom of action needed to design higher-capacity and higher-performance drives. I will look at just how drive designers used this freedom of action in their designs, but it is important first to understand the fundamental goal behind drive design: increasing areal density.
DAVE ANDERSON, director of strategic planning for Seagate Technology, has more than 20 years of experience in the computer field. His responsibilities include overall strategy for all disk interfaces. He has been involved in the architecture and planning of Fibre Channel since it was first proposed as a disk interface. He was also one of the principal architects of the disk XOR commands that are now a part of the standard
error (Score:1)
Of course... typical php site.
you know? (Score:1)
*ducks_and_hides*
Computer Science coursework (Score:1)
re: Disk Drives Explained (Score:1)
They get bigger, they get faster, they get quieter. Everyone wants a bigger, faster, quieter one. What else is there to know?
Re:This is a great paper. (Score:3, Interesting)
That's simple; "What computer were you planning on buying?"
I don't know your experience, though this is mine;
I've put computers together for people, I've given them advice, I've even given them a store plus model name plus a few suggestions. I've warned people off of buying a brand, and told them that there are pro
Re:This is a great paper. (Score:2, Interesting)
Re:This is a great paper. (Score:5, Insightful)
If someone asks me which computer to buy, I'd like to think I could assess their level of technical understanding and their needs in under two hours, provide encouragement, explanation, and make a useful recommendation. Your attitude alienates people.
Re:This is a great paper. (Score:2, Interesting)
a) have no clue about the difference between hard drive space and RAM memory.
b) "just want to get online", but have no clue what that really means.
I've set a few people up with old PII/350's, just to get them a computer in the first place... it gets them online and they can browse the web, email, etc. I tell them, rather than spend $1000 today to buy a machine, spend it next year and use the 350 to get a clue about
Re:This is a great paper. (Score:2, Insightful)
I get similar requests about "what computer should I buy" at work, and usually a 350 is about all they need. But I still get "Is this the fastest you can get? Because I don't want to upgrade in 2 years". Well they'll probably upgrade in 2 years anyway or they wont reguardless of speed. So I just recommend they get some computer with an Athlon (not Duron) and that they don't spend more than $650 on it. Most oth
Re:This is a great paper. (Score:2)
My method is to start with the best motherboard they can afford, a case and power supply that will last the life of the system, and as much memory as they can manage. Then if they need to economize, skimp on the easily-upgraded stuff (such as HD size, or video card if they don't need the
Re:This is a great paper. (Score:2)
Re:This is a great paper. (Score:1)
Depending on what kind of software you write, you only have to deal with storage devices on a filesystem level, so whether they're IDE or SCSI devices isn't very relevant to you. I have no clue what ZBR is either, though.
(Yes, I'm aware you're just pulling that story out of your ass.)