[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <4E51A3F0.5010500@ctc-g.co.jp>
Date: Mon, 22 Aug 2011 09:33:52 +0900
From: "Jun.Kondo" <jun.kondo@...-g.co.jp>
To: David Miller <davem@...emloft.net>
Cc: linux-kernel@...r.kernel.org, omega-g1@...-g.co.jp,
notsuki@...hat.com, motokazu.kozaki@...com, htaira@...hat.com,
netdev@...r.kernel.org, tomohiko.takahashi@...-g.co.jp,
kotaro.sakai@...-g.co.jp, ken.sugawara@...-g.co.jp
Subject: Re: [omega-g1:11072] Re: [PATCH] net: configurable sysctl parameter
"net.core.tcp_lowat" for sk_stream_min_wspace()
By using this patch, we want to prevent "timeout occured over the network that is low throughput but available".
But in the current implementation, both blocking and non-blocking,
user processes can't recognize the reason in detail
when failed to write to socket buffer, we think.
is it (really) network problem ?
or is wmem not enough free to write?
As stated above, we think it is difficult for user processes to handle timeout of writing socket buffer,
when wmem is configured large value.(to ensure high throughput over the high ralency network, like 3G).
(2011/08/19 18:43), David Miller wrote:
> From: "Jun.Kondo"<jun.kondo@...-g.co.jp>
> Date: Fri, 19 Aug 2011 18:28:45 +0900
>
>> You suggested to use non-blocking writes, but we think
>> we have to rewrite the Apache code if doing so.
>> That is, we have to make a modification to Apache that
>> depends on the architecture.
>> By using this patch, it can be handled by changing the
>> configuration a little bit on the kernel side for such
>> applications that it is difficult to do so on application
>> side.
> The kernel provides the facilities necessary to achieve your
> goals. It is a userspace problem.
>
--
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
近藤 潤
v 伊藤忠テクノソリューションズ株式会社(CTC)
v システム技術第1部 技術第4課
v 個人:03-6757-2144
v FAX:03-5800-2256
v
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists