5 ms·
I don't know about this persistent memory thing, but I sure want one of the tape drives this guy uses that can seek to anywhere on the tape in ≈100ms. (It says
by kragen 7y ago
I don't know about this persistent memory thing, but I sure want one of the tape drives this guy uses that can seek to anywhere on the tape in ≈100ms. (It says ~100ms, but I feel sure that that's a typo — ~100 is -101, after all, and it's even more improbable that his tape drive is a time-travel device.)
- sudosysgen 7y agoThis is a good point. Tape drives can have latencies in the seconds, if you're doing anything but sequential operations.
- smueller1234 7y agoMinutes. And depending on where I'm the world your tape is relative to the drive, days! :)
- perl4ever 7y agoWell, hopefully you have all your tapes in one location and a robot to handle them... But wait, there's something better: "BETTER THAN TAPES A virtual tape system is a storage system that uses fast disks to emulate physical tape drives. Virtual tape systems look just like tape drives to the OS."
- smueller1234 7y agoUnless you deliberately ship them off-site to a vault. Or the tape libraries are too small such that you'd rather eject pure DR use cases tapes.
- pbalcer 7y agoOP here, yes - you are right, mea culpa. I'll try to correct that particular picture. Thanks for pointing it out.
- kragen 7y agoWhile you're at it, maybe you could fix the Y-axis scale on that graphic. It's more like something from Soviet-era Pravda than something from a company I'd want to design my CPU. Logarithmic scales are all very well, that 10–100 μs is absolutely not the same distance from <1 μs* as ~80–100 ns is. (And for some reason the latency numbers are labeling horizontal separator lines, while the memory types are in between those lines, falsely suggesting that, for example, "DDR DRAM" occupies the range between 1–10ns and "~80-100ns".) Also, "μ" is the SI symbol for "micro", not "u". And what is "Bock Granularity"? The whole graphic is just a train-wreck of carelessness and unconcern for accuracy. It reframes the entire post as an exercise in marketing (to people without critical thinking skills) rather than a source of reliable technical information.
- Arnavion 7y ago>It says ~100ms, but I feel sure that that's a typo — ~100 is -101 Using tilde to mean "approximately" is way more common than using it to mean "bitwise-negation in two's complement", not in the least because the latter meaning is specific to programming and even more specific to certain programming languages.
- cogman10 7y agoNot even programming language but in fact hardware architectures. While everything now-a-days does twos compliment there were a few early architectures that did ones compliment and a few that did just signed bits (Heck, IEEE 754 floats use signed bits, not two's complement. But that's mostly because there are no advantages AFAIK to a two's complement float)
- kragen 7y agoI would be surprised to learn that there were implementations of C on sign-magnitude or one's-complement architectures that implemented "~" as anything other than bit inversion interpreted in two's-complement, and yet were sufficiently compatible that they could run large C programs developed on more traditional architectures. Are you familiar with any? C does not permit the application of "~" to floating-point numbers. JS does, but it converts them to integers first, and interprets it as bit inversion in two's-complement.
- AnimalMuppet 7y agoIf I understand correctly, ~ means raw "invert the bits". Two's complement doesn't enter into the picture - it relates to how the bits are interpreted, which is a layer above what ~ does. One's complement, two's complement, unsigned... we don't care, just invert the bits.
- kragen 7y agoYou're reasoning from a sort of Platonic perspective. But when people are writing compilers, among the tradeoffs they are facing are whether to try to make their compiler compile an existing popular language, with its known flaws, or a better language with those flaws fixed, one more to their taste and better suited to the machine it's being run on. The advantage of compiling an existing popular language is that you can run software written in that language. (If your compiler targets a new machine, as most machines were at the time one's-complement was still seen as a reasonable design choice for integers, this may be the only way you can run that software on that machine.) Unix was written on the PDP-7 in 1969, rewritten for the PDP-11 in I think 1972, and ported to the Interdata 7/32 at Wollongong and the Interdata 8/32 in New Jersey in 1977, the IBM 370 in 1977, the VAX in 1979 (32V), and the 68000 in 1982 (4.2BSD). Around that time Unix derivatives like XENIX (1984) started to spread the Gospel to the microcomputer world: the Z8000 and the 8086. Every single one of these processors was two's-complement. (I checked.) It seems unlikely to me that a C compiler written with the objective of running the existing body of Unix software, which is what was written in C at the time, would be able to get away with "we don't care, just invert the bits", because in practice most of the software you wanted to run would be written with the assumption that it was running on a two's-complement machine. There were some early "C" compilers that weren't compatible enough to compile Unix software — for example, BDS C (not BSD), now public domain, and the Tandem C compiler, for example, although those both ran on machines that happened to be two's-complement. But was there ever a C compiler that was sufficiently compatible to compile existing C software, but that implemented "~" as you suggest? Maybe, but I would be surprised.
- craftinator 7y agoOh, the pedantry is strong on HN today!
- kragen 7y agoWhat is your comment intended to add to this discussion? It's not pedantry to point out that tape drives do not have hundred-millisecond access latency. That's low by two or three orders of magnitude; hardly a pedantic distinction — it's as large as the difference between SSDs and spinning rust. By contrast, it would be pedantic to complain, for example, that many spinning-rust disks now have access latencies closer to 8ms than to 10ms.
- google234123 7y agoSorry but using tilde to mean approximately is extremely common. Most people don't know who to get the double tilda symbol. It's obvious that the author wasn't suggesting negative time.
- kragen 7y agoThat's what I said in the first place, google234123.