Hi ,

In the NICDrv test01 (promiscuous mode rx/tx test using netperf and snoop), I 
noticed that my driver runs out of resources. I am using "desballoc" to pre- 
allocate message blocks and the OS should return data buffer once it consumes 
the message. It seems that the driver does not get data buffer back in time and 
has to rely heavily on "copy" mode which I used when there are not enough free 
data buffer inside driver and has to dynamically allocate new message block 
using "allocb", copy new packet to it, then send to OS. But gradually, machine 
becomes very slow, probably due to large number of memory held by OS.

I am wondering in what condition can this situation happen? why OS does not 
return data buffer back to driver quickly? if a packet driver sent is wong, the 
OS should discard it immediately and release the memory, isn't it?

Tom
-- 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to