[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080507.141835.229114942.davem@davemloft.net>
Date: Wed, 07 May 2008 14:18:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hkchu@...gle.com
Cc: netdev@...r.kernel.org
Subject: Re: Socket buffer sizes with autotuning
From: "Jerry Chu" <hkchu@...gle.com>
Date: Wed, 7 May 2008 11:36:59 -0700
> No I haven't tested your patch. I tried to understand skb better before
> applying your patch. After I studied bunch of code, I come to the conclusion
> that your patch won't work for me. First it tracks # of clones, which is not
> what I need. E.g., tcpdump will cause host_inflight to be grossly wrong.
We can make sub-clones not count.
Also, we already can distinguish this case, because all SKB clones
made by TCP are fast-clones. So we could only bump the counter for
fast clones. If tcpdump clones it again, it won't be a fast clone and
therefore we can avoid bumping the counter in that case. Similarly
for other features that want to clone.
Please try to get your idea working with my infrastructure. We
can modify it to behave however you need it to, but at the core
it's the idea that tracks the state most directly and properly.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists