Re: fragments sent in reverse order

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Jan 15 2000 - 15:14:33 EST


> fragments until the skbuffs have been built, THEN insert the fragments onto
> the device output queue. That way, if you run out of memory you don't send
> anything at all, and you have less dead traffic.

Its a bad idea. Running out of memory is a weird fringe case. Your proposal
makes it more likely to happen and harms performance in general in case it
does.

> be implemented to count the total number of memory-out conditions
> encountered by the networking software; right now it happens silently so
> there is no way for the sysadmin to be aware there are any problems. (I
> prefer that to generating a syslog message because the admin can write his
> own userland stuff to track any memory problems.)

alloc_skb fails are counted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:13 EST