[Winpcap-users] pcap_sendqueue_transmit() has 128MB limit?
janne.m.heikkinen at helsinki.fi
Mon Apr 27 22:16:11 PDT 2009
I had unique id + crc in every packet so I had to build them and
I wasn't just able to send the same packets again. But if I drop
that unique id I could transmit same queue in loop.
Lainaus "Adagio Grazioso" <adagiograzioso at gmail.com>:
> Sorry to jump in - but I'm curious. Why even 2-3 queues? Why not just
> 1 queue in a loop? (Assuming of course that we are transferring the
> same packet and not transferring different types of packet which would
> require 2-3 MB and hence 2-3 queues)
> On Tue, Apr 28, 2009 at 4:32 AM, Gianluca Varenni
> <gianluca.varenni at cacetech.com> wrote:
>> I would just use a 2-3 queues and not much more than that.
>> ----- Original Message -----
>> From: "Janne Heikkinen" <janne.m.heikkinen at helsinki.fi>
>> To: <winpcap-users at winpcap.org>
>> Sent: Saturday, April 25, 2009 5:31 AM
>> Subject: Re: [Winpcap-users] pcap_sendqueue_transmit() has 128MB limit?
>>> Lainaus "Gianluca Varenni" <gianluca.varenni at cacetech.com>:
>>>> Even if you need to transmit at gigabit rates, I wouldn't use a queue of
>>>> more than 1-2 MB. Using large sendqueue reduces the number of system
>>>> but it gives a hard time to the I/O manager because that large chunk of
>>>> virtual address space needs to be paged in and locked into memory when
>>>> driver needs to access it. This is extremely time consuming when you use
>>>> large buffers.
>>> So if I would use 1000 1MB send queues there wouldn't be much delay
>>> between different queues?
>>> - Janne
>>> Winpcap-users mailing list
>>> Winpcap-users at winpcap.org
>> Winpcap-users mailing list
>> Winpcap-users at winpcap.org
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
More information about the Winpcap-users