All of lore.kernel.org
 help / color / mirror / Atom feed
* [LSF/MM TOPIC] Compounding support in CIFS.KO
@ 2018-01-31 20:23 ronnie sahlberg
  2018-01-31 22:03 ` Matthew Wilcox
  0 siblings, 1 reply; 6+ messages in thread
From: ronnie sahlberg @ 2018-01-31 20:23 UTC (permalink / raw)
  To: lsf-pc, linux-fsdevel

(Re-sending since typing the right email address is hard)


Proposal:


Compounding support for cifs.ko

In CIFS.KO we are currently adding compounding support for SMB2/3.
As SMB* is a very chatty protocol which likes to do open/query/close a LOT
compounding support to wrap all three operations inside a single round trip
can have a significant performance boost to meta data intensive workloads.

In this talk I will talk about the challenges I faced and what previous design
decisions in cifs.ko that made this very hard and how I refactored the design.

I will also talk about the current status of these patches as well as give a
live demonstration of compounding in action.

regards
Ronnie Sahlberg, RedHat

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

* Re: [LSF/MM TOPIC] Compounding support in CIFS.KO
  2018-01-31 20:23 [LSF/MM TOPIC] Compounding support in CIFS.KO ronnie sahlberg
@ 2018-01-31 22:03 ` Matthew Wilcox
  2018-01-31 22:13   ` Chuck Lever
  0 siblings, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2018-01-31 22:03 UTC (permalink / raw)
  To: ronnie sahlberg; +Cc: lsf-pc, linux-fsdevel

On Thu, Feb 01, 2018 at 06:23:03AM +1000, ronnie sahlberg wrote:
> Compounding support for cifs.ko
> 
> In CIFS.KO we are currently adding compounding support for SMB2/3.
> As SMB* is a very chatty protocol which likes to do open/query/close a LOT
> compounding support to wrap all three operations inside a single round trip
> can have a significant performance boost to meta data intensive workloads.
> 
> In this talk I will talk about the challenges I faced and what previous design
> decisions in cifs.ko that made this very hard and how I refactored the design.
> 
> I will also talk about the current status of these patches as well as give a
> live demonstration of compounding in action.

I think all of these things are worthwhile and stand to improve
the implementation a lot.  Are they of interest to other filesystem
developers?  Are there VFS changes which would help make compounding
easier?  Or is this only of interest to other CIFS people, in which case
this might not be the best use of a slot at LSFMM ...

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

* Re: [LSF/MM TOPIC] Compounding support in CIFS.KO
  2018-01-31 22:03 ` Matthew Wilcox
@ 2018-01-31 22:13   ` Chuck Lever
  2018-01-31 22:22     ` ronnie sahlberg
  0 siblings, 1 reply; 6+ messages in thread
From: Chuck Lever @ 2018-01-31 22:13 UTC (permalink / raw)
  To: Matthew Wilcox, ronnie sahlberg; +Cc: lsf-pc, linux-fsdevel



> On Jan 31, 2018, at 5:03 PM, Matthew Wilcox <willy@infradead.org> wrote:
> 
> On Thu, Feb 01, 2018 at 06:23:03AM +1000, ronnie sahlberg wrote:
>> Compounding support for cifs.ko
>> 
>> In CIFS.KO we are currently adding compounding support for SMB2/3.
>> As SMB* is a very chatty protocol which likes to do open/query/close a LOT
>> compounding support to wrap all three operations inside a single round trip
>> can have a significant performance boost to meta data intensive workloads.
>> 
>> In this talk I will talk about the challenges I faced and what previous design
>> decisions in cifs.ko that made this very hard and how I refactored the design.
>> 
>> I will also talk about the current status of these patches as well as give a
>> live demonstration of compounding in action.
> 
> I think all of these things are worthwhile and stand to improve
> the implementation a lot.  Are they of interest to other filesystem
> developers?  Are there VFS changes which would help make compounding
> easier?  Or is this only of interest to other CIFS people, in which case
> this might not be the best use of a slot at LSFMM ...

This is in my area of interest also.

However, my understanding of LSF/MM is that this is not a "stand up
and give a status or implementation experience report" kind of event.
It's more of a "I have this specific itch that I need to get some
help with." None of the above proposal strikes me as very specific,
and a CIFS-centric talk would likely be unappealing to even most of
the attendees of the Filesystems track.

Can the proposed topic be rephrased as a focused discussion of what
work needs to be moved forward, what decisions need to be made, and
so on? Otherwise, we should move this topic to a network filesystems
BoF or to the corridor track, IMHO.


--
Chuck Lever

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

* Re: [LSF/MM TOPIC] Compounding support in CIFS.KO
  2018-01-31 22:13   ` Chuck Lever
@ 2018-01-31 22:22     ` ronnie sahlberg
  2018-02-01  2:40       ` J. Bruce Fields
  0 siblings, 1 reply; 6+ messages in thread
From: ronnie sahlberg @ 2018-01-31 22:22 UTC (permalink / raw)
  To: Chuck Lever; +Cc: Matthew Wilcox, lsf-pc, linux-fsdevel

On Thu, Feb 1, 2018 at 8:13 AM, Chuck Lever <chuck.lever@oracle.com> wrote:
>
>
>> On Jan 31, 2018, at 5:03 PM, Matthew Wilcox <willy@infradead.org> wrote:
>>
>> On Thu, Feb 01, 2018 at 06:23:03AM +1000, ronnie sahlberg wrote:
>>> Compounding support for cifs.ko
>>>
>>> In CIFS.KO we are currently adding compounding support for SMB2/3.
>>> As SMB* is a very chatty protocol which likes to do open/query/close a LOT
>>> compounding support to wrap all three operations inside a single round trip
>>> can have a significant performance boost to meta data intensive workloads.
>>>
>>> In this talk I will talk about the challenges I faced and what previous design
>>> decisions in cifs.ko that made this very hard and how I refactored the design.
>>>
>>> I will also talk about the current status of these patches as well as give a
>>> live demonstration of compounding in action.
>>
>> I think all of these things are worthwhile and stand to improve
>> the implementation a lot.  Are they of interest to other filesystem
>> developers?  Are there VFS changes which would help make compounding
>> easier?  Or is this only of interest to other CIFS people, in which case
>> this might not be the best use of a slot at LSFMM ...
>
> This is in my area of interest also.
>
> However, my understanding of LSF/MM is that this is not a "stand up
> and give a status or implementation experience report" kind of event.
> It's more of a "I have this specific itch that I need to get some
> help with." None of the above proposal strikes me as very specific,
> and a CIFS-centric talk would likely be unappealing to even most of
> the attendees of the Filesystems track.
>
> Can the proposed topic be rephrased as a focused discussion of what
> work needs to be moved forward, what decisions need to be made, and
> so on? Otherwise, we should move this topic to a network filesystems
> BoF or to the corridor track, IMHO.
>

I think you are right.
The topic of cifs compounding is only really interesting to cifs folks and
not many others.
While other filesystems such as NFSv4 has compounding too, the way compounding
works in cifs is different enough that there is little meaningful
overlap between the two.

It is therefore probably not suitable for lsf/mm.


Please disregard this proposal.
It might be more suitable to just have ad-hoc informal talks between
the cifs folks at the event
than a scheduled topic.


regards
Ronnie Sahlberg

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

* Re: [LSF/MM TOPIC] Compounding support in CIFS.KO
  2018-01-31 22:22     ` ronnie sahlberg
@ 2018-02-01  2:40       ` J. Bruce Fields
  2018-02-01  4:31         ` Steve French
  0 siblings, 1 reply; 6+ messages in thread
From: J. Bruce Fields @ 2018-02-01  2:40 UTC (permalink / raw)
  To: ronnie sahlberg; +Cc: Chuck Lever, Matthew Wilcox, lsf-pc, linux-fsdevel

On Thu, Feb 01, 2018 at 08:22:03AM +1000, ronnie sahlberg wrote:
> I think you are right.  The topic of cifs compounding is only really
> interesting to cifs folks and not many others.  While other
> filesystems such as NFSv4 has compounding too, the way compounding
> works in cifs is different enough that there is little meaningful
> overlap between the two.

I'm trying to remember what people have found to be the obstacles to
more aggressive use of compounds in NFS.  (Things like opening a file
and doing IO to it in one compound.)  Might it be more practical with
some VFS changes?  Are there some shared CIFS/NFS issues there?

Anyway, the hallway track is fine....

--b.

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

* Re: [LSF/MM TOPIC] Compounding support in CIFS.KO
  2018-02-01  2:40       ` J. Bruce Fields
@ 2018-02-01  4:31         ` Steve French
  0 siblings, 0 replies; 6+ messages in thread
From: Steve French @ 2018-02-01  4:31 UTC (permalink / raw)
  To: J. Bruce Fields
  Cc: ronnie sahlberg, Chuck Lever, Matthew Wilcox, lsf-pc, linux-fsdevel

On Wed, Jan 31, 2018 at 8:40 PM, J. Bruce Fields <bfields@fieldses.org> wrote:
> On Thu, Feb 01, 2018 at 08:22:03AM +1000, ronnie sahlberg wrote:
>> I think you are right.  The topic of cifs compounding is only really
>> interesting to cifs folks and not many others.  While other
>> filesystems such as NFSv4 has compounding too, the way compounding
>> works in cifs is different enough that there is little meaningful
>> overlap between the two.
>
> I'm trying to remember what people have found to be the obstacles to
> more aggressive use of compounds in NFS.  (Things like opening a file
> and doing IO to it in one compound.)  Might it be more practical with
> some VFS changes?  Are there some shared CIFS/NFS issues there?

Very likely - things that results in the equivalent of getattr/open/getattr
for example.  Should be possible to find examples where multiple
VFS calls could be optionally compressed into one (for network file systems
where the individual calls are expensive to send independently).

> Anyway, the hallway track is fine....



-- 
Thanks,

Steve

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

end of thread, other threads:[~2018-02-01  4:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-31 20:23 [LSF/MM TOPIC] Compounding support in CIFS.KO ronnie sahlberg
2018-01-31 22:03 ` Matthew Wilcox
2018-01-31 22:13   ` Chuck Lever
2018-01-31 22:22     ` ronnie sahlberg
2018-02-01  2:40       ` J. Bruce Fields
2018-02-01  4:31         ` Steve French

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.