-
Notifications
You must be signed in to change notification settings - Fork 418
Will it support TRIM operation? #192
Comments
I tested Samsung 840 Evo 512GB with flashcache in raid setup and saw the same performance degradation. You might want to check with Samsung because they might have provided a firmware update for the Pro line since they provided a firmware update for the Evo which fixed an algorithm problem that address the dropped in performance. Also I don't think trim is supported by flashcache. In order to perform trim, the operating system, filesystem, ssd, and flashcache has to support it. |
We have changes for TRIM support that will be committed shortly. From: Kaydannik [email protected] Hello. |
Awesome! champagne is prepared! |
I'm so excite! |
@mohans Hi. Any news with TRIM ? Is project is in development ? |
Unfortunately, all new development on flashcache is on hold now (except for any critical fixes). Too busy working on other things :(, will revisit the trim support later this year as time permits. |
Hi, |
Sorry, my mistake, not flashcache_invalid_remove(), but flashcache_invalid_insert(). |
https://github.com/sphdev/flashcache/commit/76b44f1c62f902f51261da44cb98398df868175c |
Another interesting place for TRIM could be flashcache_hash_remove() |
I've been trying to implement support for FITRIM. My test looks like this: |
You need a lot more changes for TRIM that those changes in _conf.c. I've been trying to implement support for FITRIM. |
Is there any way to see those patches? |
Hello.
I have Samsung 840 Pro 512GB.
During performance test with filesystem on it - it give me ~ 400 mb/s writes, and up to 15 000 iops.
But if i add it like a flashcache - speed is falling rapidly. Also writing/reading speed is not stable.
I already excluded all variants with dirty_thresh_pct and fallow_delay, etc..
Same performance issues i have if i use SSD with ext4 without discard option.
So, is any news/opportunities to support TRIM in flashcache ?
Thanks
The text was updated successfully, but these errors were encountered: