7 ms·
The outside investigation of SoftRAM 95 (2021)
- stop50 4y agoNo mention that all started with the german it magazine c't. All others either ignored it or sung high praises of the program until the magazine ran the program and found out that it made the computers even slower.
- TazeTSchnitzel 4y agoThat might be the case for the tech press, but is there any reason to doubt Raymond's claim he started looking into it because of support calls?
- eesmith 4y agoThe timing certainly suggests parallel investigations. Chen writes: > In late 1995, I was asked to investigate the product because it was causing Windows 95 machines to crash Wikipedia at https://en.wikipedia.org/wiki/SoftRAM https://en.wikipedia.org/wiki/SoftRAM writes: > In December 1995, the German computing journal c't disassembled the program and determined that it did not even attempt to do what was claimed. citing a December 1995 c't publication.
- gfosco 4y agoA previous HN thread on SoftRAM: https://news.ycombinator.com/item?id=21768268 https://news.ycombinator.com/item?id=21768268
- throwaway2037 4y agoThis part is my favourite: Bonus reading: I was not the only one to do an analysis of the internals of SoftRAM 95. Some guy named Mark Russinovich also took the product apart and came to the same conclusions. I wonder what happened to that guy. He seems kind of sharp.
- scarface74 4y agoWow. He went from this (from Wikipedia) > In 1996, Russinovich discovered that altering two values in the Windows Registry of the Workstation edition of Windows NT 4.0 would change the installation so it was recognized as a Windows NT Server and allow the installation of Microsoft BackOffice products which were licensed only for the Server edition.[7] To being the CTO of Azure.
- userbinator 4y agoMS basically hired him and paid him to shut up. Now he's just toeing the company line.
- scarface74 4y agoMaking him CTO of your fastest growing division is a lot to go through to make him shut up.
- userbinator 4y agoHe wasn't hired to be the CTO immediately.
- scarface74 4y agoThats true and kind of the point. They didn’t keep promoting him just to shut em up.
- stuaxo 4y agoWould love it if he has made sure there is a similar secret switch in Azure.
- jhbadger 4y agoIt's interesting that it was apparently doing something (compressing memory pages) that made sense and was potentially useful even if poor implementation made it unstable. I remember seeing ads for SoftRAM 95, but never tried it because I assumed it was just a scam because the idea of increasing memory by software seemed so improbable.
- DominoTree 4y agoIt was written as if it would be compressing memory pages, but in reality all it did was copy them back and forth shoddily, as if they never got around to implementing a compression algorithm before shipping the software. It really was a scam. https://en.wikipedia.org/wiki/SoftRAM https://en.wikipedia.org/wiki/SoftRAM
- stuaxo 4y agoSounds like adding the critical sections would have at least stopped it corrupting data.
- justsomehnguy 4y ago> because the idea of increasing memory by software seemed so improbable DoubleSpace/DriveSpace was a thing back then, so no, idea was fine. More so, a similar product made by a... competent team actually worked[0] > It's interesting that it was apparently doing something (compressing memory pages) that made sense and was potentially useful even if poor implementation made it unstable. Poor implementation made it not unstable, it made it returning wrong data. If the thread safety were implemented then it wouldn't have anything positive but at least it wouldn't crash, even in absence of a compression facilities. Alas... [0] https://news.ycombinator.com/item?id=35414045 https://news.ycombinator.com/item?id=35414045
- PreInternet01 4y agoYeah, SoftRAM 95 was possibly the first instance of what is now known as app store spam: a heavily-advertised app that does literally nothing, but comes with significant side-effects to the stability of your system. Despite leading Windows internals experts calling this already when the product came out (e.g. SoftRAM95: "False and Misleading": https://ftp.st.ryukoku.ac.jp/pub/published/oreilly/windows/win95.update/softram.html https://ftp.st.ryukoku.ac.jp/pub/published/oreilly/windows/w...), many hobbyist pundits continued to insist this was actually a valuable product. No idea if they were paid or not, but I'm sort-of afraid they really weren't. Another instance in this category of vaporware is SpinRite. When MFM disk controllers were a thing, this tool could actually fix errors (by physically rewriting sectors) and optimize performance (by changing sector interleave). However, once IDE came along, that was all practically impossible: yet, recommendations to "fix your problem by running SpinRite" persisted pretty much into the next decade.
- darreninthenet 4y agoJust to give an opposite anecdote on that, I had a failed (IDE) hard drive several years ago that the usual tools couldn't fix but SpinRite got it going again...
- PreInternet01 4y agoGood for you. `ddrescue` or a vendor-specific tool would have been equally effective, yet a lot cheaper. It's quite well-known that SpinRite had no special access to vendor-proprietary IDE commands or anything, and thus... did nothing.
- jdlshore 4y agoSuccessfully selling an expensive product is not fraud. If it worked, it wasn’t “doing nothing,” even if there was no secret sauce.
- userbinator 4y agoSpinRite in its later versions basically is ddrescue from what I've read.
- skipkey 4y agoThere were a number of us that looked into this at the time, talking on Compuserve. I think the columnist Robert X Cringley (Infoworld maybe, it’s fuzzy) hooked me in with Mark. One of the interesting things about the disassembly was there was a pretty decent sized chunk of valid code that had no entry points, that really looked like a naïve implementation of LZ compression. I always figured that the developer just couldn’t get it working correctly, and they had spent so much money on the ad campaign that they just put no-ops in the handler table and shipped it. It’s even possible that management had no idea it was done.
- tzs 4y agoI once worked at a small software developer that had an interesting new application and was looking for a distributor. Two distributors made pretty good offers. One was a new distributor and one was Syncronys, the company that had developed and distributed SoftRAM 95. Synchronous would be able to get our product into more stores, but many of us were leery of working with a company that had previously sold a fraudulent product. We raised these concerns to Syncronys. They told us was that the fraud was done by the guy who had been in charge of engineering, who had also been the person who actually wrote SoftRAM 95, and the people on the business side of things had thought they were selling a real working product. That guy was out, and they were looking for a good product to try to rebuild their reputation. That was a bit hard to believe, because almost always it is the people at the top that do these finds of fraud. Then they told us the name of the engineer. I'll just call him X. It was someone we were familiar with. Before the founder/CEO (who I'll call F) of our company had founded our company he had co-founded an earlier company--and X was his co-founder! F had taken some time off from college to move to Silicon Valley and earn some money to be used to start his own company. There he met X, worked with X on a few consulting jobs, and together they came up with an idea and started a company. X stayed in SV to deal with the business side of things, and F came back to college to finish his final year and to recruit students to work part time for their company and then run the engineering side of things. Engineering was run out of his room at college for a few months then out of a rented house near the college. All the employees were friends or acquaintances of F (and of me) from college. At some point people started getting paid late, and when F tried to get that fixed found out that X had not been accurate in the information he'd been giving F. Things fell apart, somehow resulting in X getting whatever money there was, and leaving F with with nothing and several employees with missing pay. In light of what we knew of X from that, and from some subsequent things we'd heard about his subsequent endeavors in SV, the Syncronys thing made a whole lot more sense, and it was quite believable that the business people there were indeed taken in by the fraud. We ended up putting the matter of which distributor to pick to a company wide vote and Syncronys won by a small margin. We went with them and as far as we could tell they dealt with us honestly and did a good job.
- adastra22 4y agoIt's been almost 30 years. Why not name X?
- scarface74 4y agoWhile all “Ram doubling” software for Windows was always a scam, the original RAMDoubler for Mac wasn’t. Before OS X, you as the user had to tell each application how much memory it could use by going to “Get Info” and setting the memory amount. The memory also had to be contiguous. That means as you opened and closed apps, your memory could become fragmented and you had to close apps to free up contiguous memory. RD fixed this. Also, if you wanted to enable disk swapping (sic “virtual memory), you had to allocate enough storage space for the total amount of memory allocated. I had 10MB of RAM for my Mac LCII and an 80MB hard drive. If I wanted 15MB of memory in all, I had to preallocate 15MB of hard drive space. With RD, you only needed 5. The third technique was memory compression.
- 13of40 4y ago> While all “Ram doubling” software for Windows was always a scam I could be wrong, but Windows 10 and 11 have a memory compression feature built in, and I think it basically works the same way SoftRAM was supposed to, except with actual compression.
- comex 4y agoAs does macOS. Linux also supports it (zram), though I think most distros don’t enable it by default (could be wrong).
- rasz 4y agoRAMDoubler was Connectix, they had a series of amazing homeruns one after another https://en.wikipedia.org/wiki/Connectix https://en.wikipedia.org/wiki/Connectix
- scarface74 4y agoI bought the RamDoubler/SpeedDoubler/CopyDoubler combination. SpeedDoubler was a much better 68K emulator than was built into the first generation PPC Macs and CopyDoubler was a way of copying files in the background.
- 4y ago
- peter_d_sherman 4y ago>"Whether this is a net win depends on the memory access patterns of the applications you use. If you had an application that had 6 very hot pages, and 14 additional warm pages, then this could very well be an improvement, since the very hot pages could stay in normal memory, and the 14 warm pages could take turns occupying the two remaining normal memory pages. On the other hand, If you had an application that had 10 very hot pages, and 10 additional warm pages, then this could end up a net loss, because there aren’t enough normal pages to hold the application’s very hot pages, so you are constantly compressing and decompressing memory, and that extra time spent on compression could exceed the time saved by avoiding the I/O to the four pages that didn’t fit in RAM before." This is an excellent point! Also -- another observation (for future CPU engineers): The interception and on-the-fly compression/decompression of memory pages that were decided to be swapped out to disk -- is currently handled by additional software which implements this functionality. (zstd for swapfile, etc.) But, maybe in future computers -- this shouldn't be handled by software... Maybe a future CPU, if well engineered -- would implement page tables with extra information -- not just a bit that says "this page is present/absent in/from memory" -- but also a bit that might say that it has been compressed and cached to a special pre-determined section of memory by the CPU (and/or cached on the CPU itself) -- which also has onboard compression/decompression hardware specifically created for this purpose... In other words, it might make sense to move all of this functionality to a future CPU -- where the compression/decompression could get done completely in hardware (should be much faster than software if properly engineered) -- and if a page can't be compressed -- then the CPU hardware "knows" that -- in, or in close to real-time... Such a CPU should allocate extra data in its page tables for storing advanced statistical data about the historical "heat" of a page -- such that it could decide the best policy for it on-the-fly -- swap to disk, compress/decompress on-the-fly, or simply keep in memory and swap or compress out a different less "hot" page... Anyway, there is no doubt some future work to be done in that area... If the engineering for this was absolutely perfect -- then the net effect is that future computers would have X [MB,GB,TB,PB,?] of physical RAM like they do now -- but they'd appear to have Y [MB,GB,TB,PB,?] of RAM -- where Y is greater (much greater!) than X, and where all of that extra "compressed/virtualized" memory -- runs at the exact same speed that regular memory does now! Impossible to engineer? Well, maybe... but that would be the ideal, the pinnacle of that engineering -- if it could be obtained... And I think it would be interesting to try, no matter what the outcome -- even if the effort failed, something would be probably be learned that might help the next future engineering effort...
- vondur 4y agoThere was a similar product for the Mac at the time called RAM Doubler by Connextix. It seemed to work better than the Mac virtual memory scheme at the time.
- CharlesW 4y agoAnd for readers who may not have been Mac users at the time, RAM Doubler was legit. https://tidbits.com/2019/01/24/25-years-ago-in-tidbits-ram-doubler-debuts/ https://tidbits.com/2019/01/24/25-years-ago-in-tidbits-ram-d... "Developed by Connectix, RAM Doubler was one of the most magical utilities of the early days of the Macintosh. As its name suggested, RAM Doubler promised to double the amount of usable RAM in your Mac, and amazingly, it generally delivered."
- justsomehnguy 4y ago> In late 1995, I was asked to investigate the product because it was causing Windows 95 machines to crash and was generating a lot of support calls, not to mention bad PR Ah, the classics. "I'm using a bog shit hardware with software what claims to enlarge my p.. I mean RAM and when it crashes it's Windows fault! And Gates personally!". Compare to PEBKAC by default and even after that in the other team: "No, it's your problem you didn't hunted down the specific hardware revision of the notebook to have a stable (if any) WiFi in it".
- deleted 4y ago[deleted]
- bawolff 4y agoImagine going to all the trouble of creating a custom paging driver, but then just not implementing the compression algo. Really boggles the mind, as it seems like getting an off the shelf compression algorithm would be easy compared to implementing a custom paging driver. I mean i guess this was mid 90s, were drop in open source compression libraries not a thing yet?
- kevingadd 4y agoThey forked a sample paging driver from the ddk (driver development kit) so it probably wasn't that hard.
- tanseydavid 4y ago"If it compiles -- SHIP IT"
- stuaxo 4y agoIt sounds like it could have worked with a little more Dev, a shame the source will never be opened it would be interesting to see it work.