View previous topic :: View next topic |
Author |
Message |
fpemud Apprentice

Joined: 15 Feb 2012 Posts: 283
|
Posted: Wed Jun 18, 2014 12:18 pm Post subject: SSD + HDD, bcache alternative? |
|
|
I have a 128GB SSD and a 1TB HDD.
bcache suits me well, but it has an obvious disadvantage: 128GB SSD + 1TB HDD = 1TB data.
What I want is "128GB SSD + 1TB HDD = 1128GB data + all hot data in SSD", which is similar to but has fundamental difference with RAID-0.
Any suggestions?
Is my requirement doable? |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 7267 Location: almost Mile High in the USA
|
Posted: Wed Jun 18, 2014 6:35 pm Post subject: |
|
|
The whole idea of a cache is that, except for write back cache, everything in the cache is redundant, so yes, you'll end up with only 1TB. That's how it works with Intel SRT too which was one of the first implementations of SSD caching (as well as on-chip caches).
What I'm confused about is you actually want 128G SSD+1000G HDD where it dynamically puts all the data you're working with on the SSD and anything not being worked on stored on the HDD? So if your SSD is full and you write more data, it will automatically have to flush some of the data from the SSD to the HDD, thus losing any benefits of SSD write caching once the SSD has a full 128G of data?
I think this would be a nightmare in terms of data tracking and a lot of data swapped between the disks once the initial 128GB is filled up. I don't see the disk space loss as a disadvantage at all, having the 128G as redundant to the 1TB has multiple benefits including write caching where it knows that space in the SSD hasn't been used in a while, so it can instantly blow away that data without having to write anything back because it knows (or at least it knows what is and isn't) that the data is safe on the HDD already. _________________ Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
user Tux's lil' helper

Joined: 08 Feb 2004 Posts: 145
|
Posted: Wed Jun 18, 2014 6:46 pm Post subject: |
|
|
Hi fpemud,
depends on your filesystem preference.
Maybe this will fit your needs ext4 external journal on SSD? |
|
Back to top |
|
 |
fpemud Apprentice

Joined: 15 Feb 2012 Posts: 283
|
Posted: Thu Jun 19, 2014 1:39 am Post subject: |
|
|
eccerr0r,
You're right. It is more complex than I imagine.
There must be some free space in SSD, and a background thread to move data from SSD to HDD.
user,
Thanks for your information, I think what I'm aftering is called tiered storage.
I'm studying this project btier.
It seems Apple has already implemented this function as Fusion Drive, I'm trying to find a linux equivalent. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|