[Winpcap-users] pcap_sendqueue_transmit() has 128MB limit?

Adagio Grazioso adagiograzioso at gmail.com
Mon Apr 27 20:34:11 PDT 2009


GV,

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)

Adagio

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.
>
> GV
>
>
> ----- 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
>>> calls,
>>> 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
>>> the
>>> 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
>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>

<div><br></div>


More information about the Winpcap-users mailing list