Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've got Linux installed on two SSD's with no problems. As for firmware updates to SSD drives I would say it's best to check the manufacturers website.
For most people they could install a common distro to most ssd's.
As to the most efficient use and speed that is another issue.
Before you update anything you find a device you want and look at forums and web pages about that device and see what others have noted. Each maker of drives offers some way to update, see the OEM's pages for how to.
I use OCZ drives now, they are very good. As the website says, don't bother updating firmware unless there is an issue causing you to upgrade. As stated too on the website, upgrading firmware on SSD's can result in a complete wipe of data on a drive - so be warned!
SSD's don't like many random I/O operations. These are controled by the kernel "elevator" parameter. The Linux kernel has four different elevators, each with different properties. One of them, noop, is essentially a first-in first-out (FIFO) queue with no extra logic. This one is perfect for SSD. Simply add “elevator=noop” to the kernel parameters in your boot loader’s configuration (/etc/grub.conf, for example), and restart. Noop is is on the most distro's not the default scheduler so it has to be set.
Also add "noatime" an "discard" in your /etc/fstab
Code:
/dev/sda1 / ext4 defaults,noatime,discard 0 1
The discard option adds TRIM Support for the SSD. Partition Alignment
This is the most important thing to do with a new "drive"
Proper partition alignment is essential for optimal performance and longevity.
Key to alignment is partitioning to (at least) the EBS (erase block size) of the SSD. Before your re-partition a new SSD investigate the alignment parameters from the vendor's website.
Recomendation: do not put /var on a SSD, use if you can to a normal drive with that rotating thing. Var has the most I/O and mostly logfiles package management and cache files do very much rewrites.
Simply add “elevator=noop” to the kernel parameters in your boot loader’s configuration (/etc/grub.conf, for example), and restart. Noop is is on the most distro's not the default scheduler so it has to be set.
If you also have mechanical disks in your system it is better to set the elevator on a per disk basis, for example with
Code:
echo noop > /sys/block/sda/queue/scheduler
in your rc.local (assuming here that your SSD is /dev/sda),
Quote:
Also add "noatime" an "discard" in your /etc/fstab
Code:
/dev/sda1 / ext4 defaults,noatime,discard 0 1
The discard option adds TRIM Support for the SSD.
From what I have read the discard option can have serious impact on the performance. You can omit that option and manually (or per cron-job) run the fstrim command (available for ext4, don't know about other file-systems) if that is the case for you.
About the firmware updates: Intel has bootable ISOs for that purpose, so it is independent of the OS you use, Corsair supports firmware updates only from within Windows.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.