public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: "David S. Miller" <davem@redhat.com>
Cc: SteveW@ACM.org, jschlst@samba.org, ncorbic@sangoma.com,
	eis@baty.hanse.de, dag@brattli.net, torvalds@transmeta.com,
	marcelo@conectiva.com.br, netdev@oss.sgi.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH][RFC 2] cleaning up struct sock
Date: Tue, 18 Dec 2001 10:01:04 -0200	[thread overview]
Message-ID: <20011218100104.A2000@conectiva.com.br> (raw)
In-Reply-To: <20011210230810.C896@conectiva.com.br> <20011210.231826.55509210.davem@redhat.com> <20011218033552.B910@conectiva.com.br> <20011217.225134.91313099.davem@redhat.com>
In-Reply-To: <20011217.225134.91313099.davem@redhat.com>

Em Mon, Dec 17, 2001 at 10:51:34PM -0800, David S. Miller escreveu:
>    From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
>    Date: Tue, 18 Dec 2001 03:35:52 -0200
> 
>    the only thing that still has to be done is to remove things
>    like daddr, saddr, rcv_saddr, dport, sport and other ipv4 specific members
>    of struct sock
> 
> Actually, I'd like to keep the first couple cache lines of struct
> sock the way it is :-(  For hash lookups the identity + the hash next
> pointer fit perfectly in one cache line on nearly all platforms.

fair
 
> Which brings me to...
>    
>    Please let me know if this is something acceptable for 2.5.
> 
> What kind of before/after effect do you see in lat_tcp/lat_connect
> (from lmbench) runs?

Will see today, I concentrated on the cleanup part trying not to harm
performance  by following the suggestions for the first patch (i.e., just one
allocation, etc). I'll test it later today, at the lab, UP and SMP (4 and 8
way) and submit the results here.

Apart from possible performance problems, does the patch looks OK?

- Arnaldo

  parent reply	other threads:[~2001-12-18 12:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20011210230810.C896@conectiva.com.br>
     [not found] ` <20011210.231826.55509210.davem@redhat.com>
2001-12-18  5:35   ` [PATCH][RFC 2] cleaning up struct sock Arnaldo Carvalho de Melo
     [not found]     ` <20011217.225134.91313099.davem@redhat.com>
2001-12-18 12:01       ` Arnaldo Carvalho de Melo [this message]
2001-12-18 20:52       ` Arnaldo Carvalho de Melo
2001-12-18 21:08         ` David S. Miller
     [not found]           ` <20011218232222.A1963@conectiva.com.br>
2001-12-20  3:23             ` [PATCH][RFC 3] " Arnaldo Carvalho de Melo
2001-12-20  8:21               ` David S. Miller
2001-12-20 12:37                 ` Arnaldo Carvalho de Melo
2001-12-21 13:54                 ` Arnaldo Carvalho de Melo
2001-12-22  3:28                   ` [PATCH][RFC 4] " Arnaldo Carvalho de Melo

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=20011218100104.A2000@conectiva.com.br \
    --to=acme@conectiva.com.br \
    --cc=SteveW@ACM.org \
    --cc=dag@brattli.net \
    --cc=davem@redhat.com \
    --cc=eis@baty.hanse.de \
    --cc=jschlst@samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=ncorbic@sangoma.com \
    --cc=netdev@oss.sgi.com \
    --cc=torvalds@transmeta.com \
    /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