| To: | Dmitry Yusupov <dmitry_yus@xxxxxxxxx> |
|---|---|
| Subject: | Re: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit Proposed Topics |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Sat, 26 Mar 2005 22:46:21 -0800 |
| Cc: | mpm@xxxxxxxxxxx, andrea@xxxxxxx, michaelc@xxxxxxxxxxx, open-iscsi@xxxxxxxxxxxxxxxx, James.Bottomley@xxxxxxxxxxxxxxxxxxxxx, ksummit-2005-discuss@xxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <1111905181.4753.15.camel@mylaptop> |
| References: | <4241D106.8050302@xxxxxxxxxxx> <20050324101622S.fujita.tomonori@xxxxxxxxxxxxx> <1111628393.1548.307.camel@beastie> <20050324113312W.fujita.tomonori@xxxxxxxxxxxxx> <1111633846.1548.318.camel@beastie> <20050324215922.GT14202@xxxxxxxxxxxxxx> <424346FE.20704@xxxxxxxxxxx> <20050324233921.GZ14202@xxxxxxxxxxxxxx> <20050325034341.GV32638@xxxxxxxxx> <20050327035149.GD4053@xxxxxxxxx> <20050327054831.GA15453@xxxxxxxxx> <1111905181.4753.15.camel@mylaptop> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Sat, 26 Mar 2005 22:33:01 -0800 Dmitry Yusupov <dmitry_yus@xxxxxxxxx> wrote: > i.e. TCP stack should call NIC driver's callback after all SKB data > been successfully copied to the user space. At that point NIC driver > will safely replenish HW ring. This way we could avoid most of memory > allocations on receive. How does this solve your problem? This is just simple SKB recycling, and it's a pretty old idea. TCP packets can be held on receive for arbitrary amounts of time. This is especially true if data is received out of order or when packets are dropped. We can't even wake up the user until the holes in the sequence space are filled. Even if data is received properly and in order, there are no hard guarentees about when the user will get back onto the CPU to get the data copied to it. During these gaps in time, you will need to keep your HW receive ring populated with packets. |
| Previous by Date: | Re: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit Proposed Topics, Matt Mackall |
|---|---|
| Next by Date: | Re: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit Proposed Topics, Dmitry Yusupov |
| Previous by Thread: | Re: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit Proposed Topics, Dmitry Yusupov |
| Next by Thread: | Re: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit Proposed Topics, Dmitry Yusupov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |