[haiku] Re: Installing on a SSD?

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sat, 20 Feb 2010 19:48:20 +0100

On 2010-02-20 at 19:19:22 [+0100], PulkoMandy <pulkomandy@xxxxxxxxx> wrote:
> Le Sat, 20 Feb 2010 19:14:51 +0100, <hudsonco1@xxxxxxx> a écrit:
> > Has anyone installed Haiku on a SSD disk? Is this currently possible or
> > does this require a new driver?
> 
> It should work. An SSD is still a regular IDE or SATA disk.
> 
> > Are there any special considerations for BFS on a SSD?
> 
> bfs is not made at all for SSDs. It writes a lot of things to the disk all
> the time, and will likely reduce the lifetime of your disk. The tricks
> available under linux (noatime and friends) are not available under haiku.

Not sure what those "friends" are, but BFS doesn't even support atime, so 
reads never cause on-disk changes.

> There is no intelligent algorithm to avoid writing the same block too
> often. bfs is then definitely inappropriate for SSDs. But there is no
> other alternative if you want to use Haiku (FAT is even worse).

Since quite some time SSD controllers remap blocks dynamically for wear 
leveling. What Haiku and its file systems don't support yet is issuing the 
"trim" command to the hardware, so that ATM once all blocks have been 
written the hardware doesn't have any free blocks left for juggling.

Code contributions to add that feature are (as always) very welcome. :-)

CU, Ingo

Other related posts: