-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
READY: lists/skiplists/rb-trees new API & sequence lock & atomic lists #3045
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
so what's the difference between the linux futex call and the sys_futex call added in lib/seqlock.c? Other than that I don't see any problems here other than the need for documentation on what you are doing and where you are going :) |
Some docs added.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The FIFO_* stuff in lib/fifo.h is no different from a simple unsorted list. Just use DECLARE_LIST here so we can get rid of FIFO_*. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Again, the FIFO_* stuff in lib/fifo.h is no different from a simple unsorted list. Just use DECLARE_LIST here so we can get rid of FIFO_*. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This comment has been minimized.
This comment has been minimized.
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-7394/ This is a comment from an automated CI system. CLANG Static Analyzer Summary
No Changes in Static Analysis warnings compared to base12 Static Analyzer issues remaining.See details at |
Probably needs a search&replace in @louberger 's setup |
Will take care of it later today or tomorrow...
…----------
On April 27, 2019 3:10:30 PM David Lamparter ***@***.***> wrote:
Probably needs a search&replace in @louberger 's setup
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#3045 (comment)
|
@@ -0,0 +1,348 @@ | |||
/* | |||
* Copyright (c) 2016-2018 David Lamparter, for NetDEF, Inc. | |||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be good to clearly delineate who the copyright holder is here e.g., is it
NetDef (with Author being David)
or
David (with an acknowledgement to netdef for supporting the work)
done - rerun queued...
…On 4/27/2019 4:19 PM, Lou Berger wrote:
Will take care of it later today or tomorrow...
------------------------------------------------------------------------
On April 27, 2019 3:10:30 PM David Lamparter
***@***.***> wrote:
> Probably needs a search&replace in @louberger
> <https://github.com/louberger> 's setup
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#3045 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABSFNSE7MVKIONPHFFTNAYTPSSQITANCNFSM4FVYNTZA>.
>
|
💚 Basic BGPD CI results: SUCCESS, 0 tests failedResults table
For details, please contact louberger |
I believe I'm seeing slower performance with this PR on some scaling tests. Will rerun to see if just a test artefact... |
VNC time test: |
💚 Basic BGPD CI results: SUCCESS, 0 tests failedResults table
For details, please contact louberger |
Rerun had better result: Does anyone have any good / other scali g tests to run for comparison? |
@louberger I pushed 2 reverts to try and identify where the slowdown is coming from. Can you rerun and see what the numbers are? |
That said, why is there such a big difference between the first run and the rerun? That looks incredibly weird... |
💚 Basic BGPD CI results: SUCCESS, 0 tests failedResults table
For details, please contact louberger |
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-7404/ This is a comment from an automated CI system. CLANG Static Analyzer Summary
No Changes in Static Analysis warnings compared to base12 Static Analyzer issues remaining.See details at |
Overall run time looks better, see above. Also: 6.17.21 7.0.0.132 Total elapsed time=45.032 secs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's do this
This restores the full changeset from FRRouting#3045, by reverting reverts: - Revert "lib: use DECLARE_SKIPLIST for timers instead of pqueue" - Revert "lib: remove pqueue_*" Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Had this stuff on my disk for 2~3 years now, finally completed the unit tests now. Still needs proper docs, but comments welcome.