|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
SSD Install
I have recently found information that OpenBSD does not support TRIM in SSD installs; however, I have not found any suggestions for any successful SSD install.
Are there any settings which would allow for an SSD install, or, is TRIM support the only answer? I have found a couple articles on personal journals detailing the setup of softraid and encrypted installs, but nothing on setup instructions specific to SSDs. |
|
||||
http://marc.info/?l=openbsd-misc&m=136362941212173
http://marc.info/?l=openbsd-misc&m=133444791306493 http://www.tedunangst.com/flak/post/...ned-about-TRIM SSD behave like any other drive, with the bonus of (compared with spinning magnetic media) producing less heat, consuming less electricity, consuming less physical space, and having 0 seconds of seek time. |
|
|||
SSDs do behave like other drives; however, they should have special parameters given their limited lifespan; I ran one SSD on an OS that did not specifically support it and it died within a year. An exact duplicate one is still going in my wife's system which runs Linux, with a kernel built specifically for SSDs.
|
|
||||
My understanding of TRIM differs from yours. It is my understanding that TRIM impacts write operation performance, not lifespan. However, SSD onboard electronics may include "garbage collection" services that may reduce lifespan [1].
NAND memories require a delete operation of already written sectors before a new write operation can be executed. The TRIM commands shift this delete operation to a time other than during the write operation. TRIM commands can be issued by filesystem drivers, such as during file deletions or during filesystem formmatting, or by user command such as with the Linux fstrim. [1] http://en.wikipedia.org/wiki/Trim_%28computing%29 |
|
||||
Here's an article that describes how TRIM operations can effect garbage collection for NAND memories (SSD drives). While it ends with an advertisement for LSI technology, it is otherwise a fairly balanced primer.
http://www.thessdreview.com/daily-ne...Speed=noscript |
|
|||
I'm not looking for TRIM support, really; I know that OpenBSD (as of 5.5) does not support TRIM functions.
However, I was looking for ways to reduce wear & tear on an SSD to extend life. For example, on my Linux systems I turn swappiness down to 10. I run 16GB of RAM and really do not need anything touching swap; however, I don't just get rid of it because of old habits, really. Another example, for EXT4 and other journaling systems, I specify "noatime" in the fstab. There are other little tricks & settings to help reduce write/erase from the system to the disk. Being new to OpenBSD, and with very few articles and absolutely no documentation at OpenBSD.org pertaining to this (that I could find at least), I was hoping somebody had experience in setting up systems with SSDs that could provide some help/answers/guidance. Quote:
|
|
|||
A good Plextor SSD Knowledge article demonstrates many tips on extending SSD life.
|
|
||||
OK, that's a little different than your original question, which I interpreted to mean that you were concerned an SSD installation could not be successful. The goal is to minimize writes.
EXT4 has noatime. So does FFS. From mount(8): Quote:
Quote:
I would retain swap, and monitor its use, even on a RAM-rich system, as I would want to be able to diagnose kernel failures should they occur, and swap is a necessary component of kernel dump acquisition. See crash(8). |
|
|||
I've been using SSD disks with various OSes, and all I do is disable swap and set noatime/relatime, not had any hint of any problems, (so far at least). I think the original problems with excess writes has been overcome by the manufacturers, and that we don't really need to do anything, but old habits do take some time to let go of.
__________________
Linux since 1999, & also a BSD user. |
|
||||
Oko, performance degradation from sector alignment issues occur when the device sector size is larger than what the device presents to the OS -- whether magnetic, spinning media or NAND (flash) device.
Excerpt from http://en.wikipedia.org/wiki/Advanced_Format regarding 4K devices that present 512 byte logical sectors, applicable to all sector/page sizes. Quote:
|
Tags |
ssd, trim support |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How - To install GNOME vile I install OpenBSD ? | looop | OpenBSD Installation and Upgrading | 6 | 24th April 2010 08:58 PM |