netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi>
To: kristrev@simula.no
Cc: Andreas Petlund <apetlund@simula.no>,
	Netdev <netdev@vger.kernel.org>,
	griff@simula.no, paalh@ifi.uio.no
Subject: Re: RFC: Latency reducing TCP modifications for thin-stream        interactive applications
Date: Thu, 22 Jan 2009 16:13:19 +0200 (EET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0901221554240.1889@wrl-59.cs.helsinki.fi> (raw)
In-Reply-To: <92d5db086b180f1241f7258fabae8f1b.squirrel@webmail.uio.no>

On Wed, 21 Jan 2009, kristrev@simula.no wrote:

> >> If I have understood the code correctly, what will then be the
> >> difference
> >> between our current solution and the one you suggest (except we can
> >> remove
> >> one of the bundling methods and when a packet is retransmitted)? If I
> >> have
> >> not understood the code correctly, feel free to yell :) (if it is a
> >> misunderstanding, it also explains all the checks for skb->cloned).
> >
> > It didn't mean clone an skb but copy the relevant data into new skb which
> > is then not put into write queue at all but given to lower layers only.
> 
> Thank you, now I understand what you meant and I agree that it is a better
> solution. However, when I think of it, copying might be too resource
> intensive and thus remove all gains from RDB. We have seen streams with 
> small packets and very low interarrival times, which would lead to a large
> number of copy-operations every second. I will implement it and compare
> performance.

The latencies caused by network related problems are hardly in the same 
order of magnitude than processing latencies due to simple alloc + copy of 
<= mss sized content, and if data is in frags you won't be copying even 
that much. For every avoided retransmission (with the associated rtt 
latency) you can copy a lot of data.

Ah, one more thing I already forgot earlier... Your solution is lacking 
means to deal with ambiguity problem which is a serious problem since
RTT measurements are valid only if there was not ambiguity.

-- 
 i.

  reply	other threads:[~2009-01-22 14:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 14:54 RFC: Latency reducing TCP modifications for thin-stream interactive applications Andreas Petlund
2009-01-14 15:32 ` Ilpo Järvinen
2009-01-16 10:13   ` kristrev
2009-01-20 15:45     ` Ilpo Järvinen
2009-01-21 13:50       ` kristrev
2009-01-22 14:13         ` Ilpo Järvinen [this message]
     [not found] <492EA31D.8000704@simula.no>
2008-11-28 12:25 ` Ilpo Järvinen

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=Pine.LNX.4.64.0901221554240.1889@wrl-59.cs.helsinki.fi \
    --to=ilpo.jarvinen@helsinki.fi \
    --cc=apetlund@simula.no \
    --cc=griff@simula.no \
    --cc=kristrev@simula.no \
    --cc=netdev@vger.kernel.org \
    --cc=paalh@ifi.uio.no \
    /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).