Tannin
Storage? I am Storage!
OK, now you've gone and pushed one of my buttons.
Cliptin, please step foward, salute and accept the much coveted Tannin Order of Merit (with crossed f-nodes). You, sir, have said the first sensible thing about hard drive cache I've read since at least Tuesday.
This is the whole point about hard drive cache. It ain't a cache, it's a buffer.
What's the difference? Cache is a small amount of high-speed storage which is organised in such a way that the outside world (i.e., the external device) "thinks" the entire storage device is actually as fast as the cache is.
A buffer, on the other hand, is a small amount of high-speed storage that provides elasticity to the interface between to different devices.
Hard drives don't have caches - they have buffers.
Huh? Isn't that just two different words for the same thing, Tannin?)
(It's two different purposes, Tea.)
(But it's still the same object: some RAM and a bit of clever firmware. So what if people want to call it cache? It's just a word, it doesn't change the function of the object, or it's nature.)
(Yes it does. And what's more, if you misunderstand the purpose of an object (such as a hard drive buffer), you will quite likely go right ahead and misuse that object.)
(You are splitting hairs.)
(No I'm not. Purpose is integral to the object. You have to understand the purpose or else you can't understand the object you're thinking about. And if you can't understand it, then you can't use it properly. Look: what's that thing over there?)
(A hard drive.)
(No it's not.)
(It's an ST-157A, a Seagate 40MB stepper drive. Six heads, IDE interface, Type 17, if I remember correctly.)
(And from that, you learn what?)
(That this is an expensive object with a useful working life of about four years that you can plug into a computer and store data on, that it is delicate and static-sensitive, and that it wasn't one of the great drives when it was new in 1991 and by any rational standards you ought to throw the damn thing away.)
(And that's where you are wrong, Tea. It used to be a hard drive, but like any other class of object, you can't understand it properly unless you look at it in the proper context of its actual purpose. Look again.)
(It's not a hard drive. It's a doorstop. And a very good doorstop too. It has an estimated useful working life of over fifty years, it cost absolutely nothing at all, it won't ever be plugged into a computer, it is not useful for storing data, it is completely insensitive to static electricity, and you could drop it onto a concrete path without damaging it in the slightest.)
(OK. I take your point. So what you are saying is that the purpose of an object is critical to understanding that object.)
(Yes.)
(And that by treating a hard drive's buffer as if it were actually a cache, we risk making the same sort of mistake that I would make if I were to try to use that Seagate doorstop of yours as a hard drive, and your X15 as a doorstop?)
(Oh my God! Don't even think about it!)
(Oh I won't. I'd hate to see you go down in history as "Tannin the Fratricide".)
In another thread i said:Cliptin said:There is no technical reason not ot increase an ATA drives disk cache to 64M or 128M really. If they can write firmware algorithms to take advantage then a highbandwidth interface becomes more important.
I don't understand much about the internal workings of hard disks, so here goes: wouldn't increasing the on-disk buffer to something that high increase the chances of serious data loss after a power failure?
You say, "not really ... the operating system could just as easily be caching 64 Mb worth of data." To which I reply, "but what about a journaling file system?" If it's the OS that's doing the caching, at least it has the chance to manage the journal information such that data loss will be minimized. But if you put that cache on the brainless disk, well ... you're screwed.
Am I close?
Cliptin, please step foward, salute and accept the much coveted Tannin Order of Merit (with crossed f-nodes). You, sir, have said the first sensible thing about hard drive cache I've read since at least Tuesday.
This is the whole point about hard drive cache. It ain't a cache, it's a buffer.
What's the difference? Cache is a small amount of high-speed storage which is organised in such a way that the outside world (i.e., the external device) "thinks" the entire storage device is actually as fast as the cache is.
A buffer, on the other hand, is a small amount of high-speed storage that provides elasticity to the interface between to different devices.
Hard drives don't have caches - they have buffers.
Huh? Isn't that just two different words for the same thing, Tannin?)
(It's two different purposes, Tea.)
(But it's still the same object: some RAM and a bit of clever firmware. So what if people want to call it cache? It's just a word, it doesn't change the function of the object, or it's nature.)
(Yes it does. And what's more, if you misunderstand the purpose of an object (such as a hard drive buffer), you will quite likely go right ahead and misuse that object.)
(You are splitting hairs.)
(No I'm not. Purpose is integral to the object. You have to understand the purpose or else you can't understand the object you're thinking about. And if you can't understand it, then you can't use it properly. Look: what's that thing over there?)
(A hard drive.)
(No it's not.)
(It's an ST-157A, a Seagate 40MB stepper drive. Six heads, IDE interface, Type 17, if I remember correctly.)
(And from that, you learn what?)
(That this is an expensive object with a useful working life of about four years that you can plug into a computer and store data on, that it is delicate and static-sensitive, and that it wasn't one of the great drives when it was new in 1991 and by any rational standards you ought to throw the damn thing away.)
(And that's where you are wrong, Tea. It used to be a hard drive, but like any other class of object, you can't understand it properly unless you look at it in the proper context of its actual purpose. Look again.)
(It's not a hard drive. It's a doorstop. And a very good doorstop too. It has an estimated useful working life of over fifty years, it cost absolutely nothing at all, it won't ever be plugged into a computer, it is not useful for storing data, it is completely insensitive to static electricity, and you could drop it onto a concrete path without damaging it in the slightest.)
(OK. I take your point. So what you are saying is that the purpose of an object is critical to understanding that object.)
(Yes.)
(And that by treating a hard drive's buffer as if it were actually a cache, we risk making the same sort of mistake that I would make if I were to try to use that Seagate doorstop of yours as a hard drive, and your X15 as a doorstop?)
(Oh my God! Don't even think about it!)
(Oh I won't. I'd hate to see you go down in history as "Tannin the Fratricide".)