4 ms·
If you don't have much RAM I suppose you'd hit these limits much faster as OS would swap a lot of data onto drive.
by dzhiurgis 12y ago
If you don't have much RAM I suppose you'd hit these limits much faster as OS would swap a lot of data onto drive.
- alexbecker 12y agoIf you're swapping regularly then you have more immediate computer needs than a fast hard drive.
- vidarh 12y agoI actually wish I could turn swap off safely on my work computer, because I actually have enough RAM for normal situations. Swap may eventually be an old curiosity for most people, and a "niche thing" for others... When I start swapping, it's a sign some application is leaking memory and I'd rather it didn't get any and crashed instead of freezing the machine up for ages while trashing the drive. But as it turns out OS X behaves really badly if you try to take away its swap (last time I tried, the kernel memory usage slowly increased until it consumed almost all memory; I re-enabled flash and rebooted and it got back to normal. It's a bit annoying that we've become so dependent on a kludge to work around too little memory. (Brings me back to my Amiga days and the long, heated discussions about whether or not swap was a good idea in the first place)
- dmm 12y agoOne trick people in a similar situation on linux use is to make a small ram disk and then assign that as the swap. A little absurd but prevents the bad behavior.
- darkr 12y agoIt is indeed absurd, when swapping can be avoided entirely by setting kernel swappiness to 0: sysctl -w vm.swappiness=0 to make permanent, set vm.swappiness=0 in /etc/sysctl.conf Though for a desktop machine, disabling swap probably won't help improve performance
- dmm 12y agoThat's true, but this was a special circumstance where disabling swap was creating very bad system behavior.
- reitzensteinm 12y agoTwo of the drives survived a year of continuous use, so even regular swapping is trivial. Say you're using your computer 12 hours a day, half of that doing tasks where memory usage greatly exceeds your physical memory, and you're using 1/4 of the bandwidth of the drive to swap in/out (of which 1/2 are writes). Under this quite heavy scenario, the writes will catch up to this endurance test after 32 years. The speed, price & capacity of these drives are (at least for now) improving so quickly that by the time you wear one out, even with torturous use, replacing it will be trivial. Cost per gigabyte has halved over the period of this test. So even when taking the drive that just died and using it for the most pathological use case imaginable, you'd be buying a $200 drive today, replacing it with a $100 drive in one year, $50 in two years, etc. Not a big deal.
- fixedd 12y agoI just wish someone could tell me one I could buy that would last longer than 1.5 years in my laptop. I'm on #3 now :(
- toomuchtodo 12y agoAny of the Intel SSDs should last you the life of the laptop.
- roghummal 12y agoI prefer $brand, they hold up better under extensive use.
- simoncion 12y agoThe 100 "GB" OCZ Vertex LE in my laptop has 27,834 hours of power-on time. This is the only drive in the system, and it houses several always-on encrypted swap partitions. I'd be surprised if you could purchase a new one at this time, though. :P I can get back to you in a little more than a year about the 750 "GB" Samsung 840 EVO in the lady's laptop, and 6->8 months on the Crucial M4 SSD in my gaming PC. :)