public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs spanning over ssd and hdd
@ 2014-05-12 12:58 Matthias Neuer
  2014-05-12 14:13 ` Emmanuel Florac
  2014-05-12 14:20 ` Eric Sandeen
  0 siblings, 2 replies; 5+ messages in thread
From: Matthias Neuer @ 2014-05-12 12:58 UTC (permalink / raw)
  To: xfs

Hi.

I have a slow and big hdd and a fast but small ssd and want to test the 
following setup but don't know if it's possible.

Use LVM to concatenate the ssd and the hdd linearly. Create a xfs 
filesystem on this device such that the sdd is filled first, i.e. data 
is written to the ssd as long as there is free space, otherwise the data 
is written to the hdd.

I have applications which may benefit from this setup but I am not sure 
so I need to do some benchmarks.

Thanks for your help
Matthias

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xfs spanning over ssd and hdd
  2014-05-12 12:58 xfs spanning over ssd and hdd Matthias Neuer
@ 2014-05-12 14:13 ` Emmanuel Florac
  2014-05-13  7:00   ` Matthias Neuer
  2014-05-12 14:20 ` Eric Sandeen
  1 sibling, 1 reply; 5+ messages in thread
From: Emmanuel Florac @ 2014-05-12 14:13 UTC (permalink / raw)
  To: Matthias Neuer; +Cc: xfs

Le Mon, 12 May 2014 14:58:58 +0200 vous écriviez:

> I have a slow and big hdd and a fast but small ssd and want to test
> the following setup but don't know if it's possible.

This doesn't make much sense. If you want to speed up your HDD by
using the SSD as a cache, you can set up one of the numerous
block-cache systems available for Linux: bcache, enhance IO,
FlashCache...

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xfs spanning over ssd and hdd
  2014-05-12 12:58 xfs spanning over ssd and hdd Matthias Neuer
  2014-05-12 14:13 ` Emmanuel Florac
@ 2014-05-12 14:20 ` Eric Sandeen
  2014-05-13  7:07   ` Matthias Neuer
  1 sibling, 1 reply; 5+ messages in thread
From: Eric Sandeen @ 2014-05-12 14:20 UTC (permalink / raw)
  To: Matthias Neuer, xfs

On 5/12/14, 7:58 AM, Matthias Neuer wrote:
> Hi.
> 
> I have a slow and big hdd and a fast but small ssd and want to test the following setup but don't know if it's possible.
> 
> Use LVM to concatenate the ssd and the hdd linearly. Create a xfs filesystem on this device such that the sdd is filled first, i.e. data is written to the ssd as long as there is free space, otherwise the data is written to the hdd.
> 
> I have applications which may benefit from this setup but I am not sure so I need to do some benchmarks.

XFS doesn't fill from the front, so you can't configure things to fill the HDD first.

Files in new directories rotor around the allocation groups on the filesystem, so all regions of the fs are filled more or less evenly.

-Eric

> Thanks for your help
> Matthias
> 
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
> 

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xfs spanning over ssd and hdd
  2014-05-12 14:13 ` Emmanuel Florac
@ 2014-05-13  7:00   ` Matthias Neuer
  0 siblings, 0 replies; 5+ messages in thread
From: Matthias Neuer @ 2014-05-13  7:00 UTC (permalink / raw)
  To: Emmanuel Florac; +Cc: xfs

Hi.

On 05/12/2014 04:13 PM, Emmanuel Florac wrote:
> Le Mon, 12 May 2014 14:58:58 +0200 vous écriviez:
>
>> I have a slow and big hdd and a fast but small ssd and want to test
>> the following setup but don't know if it's possible.
>
> This doesn't make much sense. If you want to speed up your HDD by
> using the SSD as a cache, you can set up one of the numerous
> block-cache systems available for Linux: bcache, enhance IO,
> FlashCache...
>

I know these systems and tested them but I also wanted to try the above 
mentioned setup. That doesn't seem to work though.

Matthias

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xfs spanning over ssd and hdd
  2014-05-12 14:20 ` Eric Sandeen
@ 2014-05-13  7:07   ` Matthias Neuer
  0 siblings, 0 replies; 5+ messages in thread
From: Matthias Neuer @ 2014-05-13  7:07 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs

Hi.

On 05/12/2014 04:20 PM, Eric Sandeen wrote:
> On 5/12/14, 7:58 AM, Matthias Neuer wrote:
>> Hi.
>>
>> I have a slow and big hdd and a fast but small ssd and want to test the following setup but don't know if it's possible.
>>
>> Use LVM to concatenate the ssd and the hdd linearly. Create a xfs filesystem on this device such that the sdd is filled first, i.e. data is written to the ssd as long as there is free space, otherwise the data is written to the hdd.
>>
>> I have applications which may benefit from this setup but I am not sure so I need to do some benchmarks.
>
> XFS doesn't fill from the front, so you can't configure things to fill the HDD first.
>
> Files in new directories rotor around the allocation groups on the filesystem, so all regions of the fs are filled more or less evenly.
>

Ok, thanks for the info. I fear that xfs is too intelligent because 
filling the device from front to rear seems to be a simple policy.
Maybe I should try FAT16 :)

Thanks
Matthias

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-13  7:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 12:58 xfs spanning over ssd and hdd Matthias Neuer
2014-05-12 14:13 ` Emmanuel Florac
2014-05-13  7:00   ` Matthias Neuer
2014-05-12 14:20 ` Eric Sandeen
2014-05-13  7:07   ` Matthias Neuer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox