LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-23-2014, 10:11 PM   #1
/awk/
LQ Newbie
 
Registered: Jun 2014
Posts: 6

Rep: Reputation: Disabled
SSD? To optimize OR not to optimize that is the question


Hi

If you have a SSD drive many distributions normally treat it like a normal hard drive during installation -- thus giving no SSD optimization for extended life span. I was looking at at these two articles on SSD preparation before and after install:

Ubuntu, Mint, Debian on SSD
https://sites.google.com/site/easylinuxtipsproject/ssd

Freebsd on SSD
http://www.wonkity.com/~wblock/docs/html/ssd.html

Wouldn't it be great if distro developers had an option built into the installation wizard to choice if you will install linux to a SSD or Hard drive? And if you choose the SSD drive option, the installation wizard would do all the SSD optimization for you and your applications.

When I install linux on my SSD drive I didn't know it needed to be optimizes to prolong the lifespan of my SSD. To be honest, I treated my SSD as a magnetic hard drive.

So, do you optimize your SSD drive or not?

Also, do you feel the distro developer should integrate an option to choose a SSD drive or hard drive during installation that way it can optimize the SSD for you? Or do you prefer the DIY route ( Do it yourself )?

Thanks, looking forward to your opinions :-)
 
Old 06-24-2014, 12:28 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,782

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
it was discussed here earlier (actually I can't find the thread), the result was: it is not really important, but if you have 5-10 minutes to improve why not?
 
Old 06-24-2014, 01:40 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
For me "optimizing" my SSDs comes down to using a filesystem that supports TRIM and running the fstrim command from time to time.
Wear-out due to writing to the disk is something that can be neglected on modern SSDs, so I am not concerned at all about that.
 
Old 06-24-2014, 08:36 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,632
Blog Entries: 4

Rep: Reputation: 3931Reputation: 3931Reputation: 3931Reputation: 3931Reputation: 3931Reputation: 3931Reputation: 3931Reputation: 3931Reputation: 3931Reputation: 3931Reputation: 3931
Quite honestly, I'm gonna wait for SSD technology to really mature. Today's stuff smacks too much of "bubble memory" for my personal taste.

(Bah. As a matter of fact, I do remember bubble-memory! What's it to ya, kid?) ;-)

I know that, in a few years' time, these devices won't "wear out when you write to them too much," and so on. They're being marketed, of course, and installed in products that are being profitably sold to consumers, but instinct tells me that if you stay away from bleeding-edges, you don't get cut nearly as often. My next laptop will have an HDD in it. Three years from now, when I buy my next one (I buy extended warranties and swap machines when the warranty runs out ...), it will probably have a SSD, and that device will by then be vastly-improved. I can wait.
 
Old 06-24-2014, 10:13 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
SSDs are pretty good already and wear-out has already become a npn-issue. If you want to have a look at an endurance test you may want to have a look here: http://techreport.com/review/26523/t...-to-a-petabyte
While all tested SSDs worked fine after 600TB written data on their way to the PetaByte mark the first disks stopped working.
The SSD in main machine is now at about 19000 hours power-on time (used for gaming with Windows and Linux, both OSes on the SSD, also for software compiling), but "only" at about 3.5TB written data. At least for me it seems that the SSD will have a long lifetime.

Last edited by TobiSGD; 06-25-2014 at 07:22 AM.
 
Old 06-25-2014, 07:04 AM   #6
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by sundialsvcs View Post
Quite honestly, I'm gonna wait for SSD technology to really mature. Today's stuff smacks too much of "bubble memory" for my personal taste.

(Bah. As a matter of fact, I do remember bubble-memory! What's it to ya, kid?) ;-)

I know that, in a few years' time, these devices won't "wear out when you write to them too much," and so on. They're being marketed, of course, and installed in products that are being profitably sold to consumers, but instinct tells me that if you stay away from bleeding-edges, you don't get cut nearly as often. My next laptop will have an HDD in it. Three years from now, when I buy my next one (I buy extended warranties and swap machines when the warranty runs out ...), it will probably have a SSD, and that device will by then be vastly-improved. I can wait.
I said the same thing, however I do realize the need to keep up with the industry trends. So I bought my first SSD a few months ago and a "new" laptop to stick it in. What worked out for me was a sync system where as soon as my data is written its synced up to my server. So pretty much anything useful in my /home is always copied elsewhere should the SSD die. So now I can run the SSD and test it for a while before committing to it.
 
Old 06-25-2014, 09:29 AM   #7
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,120
Blog Entries: 2

Rep: Reputation: 259Reputation: 259Reputation: 259
According to smartctl, I have nearly 24,000 hours on my SSD, and have only used 4% of it's life. This is what I have in my /etc/fstab:
Code:
UUID=7249fc95-01e9-4c5a-a0c2-08105c30bfa3 / ext4 discard,noatime,errors=remount-ro 0 1
tmpfs  /tmp  tmpfs  defaults,noatime,mode=1777 0 0
tmpfs /home/replica/.thumbnails tmpfs defaults,noatime 0 0
tmpfs /home/replica/.cache tmpfs defaults,noatime 0 0

Can't remember if I did this, or if this was default (Firefox - about:config):
Code:
browser.cache.disk.parent_directory;/tmp/firefox_cache
I'm sure there's more I could do. If I've only used 4% of it's life in the last 3 years, then chances are I will probably have upgraded before the SSD reached EOL.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
optimize squid cccc Debian 5 06-17-2009 07:56 AM
can I optimize this kushalkoolwal Programming 5 10-21-2005 09:05 PM
How to Optimize Slackware 10.2? zeroz52 Slackware 23 10-04-2005 06:42 PM
How to optimize the partitions of a HD dabenavidesd Linux - General 1 09-02-2005 11:40 PM
please optimize this C function ewt3y Programming 10 08-12-2005 05:48 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration