[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] PATCH: enabling TCP keepalives - v3
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] PATCH: enabling TCP keepalives - v3 |
Date: |
Fri, 1 May 2009 17:04:47 +0100 |
User-agent: |
KMail/1.9.9 |
> I don't think an option is very useful. If you lose your connection and
> now have a bunch of orphan connections, it's too late to have the
> foresight to have used an option on startup. In that case, it would be
> much better to just be able to close existing connections.
>
> I think there's a very, very small number of people that would have the
> foresight to always use keepalive=60 or whatever the option would be.
In that case we should do nothing. Users with a flakey net connection can
tweak their kernel (via /proc/sys) to use lower timeouts. AFAICS There's no
way qemu can know what a "better" value is. As a concrete example my ADSL
connection takes between 90 and 180 seconds to resync after a noise spike, so
60 seconds is absolutely the wrong timeout value here.
Paul
Re: [Qemu-devel] PATCH: enabling TCP keepalives - v3, Anthony Liguori, 2009/05/01