>While this seems an easy relationship to satisfy, more-complex models based on real-world performance parameters and access patterns indicate that it is, in reality, very difficult to obtain a performance boost with this method. Now that improvements in CPU speed have outpaced improvements in storage speed, it's easier to benefit from compressed swap in ram. Linux includes "zswap"[0], which in my experience works we…
SoftRAM 95 (1996)
41–50 of 64 posts
Re: SoftRAM 95 (1996)
#42This is gold
Re: SoftRAM 95 (1996)
#43I wish someone would do a study like this on e.g. cosmetics which claim to do miraculous things, but in reality rarely do anything at all. In fact I strongly suspect it all comes from the same giant vat of petroleum byproducts and the only difference is the fragrance, color, and emulsifiers.
If you just want to know the truth, not "prove" it "globally" in a "study", which essentially amounts to proving to the wolf that he is dangerous to the sheep, all you need to do is look at the ingredients list. For extra credit, look the ingredients up and see how many of them have above-zero blue hazmat ratings.
Re: SoftRAM 95 (1996)
#44>While this seems an easy relationship to satisfy, more-complex models based on real-world performance parameters and access patterns indicate that it is, in reality, very difficult to obtain a performance boost with this method. Now that improvements in CPU speed have outpaced improvements in storage speed, it's easier to benefit from compressed swap in ram. Linux includes "zswap"[0], which in my experience works we…
Windows also compresses pages to alleviate memory pressure before resorting to swap nowadays. Probably the same reason as with Android, as on lower-end hardware, especially with hard drives, compressing/decompressing isn't really noticeable, while hitting the disk is.
Re: SoftRAM 95 (1996)
#45>While this seems an easy relationship to satisfy, more-complex models based on real-world performance parameters and access patterns indicate that it is, in reality, very difficult to obtain a performance boost with this method. Now that improvements in CPU speed have outpaced improvements in storage speed, it's easier to benefit from compressed swap in ram. Linux includes "zswap"[0], which in my experience works we…
zswap (nee compcache), on the other hand, is a region of memory that tries to store pages compressed instead of swapping them out -- basically a last resort before swapping. zswapped pages are not considered swap, so you have to check sysfs to see how much it's getting used. Many default configurations are pretty aggressive, allowing zswap to use up to 20% of physical memory before finally resorting to the system's configured swap space.
Re: SoftRAM 95 (1996)
#46Re: SoftRAM 95 (1996)
#47Earlier quoted context omitted.
Storage speed has really outpaced CPU speed for the decade zswap has been out. It still has its place but if you have modern flash storage it may well be a throughput drop and power usage increase to enable zswap (particularly with the default algorithms). Latency for pulling single pages has never really been limited by CPU performance, that's always been faster and will probably never change due to physics.
It's not like you really want to use SSD for frequently used swap though, it's just going cause unnecessary wear.
And i measured disk usage on my desktops (home, job) and laptop, and my main dev "server" (xen, with bunch of vms).
Surprisingly my desktop had most writes to disk, but even then it would take me 6 years on the cheapest (qlc, kingston 1tb) before wearing it out
So i don't think that is a big issue, especially with how much you can improve your life, with faster swap.
Re: SoftRAM 95 (1996)
#48Earlier quoted context omitted.
I know several attorneys, and man, I wouldn't wish that on anybody.
That's become my feeling as well. I've always looked at them making a ton of money without needing to start a company and become somewhat envious (none of what I actually enjoy working on seems to be startup material). Then I see two of my friends pursue careers in law after becoming attorneys, and wow, I now think my 9-5 job for a tech giant is a better gig. They're miserable.
Re: SoftRAM 95 (1996)
#49>While this seems an easy relationship to satisfy, more-complex models based on real-world performance parameters and access patterns indicate that it is, in reality, very difficult to obtain a performance boost with this method. Now that improvements in CPU speed have outpaced improvements in storage speed, it's easier to benefit from compressed swap in ram. Linux includes "zswap"[0], which in my experience works we…
squashfs is another linux feature that boils down to compressed swap.
Re: SoftRAM 95 (1996)
#50Earlier quoted context omitted.
RAM Doubler for the Mac wasn’t a scam. Because of the piss poor way that Classic MacOS handled memory where you had to manually tell it how much memory an application could use and applications needed that much contiguous memory, you could easily find yourself with plenty of RAM but it being fragmented and unusable. Also, you needed to have as much disk space as you had RAM + any “virtual memory”. RAM Doubler used th…
It's amazing how fast capacity and pricing changed back then, and it still happens today. I remember my first PC clone in 1992 it was a white box with a 40MB hard disk and 2MB of RAM, within 6 months or so I spent $200 on two more 1MB 70ns SIMMs. Our high school had a small lab running Mac IIci's with 8MB of RAM and those things were probably $8K each with display, it was a big deal to get time on them. We had more p…