[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170822062311.okn7coroki2fjgyc@localhost>
Date: Tue, 22 Aug 2017 08:23:11 +0200
From: Richard Cochran <richardcochran@...il.com>
To: Vallish Vaidyeshwara <vallish@...zon.com>
Cc: davem@...emloft.net, shuah@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, eduval@...zon.com,
anchalag@...zon.com, tglx@...utronix.de
Subject: Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket
On Mon, Aug 21, 2017 at 06:22:10PM +0000, Vallish Vaidyeshwara wrote:
> AWS Lambda is affected by this change in behavior in
> system call. Following links has more information:
> https://en.wikipedia.org/wiki/AWS_Lambda
Quote:
Unlike Amazon EC2, which is priced by the hour, AWS Lambda is
metered in increments of 100 milliseconds.
So I guess you want the accurate timeout in order to support billing?
In any case, even with the old wheel you didn't have guarantees WRT
timeout latency, and so the proper way for the application to handle
this is to use a timerfd together with HIGH_RES_TIMERS, and PREEMPT_RT
in order to have sub-millisecond latency.
Thanks,
Richard
Powered by blists - more mailing lists