Messages in this thread |  | | From | "David S. Miller" <> | Date | Sun, 13 May 2001 20:29:36 -0700 (PDT) | Subject | Re: skb->truesize > sk->rcvbuf == Dropped packets |
| |
kuznet@ms2.inr.ac.ru writes: > > > Any suggestions on heuristics for this ? > > Not to set rcvbuf to ridiculously low values. The best variant is not > to touch SO_*BUF options at all.
Hmmm... I don't see how not touching buffer values can solve his problem at all. His MTU is really HUGE, and in this case 300 byte packet eats 10k or so space in receive buffer.
I doubt our buffer size tuning algorithms can cope with this.
Really, copy threshold in driver just must be choosen carefully.
Later, David S. Miller davem@redhat.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |