linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question : Compress files to send with NFS4.1
@ 2016-04-07 13:27 Martin Houry
  2016-04-07 14:06 ` Cedric Blancher
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Houry @ 2016-04-07 13:27 UTC (permalink / raw)
  To: Linux NFS Mailing List

Is NFS4.1 capable to compress files before sending them on the network
and decompress them on the destination to speed up the file transfert?

Kind regards,
Martin

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

* Re: Question : Compress files to send with NFS4.1
  2016-04-07 13:27 Question : Compress files to send with NFS4.1 Martin Houry
@ 2016-04-07 14:06 ` Cedric Blancher
  2016-04-07 18:16   ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Cedric Blancher @ 2016-04-07 14:06 UTC (permalink / raw)
  To: Martin Houry; +Cc: Linux NFS Mailing List

On 7 April 2016 at 15:27, Martin Houry <martinhoury@gmail.com> wrote:
> Is NFS4.1 capable to compress files before sending them on the network
> and decompress them on the destination to speed up the file transfert?

You can get that with IP tunnel compression. Trouble is, NFS
(v2/v3/v4; and younger protocol designers are even worse by telling
you 'dunno care about high latency [ > 4 sec roundtrip ] any more'
[yeah? wanna pester? old RFS and AFS did a better job...]) are highly
sensitive to latency, and like ssh the high latency causes more
trouble than its worth.

Ced

>
> Kind regards,
> Martin
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Cedric Blancher <cedric.blancher@gmail.com>
Institute Pasteur

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

* Re: Question : Compress files to send with NFS4.1
  2016-04-07 14:06 ` Cedric Blancher
@ 2016-04-07 18:16   ` J. Bruce Fields
  0 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2016-04-07 18:16 UTC (permalink / raw)
  To: Cedric Blancher; +Cc: Martin Houry, Linux NFS Mailing List

On Thu, Apr 07, 2016 at 04:06:11PM +0200, Cedric Blancher wrote:
> On 7 April 2016 at 15:27, Martin Houry <martinhoury@gmail.com> wrote:
> > Is NFS4.1 capable to compress files before sending them on the network
> > and decompress them on the destination to speed up the file transfert?
> 
> You can get that with IP tunnel compression. Trouble is, NFS
> (v2/v3/v4; and younger protocol designers are even worse by telling
> you 'dunno care about high latency [ > 4 sec roundtrip ] any more'
> [yeah? wanna pester? old RFS and AFS did a better job...]) are highly
> sensitive to latency, and like ssh the high latency causes more
> trouble than its worth.

The only feature the protocol has that's a little bit like compression
is READ_PLUS (in 4.2), which can tell the client that a range of the
file is a hole instead of returning all the zeroes.  You could think of
that as a specialized kind of compression for sparse files.  Even there
we've been having some trouble ensuring there aren't performance
regressions.

--b.

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

end of thread, other threads:[~2016-04-07 18:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07 13:27 Question : Compress files to send with NFS4.1 Martin Houry
2016-04-07 14:06 ` Cedric Blancher
2016-04-07 18:16   ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).