View previous topic :: View next topic |
How do you treat your SSD? |
I torture test SSDs (transaction server, bittorrent downloading) |
|
0% |
[ 0 ] |
I treat it like any other hard drive |
|
46% |
[ 21 ] |
I try not to write on it when I can |
|
35% |
[ 16 ] |
It's mounted read only, must not write when I don't have to. |
|
0% |
[ 0 ] |
Magnets Forever or I don't have an SSD you insensitive clod |
|
17% |
[ 8 ] |
|
Total Votes : 45 |
|
Author |
Message |
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9678 Location: almost Mile High in the USA
|
Posted: Sat Jan 17, 2015 10:24 pm Post subject: Installed Gentoo on SSD, how do you treat your SSD? |
|
|
In my faster machines I have SSDs (Intel 520, 530 series) and I basically treat it as any other hard drive...
I do have PORTAGE_TMPFS=/tmp (or a real RAM TMPFS) but if I run out of RAM, it gets sent to the SSD.
Even after a few years of having this SSD:
Code: | 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0
9 Power_On_Hours 0x0032 000 000 000 Old_age Always - 0x1bc60d0072b9
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 608
170 Avail_Reserved_Space 0x0033 100 100 010 Pre-fail Always - 0
171 Write_Fail_Count 0x0032 100 100 000 Old_age Always - 0
172 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0
174 Unexpected_Power_Loss 0x0032 100 100 000 Old_age Always - 606
184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 606
225 Host_32MB_Written 0x0032 100 100 000 Old_age Always - 59945
226 Timed_Workload_Wear 0x0032 100 100 000 Old_age Always - 65535
227 Timed_Workload_RWRatio 0x0032 100 100 000 Old_age Always - 56
228 Timed_Workload_Timer 0x0032 100 100 000 Old_age Always - 65535
232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0
233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0
241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 59945
242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 77412
249 Total_GB_NAND_Written 0x0013 100 100 000 Pre-fail Always - 2075
|
Funny that the SSD does not like how Linux shuts it down and it doesn't report POH like normal HDDs...
If you have a SD or CF or eMMC or whatever, that counts as an SSD. If you're using NAND FLASH via FTL in-kernel please comment... Since those have software based wear leveling, it's a bit different... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Sat Jan 17, 2015 10:38 pm Post subject: |
|
|
I try to use the SSD to speed up the OS. I think I fit best in the "avoid writes" category because I pull off swap/portage/general data storage to the large data drive I have installed. other than that, I treat it as I would any other drive.
Lets just say I still consider SSDs to be new technology without a proven track record.
(Yes, I do frequent backups. ) _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Sat Jan 17, 2015 10:46 pm Post subject: |
|
|
I treat my SSDs exactly like regular HDDs, I am using tmpfs for PORTAGE_TMPDIR but have been doing that already before. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9678 Location: almost Mile High in the USA
|
Posted: Sun Jan 18, 2015 4:38 am Post subject: |
|
|
Yeah, I have /usr/portage/* on my SSDs when they fit and only have PORTAGE_TMPDIR=tmpfs when I have enough RAM (for build speed, not trying to save write cycles). Yep, I have to set PORTAGE_TMPDIR to my SSD without question for my 4GB machine while building Firefox (my 8GB machine will build Firefox in tmpfs), and have swap on SSD on these machines.
I guess I'm just letting the cards where they want to fall, I trust them enough (at least for now). I haven't had issues with my SSDs and even my oldest one that's not SD/CF/MMC - a miniPCIe in my eeePC - is still holding up despite it probably rewritten over many more times than any of my larger disks.
SD media I've had multiple failures already, but unsure if it's due to build quality or what. But I've never installed Linux on one of them until recently... We'll see how long this lasts (I have my doubts in SD card wear leveling, but not SATA SSDs.) _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Levns n00b
Joined: 02 Dec 2014 Posts: 7
|
Posted: Sun Jan 18, 2015 8:42 am Post subject: |
|
|
My laptop only have a SSD, so I don't really have any other choice than use it as a normal HDD.
I try to do all emerges I can on a tmpfs at /tmp, but some just don't fit into it, and it's back the drive. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Sun Jan 18, 2015 12:43 pm Post subject: |
|
|
I use my ssd for everything except videos, music, etc (off on a large hdd) and those aren't speed sensitive.
I have /, /home, /usr/portage and /var on the ssd.
I swapped out a transcend 128 gig ssd for a samsung evo 256 gig on christmas and even with /usr/portage on it
I've only written 133 gig to it and that's with daily sync's and emerges.
Since the disk is supposed to last into the multi-terrabyte range for writes I'm not too worried. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sun Jan 18, 2015 12:52 pm Post subject: |
|
|
my portage_tmp is on a HDD, the rest on my SSD _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Atmmac Tux's lil' helper
Joined: 17 Oct 2013 Posts: 130 Location: Watertown, MA
|
Posted: Thu Jan 22, 2015 7:15 pm Post subject: |
|
|
The price has come down significantly. I just use it as a normal drive if it breaks it breaks. It |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Jan 22, 2015 7:43 pm Post subject: |
|
|
Apart from a few things I do anyway for the sake of reducing mechanical noise (/tmp+$PORTAGE_TMPDIR on tmpfs), and redirecting some useless syslog output to a tmpfs, nothing special. |
|
Back to top |
|
|
cryptosteve Veteran
Joined: 04 Jan 2004 Posts: 1169 Location: GER
|
Posted: Thu Jan 22, 2015 7:58 pm Post subject: |
|
|
I build my stuff in tmpfs and treat my ssd like any other HDD. But some data is still on a real hdd (like audio and pictures). _________________ - born to create drama -
gpg: 0x9B6C7E15
CS Virtual Travel Bug: VF6G5D |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9678 Location: almost Mile High in the USA
|
Posted: Thu Jan 22, 2015 8:04 pm Post subject: |
|
|
Hmm... even all my syslogd/journal outputs are to SSD... I guess silence isn't an issue with an ssd :D _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
WWWW Tux's lil' helper
Joined: 30 Nov 2014 Posts: 143
|
Posted: Mon Jan 26, 2015 4:17 pm Post subject: |
|
|
why not put portage temp in ssd?
SSD might degrade faster but why not using its advantages?
For an average gentoo user, would compiling on the ssd be a lifetime risk on it?
What people think? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Mon Jan 26, 2015 5:14 pm Post subject: |
|
|
WWWW wrote: | why not put portage temp in ssd? |
Why not leave it in RAM and have even bigger an advantage? |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3134
|
Posted: Mon Jan 26, 2015 5:49 pm Post subject: |
|
|
Quote: |
For an average gentoo user, would compiling on the ssd be a lifetime risk on it? | I doubt it, but if you have ssd you most likely also have enough RAM not to need it |
|
Back to top |
|
|
EmaRsk Apprentice
Joined: 07 Sep 2004 Posts: 158 Location: Italy
|
|
Back to top |
|
|
BlueFusion Guru
Joined: 08 Mar 2006 Posts: 371
|
Posted: Tue Jan 27, 2015 1:13 pm Post subject: |
|
|
I have my / and /home on a 120GB Samsung 840 EVO. Had it for about 5 months now. I use btrfs. I was using encrypt below btrfs but without AES-NI it was limiting it to 120MB max....so I went back to pure btrfs.
I treat it like any other drive mostly. I have torrents and my music and video libraries written to a 4tb drive. Portage temp dir is a tmpfs. With 24GB, I've never had an issue with running out of space in tmpfs.
Also to note, I'm using the deadline scheduler on the SSD and I set my vm_dirty settings to take advantage of more RAM. I set it to allow data to be "dirty" for 2 minutes and use 40% of my RAM. Data is writes to drives less often now (all drives, though). _________________ i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1) |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9678 Location: almost Mile High in the USA
|
Posted: Wed Jan 28, 2015 7:34 pm Post subject: |
|
|
I think the only application that SSDs will suck in is video surveillance... If the disk is small enough and video bandwidth high enough, the turn over rate will mow through rewrite endurance pretty readily. Otherwise I think any average use of disk on a system, the disk will run out of space and become useless before it wears out.
Though if you have 64MB RAM and using a small SSD as swap instead of buying more RAM... killing yourself (time) and the SSD (wearout) _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|