From: Eric Dumazet <eric.dumazet@gmail.com>
To: Josh Hunt <joshhunt00@gmail.com>
Cc: Hagen Paul Pfeifer <hagen@jauu.net>, netdev@vger.kernel.org
Subject: Re: long-lived tcp connection question
Date: Thu, 22 Mar 2012 15:29:54 -0700 [thread overview]
Message-ID: <1332455394.6521.10.camel@edumazet-glaptop> (raw)
In-Reply-To: <CAKA=qzZ7K6gGJ88NR83nm1vNnRWiuwN-MbEVzeSRpuok7j2vTQ@mail.gmail.com>
On Thu, 2012-03-22 at 17:27 -0500, Josh Hunt wrote:
> On Thu, Mar 22, 2012 at 4:51 PM, Hagen Paul Pfeifer <hagen@jauu.net> wrote:
> > * Josh Hunt | 2012-03-22 11:56:19 [-0500]:
> >
> >>Given things like web sockets with presumably long-lived persistent
> >>tcp connections and a sparse amount of data, I was wondering if there
> >>are currently any mechanisms in the kernel or out of tree projects
> >>which work on reducing the overhead these connections require?
> >>Possibly storing their state after a certain period of inactivity and
> >>then reviving them when work needs to be done? I'm thinking something
> >>along the lines of the state info stored for time-wait sockets and
> >>then the ability to resurrect it on an incoming packet. Keeping
> >>resources around for such connections seems inefficient although
> >>possibly unavoidable.
> >
> > Do you referring to something like this:
> >
> > https://datatracker.ietf.org/doc/draft-ietf-tcpm-fastopen/
> >
> > The Linux code is not released yet, but I know that the required storage
> > overhead is small. Search the IETF email archive for more background
> > information about the topic.
> >
> > Hagen
> >
>
> No, this deals more with the overhead of establishing a connection.
> I'm asking more about the overhead associated with holding on to
> long-lived connections which may not be doing much.
>
So what are the actual numbers for this overhead per socket ?
prev parent reply other threads:[~2012-03-22 22:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-22 16:56 long-lived tcp connection question Josh Hunt
2012-03-22 21:51 ` Hagen Paul Pfeifer
2012-03-22 22:27 ` Josh Hunt
2012-03-22 22:29 ` Eric Dumazet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332455394.6521.10.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=hagen@jauu.net \
--cc=joshhunt00@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).