lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTint-pWd2vBsHHcc_i77V20GOrHwLo32b_=GX2EO@mail.gmail.com>
Date:	Tue, 21 Sep 2010 08:14:01 +0800
From:	Changli Gao <xiaosuo@...il.com>
To:	Tom Herbert <therbert@...gle.com>
Cc:	netdev@...r.kernel.org, davem@...emloft.net, sridharr@...gle.com
Subject: Re: [PATCH] xmit_compl_seq: information to reclaim vmsplice buffers

On Tue, Sep 21, 2010 at 1:50 AM, Tom Herbert <therbert@...gle.com> wrote:
>
>>
>> > On the server side it works well if there are a sufficient
>> > number of requests coming on the connection (resorting to the
>> > timeout if necessary as described above).
>>
>> If no response is sent out by the client, the timeout mechanism may
>> slow down the data transfer.
>>
> Why would that slow down a transfer?


vmsplice(sock, page).
epoll(sock.read_event, timeo);
/* time out */
if_the_page_is_available.
  reclaim_page_and_send_the_next_data.

The page maybe available before timeout, and you may not send the next
data in time.



-- 
Regards,
Changli Gao(xiaosuo@...il.com)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ