What to check, read, and update if you want to upgrade your Linux PC with an Solid State Disk.
<< First, < Previous, Next >, Latest >>
Hosted by 2BFrank on Tuesday 2015-08-18 is flagged as Clean and is released under a CC-BY-SA license.
Tags: SSD, Linux, BIOS, Update.
Listen in ogg,
spx, or
mp3 format. | Comments (3)
Hosts share their experiences when upgrading their equipment.
Some commands I mentioned that you should check out:
Check SSD disk specs:
sudo hdparm -I /dev/sdb
Check for TRIM support:
sudo fstrim -v /
Perform TRIM support
sudo hdparm -I /dev/sdb | grep -i TRIM
Detailed SSD Info
Show Transcript
Automatically generated using whisper
whisper --model tiny --language en hpr1837.wav
Comments
Comment #1 posted on 2015-08-18T08:30:46Z by 0xf10e
correction on TRIM
Hey there, little correction on ATA TRIM: Fragmentation of files isn't the problem on SSDs but the SSD's controller needs to know which blocks it can reuse for leveling out the wear on the flash cells. As the SSD knows nothing about the FS it's storing data for it only can swap out blocks when they're overwritten at once.
UNLESS of course when the OS tells the SSD "I just freed those (logical) blocks, do whatever you want to them". This why the SSDs controller can add those blocks to its free-list and reallocate the underlying flash-cell as soon as all logical blocks are freed - or remap the leftover logical blocks to free the rest of the flash-cell.
Oops, got a little long, didn't IR? ^^"
Comment #2 posted on 2015-08-21T16:44:46Z by noah
minimizing writes
I just want to take a quick moment to disagree with your recommendation to put swap and/or /var on a traditional spinning disk in order to limit writes to your SSD. Yes, doing so may ultimately increase the expected lifetime of the drive, but you're missing out on the greatest benefits of the SSD by doing so. SSDs are extremely fast for random access patterns, but for sequential operations (such as reading or writing large files) they aren't significantly faster than spinning disks. The parts of your system that perform the most random access operations are likely to be swap and /var. Speeding up swap is quite possibly the single best application for an SSD in a linux system.
Comment #3 posted on 2015-09-15T13:47:10Z by 2BFrank
Good points
Hi,
thanks for the clarifications. @noah: I've found different opinions on this, you make a good point. On the other hand, I have the impression that my system (6GB Ram) is swapping very little...
@0xf10e: Right, it's wear levelling not fragmentation. Thx for clearing that up!
<< First, < Previous, Next >, Latest >>
Leave Comment
Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.
Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).