[haiku] Re: Haiku and SSD's

  • From: Ralf Schülke <ralf.schuelke@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Fri, 28 Jul 2017 09:20:44 +0200

it is not better to schwitch the Kernel and here subsystem, eg: linux
kernel (yes its a wonder, it only a Kernel).

Pro and Cons?

Cons:
- its break the BeOS r5 compatibility

Pro:
- more Perfermenc
- bigger Developer base
- more Hardware base and 2d/3d accelerad
- modular
- ...

MFG

2017-07-28 7:08 GMT+02:00 Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>:

On Fri, Jul 28, 2017 at 01:42:50AM +0200, Giovanni Mugnai wrote:
Hi, I can't remember where (maybe on IRC), but recently I've read
something about Haiku and SSD's compatibility: I remember something
about the fact that Haiku manage SSD's like standard mechanical disks,
which means that could cause slow disk I/O... Was about polling? Maybe
I've read these topics on the IRC channel.

That was me on IRC, mentionning that the io_scheduler was never designed
to work with SSDs. Wether we could make it work better there is an open
question, what I meant is it is one thing we need to investigate.

What it changes is the order in which operations are performed. There
result is that operations are slower than they could be, but still much
faster than with old spinning disks, because SSD have basically no seek
time, and as such they are much more forgiving to bad scheduling.


However I'd like to know, if with Haiku, there would be some downsides
with an SSD (also considering the fact that trim doesn't work
reliably: https://dev.haiku-os.org/ticket/10336 ;) What I could expect?

I'm using SSDs on all my machines for several years now. I ran into the
occasional disk corruption, but it is likely not related to SSDs - I
could get corruption on a spinning drive as well.

On modern SSDs, trim is also only a performance optimization, so you can
live without it. However, it would be interesting to test it on more
SSDs so we can get a better idea of where it works and where it doesn't
(but make backups first, as some drives behave strangely when you use it
and it may corrupt some data).

Anyway, no particular problem in using an SSD for Haiku in my case. And
it does give a performance boost, even if not as amazing as it could,
yet.

--
Adrien.


Other related posts: