public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Using SDs for caching?
@ 2009-06-18 13:56 Roy Sigurd Karlsbakk
  2009-06-18 13:58 ` Using SSDs " Roy Sigurd Karlsbakk
  2009-06-18 15:55 ` Tomasz Torcz
  0 siblings, 2 replies; 6+ messages in thread
From: Roy Sigurd Karlsbakk @ 2009-06-18 13:56 UTC (permalink / raw)
  To: linux-btrfs

Hi all

I have heard/read about systems from Sun and NetApp using SDs for =20
caching. Sun uses different SDs for read and write caching (one being =20
faster for reads and the other for writes). The storage solution from =20
Sun is based on Solaris with ZFS.

I know too little about filesystems design to know exactly how they do =
=20
this, but can someone think of a way this could be implemented in =20
btrfs? I would think such a cache level could speed up things rather =20
well.

Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
roy@karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres =20
intelligibelt. Det er et element=E6rt imperativ for alle pedagoger =E5 =
=20
unng=E5 eksessiv anvendelse av idiomer med fremmed opprinnelse. I de =20
fleste tilfeller eksisterer adekvate og relevante synonymer p=E5 norsk.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Using SSDs for caching?
  2009-06-18 13:56 Using SDs for caching? Roy Sigurd Karlsbakk
@ 2009-06-18 13:58 ` Roy Sigurd Karlsbakk
  2009-06-18 15:55 ` Tomasz Torcz
  1 sibling, 0 replies; 6+ messages in thread
From: Roy Sigurd Karlsbakk @ 2009-06-18 13:58 UTC (permalink / raw)
  To: linux-btrfs

On 18. juni. 2009, at 15.56, Roy Sigurd Karlsbakk wrote:

> Hi all
>
> I have heard/read about systems from Sun and NetApp using SDs for =20
> caching. Sun uses different SDs for read and write caching (one =20
> being faster for reads and the other for writes). The storage =20
> solution from Sun is based on Solaris with ZFS.
>
> I know too little about filesystems design to know exactly how they =20
> do this, but can someone think of a way this could be implemented in =
=20
> btrfs? I would think such a cache level could speed up things rather =
=20
> well.


erm. Obviously, I meant Solid State Drives, SSDs. Sorry about this.

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
roy@karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres =20
intelligibelt. Det er et element=E6rt imperativ for alle pedagoger =E5 =
=20
unng=E5 eksessiv anvendelse av idiomer med fremmed opprinnelse. I de =20
fleste tilfeller eksisterer adekvate og relevante synonymer p=E5 norsk.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Using SSDs for caching?
  2009-06-18 13:56 Using SDs for caching? Roy Sigurd Karlsbakk
  2009-06-18 13:58 ` Using SSDs " Roy Sigurd Karlsbakk
@ 2009-06-18 15:55 ` Tomasz Torcz
  2009-06-18 17:25   ` Roy Sigurd Karlsbakk
  2009-06-19  6:57   ` Sébastien Wacquiez
  1 sibling, 2 replies; 6+ messages in thread
From: Tomasz Torcz @ 2009-06-18 15:55 UTC (permalink / raw)
  To: linux-btrfs

On Thu, Jun 18, 2009 at 03:56:23PM +0200, Roy Sigurd Karlsbakk wrote:
> I have heard/read about systems from Sun and NetApp using SDs for =20
> caching. Sun uses different SDs for read and write caching (one being=
 =20
> faster for reads and the other for writes). The storage solution from=
 =20
> Sun is based on Solaris with ZFS.
>
> I know too little about filesystems design to know exactly how they d=
o =20
> this, but can someone think of a way this could be implemented in btr=
fs?=20

  Linux already has second-level=C2=B9 cache layer, it called FS-Cache.=
 For now,
the sole user is NFS. btrfs could take advantage of FS-Cache also.

=C2=B9 first-level is page cache in RAM

--=20
Tomasz Torcz               "Never underestimate the bandwidth of a stat=
ion
xmpp: zdzichubg@chrome.pl    wagon filled with backup tapes." -- Jim Gr=
ay

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Using SSDs for caching?
  2009-06-18 15:55 ` Tomasz Torcz
@ 2009-06-18 17:25   ` Roy Sigurd Karlsbakk
  2009-06-19  2:36     ` hu.taoo
  2009-06-19  6:57   ` Sébastien Wacquiez
  1 sibling, 1 reply; 6+ messages in thread
From: Roy Sigurd Karlsbakk @ 2009-06-18 17:25 UTC (permalink / raw)
  To: linux-btrfs

On 18. juni. 2009, at 17.55, Tomasz Torcz wrote:

> On Thu, Jun 18, 2009 at 03:56:23PM +0200, Roy Sigurd Karlsbakk wrote:
>> I have heard/read about systems from Sun and NetApp using SDs for
>> caching. Sun uses different SDs for read and write caching (one bein=
g
>> faster for reads and the other for writes). The storage solution fro=
m
>> Sun is based on Solaris with ZFS.
>>
>> I know too little about filesystems design to know exactly how they =
=20
>> do
>> this, but can someone think of a way this could be implemented in =20
>> btrfs?
>
>  Linux already has second-level=B9 cache layer, it called FS-Cache. =20
> For now,
> the sole user is NFS. btrfs could take advantage of FS-Cache also.


I googled around a bit for this, but couldn't find anything useful. =20
Where can I find anything about this second (or fifth) level caching?

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
roy@karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres =20
intelligibelt. Det er et element=E6rt imperativ for alle pedagoger =E5 =
=20
unng=E5 eksessiv anvendelse av idiomer med fremmed opprinnelse. I de =20
fleste tilfeller eksisterer adekvate og relevante synonymer p=E5 norsk.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Using SSDs for caching?
  2009-06-18 17:25   ` Roy Sigurd Karlsbakk
@ 2009-06-19  2:36     ` hu.taoo
  0 siblings, 0 replies; 6+ messages in thread
From: hu.taoo @ 2009-06-19  2:36 UTC (permalink / raw)
  To: linux-btrfs

On Thu, Jun 18, 2009 at 07:25:46PM +0200, Roy Sigurd Karlsbakk wrote:
> On 18. juni. 2009, at 17.55, Tomasz Torcz wrote:
> 
> > On Thu, Jun 18, 2009 at 03:56:23PM +0200, Roy Sigurd Karlsbakk wrote:
> >> I have heard/read about systems from Sun and NetApp using SDs for
> >> caching. Sun uses different SDs for read and write caching (one being
> >> faster for reads and the other for writes). The storage solution from
> >> Sun is based on Solaris with ZFS.
> >>
> >> I know too little about filesystems design to know exactly how they  
> >> do
> >> this, but can someone think of a way this could be implemented in  
> >> btrfs?
> >
> >  Linux already has second-level? cache layer, it called FS-Cache.  
> > For now,
> > the sole user is NFS. btrfs could take advantage of FS-Cache also.
> 
> 
> I googled around a bit for this, but couldn't find anything useful.  
> Where can I find anything about this second (or fifth) level caching?

Will this help? http://www.linux-mag.com/cache/7378/1.html


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

* Re: Using SSDs for caching?
  2009-06-18 15:55 ` Tomasz Torcz
  2009-06-18 17:25   ` Roy Sigurd Karlsbakk
@ 2009-06-19  6:57   ` Sébastien Wacquiez
  1 sibling, 0 replies; 6+ messages in thread
From: Sébastien Wacquiez @ 2009-06-19  6:57 UTC (permalink / raw)
  To: linux-btrfs

Tomasz Torcz a =C3=A9crit :
>   Linux already has second-level=C2=B9 cache layer, it called FS-Cach=
e. For now,
> the sole user is NFS. btrfs could take advantage of FS-Cache also.
>
> =C2=B9 first-level is page cache in RAM
>  =20

=46S-Cache is a good thing to speedup your network filesystem, but to b=
e=20
efficient localy, IMHO, the second-level cache shoud be at the block le=
vel.

So it should go directly in btrfs or in something like the device mappe=
r ...



S=C3=A9bastien Wacquiez
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2009-06-19  6:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-18 13:56 Using SDs for caching? Roy Sigurd Karlsbakk
2009-06-18 13:58 ` Using SSDs " Roy Sigurd Karlsbakk
2009-06-18 15:55 ` Tomasz Torcz
2009-06-18 17:25   ` Roy Sigurd Karlsbakk
2009-06-19  2:36     ` hu.taoo
2009-06-19  6:57   ` Sébastien Wacquiez

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