issues to consider before putting Linux on an SSD laptop
I found slimmer laptops with pure SSD are getting more and more popular these days.
I have just learned to put a LiveCD OS on a thumbdrive using UNetbootin so that I can handle a laptop without a DVD reader. I was quite excited that I can boot up an old computer from a thumbdrive yesterday! Since this is rather new to me, I am curious what I should learn to make sure that SSD does not wear out quickly since there is a limited memory write number of 100k to 1M. Thanks! |
On modern SSDs the wearout isn't really a factor anymore. The SSD in my laptop reports (in there for around 2 years, powered on for 7290 hours now) reports that I have written 79084 32MB-blocks to it (about 2471 GB) to it and that it still has 98% of its lifetime remaining.
|
Thanks. I was reading the reports on the internet that worry me.
So now I shall be more concerned with which laptop to buy as well as if the graphic driver is supported ? My experience is that graphic driver support is the number one problem for me for new laptops. I am not into very cutting edge distributions too. That's the reason I am going to try out my LiveCD on the thumbdrive before I commit to a new laptop. BTW, can you show me how to get those numbers you quoted in your post ? Thanks. |
If I understand it correctly, I am not supposed to create a swap partition under SSD since that will easily wear out the SSD without TRIM support ?
|
Quote:
Quote:
Quote:
Quote:
Code:
smartctl -a /dev/sda Quote:
|
TobiSGD: Thanks again!!
For me or others like me who are new to SSD stuff, can I confirm my understanding as follows ? Let consider two "popular" methods of a Linux installation on a SSD: Installation A: put Linux in the internal SSD via the route of "Live USB persistence mode" where this method involves storing ISO for LiveCD-type booting but store all other persistent changes in another partition. Installation B: put Linux using the conventional Linux installation (DVD installation and choose SSD as the installation target), but enable TRIM with ext4 to prolong the lifetime of SSD (... may be redundant too with modern SSDs ?). Now can I rule out Installation A as it is just too difficult (at least two partitions are needed), ancient, and seems unnecessary with modern SSDs ? Is the conventional method of Installation B suitable for a Linux Distribution, say CentOS 6.3 with linux kernel 2.6.32 (sorry I have asked a very distro-specific question, but then I do not intend to shop around for other distros and CentOS works great for me so far)? If I am clear on this I will get one of those shiny laptops ! Thanks again! |
Quote:
Quote:
Quote:
|
Confusion
Option A is not really complicated, and does not require multiple partitions. I have dropped multiple LIVE-CD/LIVE-USB PERSISTANT instances of TinyCore, MicroCore, and DSL onto a partition that already held either another Linux install, FreeDOS, or ReactOS and had them all work just fine. (Had to tune up grub though. That took a few minutes.) The extra data I wanted to persist between sessions was saved to a different location on the same partition. If dealing with partitions is complex for you, then this is actually one way to run multiple distributions without bothering about that.
Option B is nice, but you do want to check the file systems as they mount (or as they are defined) to suppress atime (cuts down on extra writes) and use delayed allocation. There are other EXT4 options that pertain. The point being to reduce the kinds of activity that impact performance and encourage the OS to use extra writes to storage. You want both extended life and to maintain speed on those SSD devices. Bottom line, if you have newer hardware it should be designed to handle normal load for a normal lifespan. You need to take extra steps and care if you want more performance and more life from the same hardware, or similar behavior from older hardware. (Being of Celtic decent, I want everything to last longer than I will! As it should!) |
Well, no on can assure you that some device will work as projected over time. If you are concerned then get more ram to avoid swap. Use a conventional hard drive for swap or even a flash drive for swap.
In real world, I assume the ssd will be outdated by the time it fails. I have some expensive usb flash drives that are basically useless since they are now so small. I also have a lot of dead flash drives that should have lasted longer. I would just install a modern distro to the ssd just as if it were a hard drive myself. I'd expect it to break at some point or be outdated near that same time. Right now I have to cash to replace it on a whim but not everyone can. If you get lucky it will be around for a much longer time. |
Okay. Points taken. Thanks.
I don't mind doing fstrim from time to time. Now, as a hands-on person, I did a test on an existing system: Quote:
|
ext3 does not support TRIM, simply as that. TRIM also only works on devices that support the ATA TRIM command, normal harddisks don't.
|
Thanks. I marked this thread as solved for posterity.
|
Thanks for the update.
|
All times are GMT -5. The time now is 10:48 AM. |