Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: joe@perches.com, steffen.klassert@secunet.com,
	netdev@vger.kernel.org, timo.teras@iki.fi
Subject: Re: dst->obsolete has become pointless
Date: Thu, 10 Nov 2011 01:33:43 +0100	[thread overview]
Message-ID: <1320885223.5825.37.camel@edumazet-laptop> (raw)
In-Reply-To: <20111109.192427.661860445333469011.davem@davemloft.net>

Le mercredi 09 novembre 2011 à 19:24 -0500, David Miller a écrit :

> We can only use it in this scenerio if it universally
> uses the same type.  This is due to the by-hand layout
> of the rest of the structure such that __refcnt ends
> up on a different cache line.
> --

tbench (or any tcp on loopback workload) is currently hitting a single
dst refcnt because a single dst is shared by all sockets...

Now some information was migrated to inetpeer, I wonder if we could not
allocate a private dst for a socket ?

Just an idea before the night...

  reply	other threads:[~2011-11-10  0:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-05  3:09 dst->obsolete has become pointless David Miller
2011-11-08  9:34 ` Steffen Klassert
2011-11-08 17:20   ` David Miller
2011-11-08 18:59     ` David Miller
2011-11-09 12:49       ` Joe Perches
2011-11-09 19:20         ` David Miller
2011-11-09 23:56           ` Joe Perches
2011-11-10  0:24             ` David Miller
2011-11-10  0:33               ` Eric Dumazet [this message]
2011-11-10  0:47                 ` David Miller

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=1320885223.5825.37.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=joe@perches.com \
    --cc=netdev@vger.kernel.org \
    --cc=steffen.klassert@secunet.com \
    --cc=timo.teras@iki.fi \
    /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