Re: queue buffer size increasing howto? - solved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 07 Sep 2004 18:30:26 +0200, Banszki Gabor
<banszki.gabor@xxxxxxxxx> wrote:
> Hi everybody!
> 
> I solved the problem by using pthread.h
> 
> The main thread in my process is reading from the queue buffer and open
> new threads for the long time tasks.
> 
> In this case I don't need to increase the buffer size of the netlink
> socket.

You will still lose some data under high enough load. This is exactly
what I did, as well, and I still needed to pump up the size of the
socket recv buffer.

-- 
[ Tobias DiPasquale ]
0x636f6465736c696e67657240676d61696c2e636f6d


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux