Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1715377
| From | Vallish Vaidyeshwara <vallish@amazon.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH RESEND 0/2] enable hires timer to timeout datagram socket |
| Date | 2017-08-18 21:00 +0200 |
| Message-ID | <ufUEV-7yR-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello Dave, Resending the patch series to include netdev mailing list with a cover letter. I am submitting 2 patch series to enable hires timer to timeout datagram sockets (AF_UNIX & AF_INET domain) and test code to test timeout accuracy on these sockets. There has been a behavior change in 4.9 kernel with refactoring of Kernel timer wheel in 4.8. We have a use case wherein our datagram socket application is sensitive to socket timeout including long timeouts. One of the test runs with a timeout value of 180 seconds timed out at 190 seconds. [root@]# ./datagram_sock_timeout 180000 datagram_sock_timeout failed: took 190.00 seconds [root@]# The same program when run on a 4.4 kernel would timeout more accurately and the kernel added slack was not noticeable to user application. Patch 1: Has core code change of enabling hires timer to timeout datagram socket on AF_UNIX and AF_INET domain Patch 2: Test code to report regression in timeout behavior related to patch 1 Vallish Vaidyeshwara (2): net: enable high resolution timer mode to timeout datagram sockets selftests/net: add test to verify datagram socket timeout net/core/datagram.c | 11 +- tools/testing/selftests/net/Makefile | 3 +- .../testing/selftests/net/datagram_sock_timeout.c | 119 +++++++++++++++++++++ .../selftests/net/run_datagram_sock_timeout.sh | 12 +++ 4 files changed, 143 insertions(+), 2 deletions(-) create mode 100644 tools/testing/selftests/net/datagram_sock_timeout.c create mode 100755 tools/testing/selftests/net/run_datagram_sock_timeout.sh -- 2.7.3.AMZN
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-18 21:00 +0200
[PATCH RESEND 1/2] net: enable high resolution timer mode to timeout datagram sockets Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-18 21:00 +0200
Re: [PATCH RESEND 1/2] net: enable high resolution timer mode to timeout datagram sockets Cong Wang <xiyou.wangcong@gmail.com> - 2017-08-21 22:20 +0200
Re: [PATCH RESEND 1/2] net: enable high resolution timer mode to timeout datagram sockets Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-22 13:20 +0200
Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Richard Cochran <richardcochran@gmail.com> - 2017-08-18 22:20 +0200
Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-19 00:30 +0200
Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Richard Cochran <richardcochran@gmail.com> - 2017-08-19 08:30 +0200
Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-20 03:50 +0200
Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-21 20:30 +0200
Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Richard Cochran <richardcochran@gmail.com> - 2017-08-22 08:30 +0200
Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-22 13:20 +0200
csiph-web