public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/28449] New: loss of cross-cpu output ordering
@ 2021-10-13 17:20 fche at redhat dot com
  2021-10-30 19:27 ` [Bug runtime/28449] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2021-10-13 17:20 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=28449

            Bug ID: 28449
           Summary: loss of cross-cpu output ordering
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

Since making bulk-mode the default back in commit 8819e2a04596d, we lost a
property of total ordering for the normal output stream (across CPUs). 
Userspace cannot reorder messages from the individual trace$n buffers, because
the runtime no longer sends the _stp_trace->sequence number to userspace. 
(This breaks stp_merge but whatever, it's probably not used and we could
deprecate it.)

We should bring the _stp_trace .sequence bit back (snippets of the
!NO_PERCPU_HEADERS branch), and have stapio threads synchronize lightly for
sorting on the output side.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/28449] loss of cross-cpu output ordering
  2021-10-13 17:20 [Bug runtime/28449] New: loss of cross-cpu output ordering fche at redhat dot com
@ 2021-10-30 19:27 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2021-10-30 19:27 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=28449

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
commit cd48874296e0

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-30 19:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 17:20 [Bug runtime/28449] New: loss of cross-cpu output ordering fche at redhat dot com
2021-10-30 19:27 ` [Bug runtime/28449] " fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).