public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/6432] use 2.6.26 probe_kernel_{read,write}
  2008-04-21 15:44 [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write} fche at redhat dot com
@ 2008-04-21 15:44 ` fche at redhat dot com
  2008-04-21 16:22 ` fche at redhat dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2008-04-21 15:44 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-04-21 15:43 -------
*** Bug 6434 has been marked as a duplicate of this bug. ***

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6432

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

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

* [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write}
@ 2008-04-21 15:44 fche at redhat dot com
  2008-04-21 15:44 ` [Bug runtime/6432] " fche at redhat dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: fche at redhat dot com @ 2008-04-21 15:44 UTC (permalink / raw)
  To: systemtap

*** Bug 6433 has been marked as a duplicate of this bug. ***

-- 
           Summary: use 2.6.26 probe_kernel_{read,write}
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6432

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

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

* [Bug runtime/6432] use 2.6.26 probe_kernel_{read,write}
  2008-04-21 15:44 [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write} fche at redhat dot com
  2008-04-21 15:44 ` [Bug runtime/6432] " fche at redhat dot com
@ 2008-04-21 16:22 ` fche at redhat dot com
  2008-05-27 20:21 ` joshua dot i dot stone at intel dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2008-04-21 16:22 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-04-21 15:44 -------
*** Bug 6435 has been marked as a duplicate of this bug. ***

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6432

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

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

* [Bug runtime/6432] use 2.6.26 probe_kernel_{read,write}
  2008-04-21 15:44 [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write} fche at redhat dot com
  2008-04-21 15:44 ` [Bug runtime/6432] " fche at redhat dot com
  2008-04-21 16:22 ` fche at redhat dot com
@ 2008-05-27 20:21 ` joshua dot i dot stone at intel dot com
  2008-05-27 23:34 ` joshua dot i dot stone at intel dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: joshua dot i dot stone at intel dot com @ 2008-05-27 20:21 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From joshua dot i dot stone at intel dot com  2008-05-27 19:25 -------
Created an attachment (id=2757)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2757&action=view)
Use probe_kernel functions in deref macros

This changes the deref macros to use probe_kernel, but there's a performance
hit, probably due to no longer inlining the dereferencing activity.  Simple
benchmark scripts to follow...

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6432

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

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

* [Bug runtime/6432] use 2.6.26 probe_kernel_{read,write}
  2008-04-21 15:44 [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write} fche at redhat dot com
                   ` (2 preceding siblings ...)
  2008-05-27 20:21 ` joshua dot i dot stone at intel dot com
@ 2008-05-27 23:34 ` joshua dot i dot stone at intel dot com
  2008-05-28  9:04 ` joshua dot i dot stone at intel dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: joshua dot i dot stone at intel dot com @ 2008-05-27 23:34 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From joshua dot i dot stone at intel dot com  2008-05-27 19:30 -------
Created an attachment (id=2758)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2758&action=view)
Test the overhead of dereferencing numbers

Run as 'stap -gt deref-long.stp', and add '-DTEST_DIRECT' for direct memory
access.  My results on 2.6.26-rc3 x86_64:

OLD: 
direct: 1057min/1268avg/10905max
deref: 1073min/1305avg/9405max

NEW:
direct: 1050min/1235avg/9443max
deref: 1238min/1473avg/8850max

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6432

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

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

* [Bug runtime/6432] use 2.6.26 probe_kernel_{read,write}
  2008-04-21 15:44 [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write} fche at redhat dot com
                   ` (3 preceding siblings ...)
  2008-05-27 23:34 ` joshua dot i dot stone at intel dot com
@ 2008-05-28  9:04 ` joshua dot i dot stone at intel dot com
  2008-05-28  9:05 ` joshua dot i dot stone at intel dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: joshua dot i dot stone at intel dot com @ 2008-05-28  9:04 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From joshua dot i dot stone at intel dot com  2008-05-27 19:32 -------
Created an attachment (id=2759)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2759&action=view)
Test the overhead of dereferencing strings

Run as 'stap -gt deref-string.stp', and add '-DTEST_DIRECT' for direct memory
access.  My results on 2.6.26-rc3 x86_64:

OLD:
direct: 1725min/2072avg/10283max
deref: 1778min/2085avg/10950max

NEW:
direct: 1650min/2012avg/10613max
deref: 2152min/2476avg/12563max

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6432

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

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

* [Bug runtime/6432] use 2.6.26 probe_kernel_{read,write}
  2008-04-21 15:44 [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write} fche at redhat dot com
                   ` (4 preceding siblings ...)
  2008-05-28  9:04 ` joshua dot i dot stone at intel dot com
@ 2008-05-28  9:05 ` joshua dot i dot stone at intel dot com
  2008-05-28 10:52 ` fche at redhat dot com
  2008-05-28 10:57 ` joshua dot i dot stone at intel dot com
  7 siblings, 0 replies; 9+ messages in thread
From: joshua dot i dot stone at intel dot com @ 2008-05-28  9:05 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From joshua dot i dot stone at intel dot com  2008-05-27 19:40 -------
So given the performance disadvantage, is this still a change you want to 
make?  Or can anyone see a way to improve the efficiency?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6432

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

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

* [Bug runtime/6432] use 2.6.26 probe_kernel_{read,write}
  2008-04-21 15:44 [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write} fche at redhat dot com
                   ` (5 preceding siblings ...)
  2008-05-28  9:05 ` joshua dot i dot stone at intel dot com
@ 2008-05-28 10:52 ` fche at redhat dot com
  2008-05-28 10:57 ` joshua dot i dot stone at intel dot com
  7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2008-05-28 10:52 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-05-27 20:21 -------
Josh, thanks for trying this out.  Please commit the patch,
but #if-0'd out, so that some day we can easily try again,
and resolve/wontfix this bug.

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


http://sourceware.org/bugzilla/show_bug.cgi?id=6432

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

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

* [Bug runtime/6432] use 2.6.26 probe_kernel_{read,write}
  2008-04-21 15:44 [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write} fche at redhat dot com
                   ` (6 preceding siblings ...)
  2008-05-28 10:52 ` fche at redhat dot com
@ 2008-05-28 10:57 ` joshua dot i dot stone at intel dot com
  7 siblings, 0 replies; 9+ messages in thread
From: joshua dot i dot stone at intel dot com @ 2008-05-28 10:57 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From joshua dot i dot stone at intel dot com  2008-05-27 23:33 -------
Committed in 2cda5f46cba978e19590efd7fee0b3075f8eb8df with the autoconf test
disabled.  One can use -DSTAPCONF_PROBE_KERNEL to enable it manually.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6432

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

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

end of thread, other threads:[~2008-05-27 23:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-21 15:44 [Bug runtime/6432] New: use 2.6.26 probe_kernel_{read,write} fche at redhat dot com
2008-04-21 15:44 ` [Bug runtime/6432] " fche at redhat dot com
2008-04-21 16:22 ` fche at redhat dot com
2008-05-27 20:21 ` joshua dot i dot stone at intel dot com
2008-05-27 23:34 ` joshua dot i dot stone at intel dot com
2008-05-28  9:04 ` joshua dot i dot stone at intel dot com
2008-05-28  9:05 ` joshua dot i dot stone at intel dot com
2008-05-28 10:52 ` fche at redhat dot com
2008-05-28 10:57 ` joshua dot i dot stone at intel 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).