Optimize flash memory in Linux

Conclusions

A current Linux kernel comes with everything you need for optimal operation of an SSD. The Deadline scheduler is a useful option for many SSDs. When it comes to the trim command, the devil is in the details; you need to carefully consider your setup before regularly using trim. Documenting your own SSD's smart attributes makes sense. Additionally, power loss protection is essential for the enterprise, and when used with cache protection, it also offers performance advantages.

The following ToDo list highlights some important tasks for optimizing SSD performance:

  • Keep the SSDs' firmware as up-to-date as possible.
  • Set up over-provisioning.
  • Check the use of trim thoroughly and avoid it in case of doubt.
  • Use power-loss protection if possible.
  • Use the Deadline I/O scheduler, or use SSD mode if you deploy the CFQ Scheduler.
  • Document the smart attributes of your own SSDs and monitor the values.

Attending to these details will help you get the best possible performance from your SSDs.

The Author

Georg Schönberger works as a system architect in the DevOps team at Xortex eBusiness. His work focuses on information security, monitoring plugins, and system automation.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Tuning Your SSD

    Nothing accelerates a PC like transitioning to an SSD, but some special configuration might be in order if you want to get the most from your drive.

  • hdparm Drive Utility

    Hdparm is the tool to use when it comes to tuning your hard disk or DVD drive, but it can also measure read speed, deliver valuable information about the device, change important drive settings, and even erase SSDs securely.

  • PCIe SSDs

    A PCIe SSD can accelerate your system considerably, but you need to do your homework and choose the right product for your computer.

  • Migrating to an SSD

    Replacing your hard drive with an SSD is a sure way to speed up your system; however, migrating to an SSD is a little more complicated than you might imagine. We'll help you find your way through the pitfalls.

  • Parted Magic

    It's really annoying when a disk suddenly dies on you or a typo in a command deletes important data. The free Parted Magic Live distro offers help.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News