login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
19
Re: [PATCH] tracing: Cleanup the convoluted softirq tracepoints
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Steven Rostedt
Subject:
Re: [PATCH] tracing: Cleanup the convoluted softirq tracepoints
Date: Tuesday, October 19, 2010 - 4:05 pm
On Tue, 2010-10-19 at 15:49 -0700, H. Peter Anvin wrote:
quoted text
> On 10/19/2010 03:41 PM, Mathieu Desnoyers wrote: > >> > >> OK, first of all, there are some serious WTFs here: > >> > >> # define JUMP_LABEL_INITIAL_NOP ".byte 0xe9 \n\t .long 0\n\t" > >> > >> A jump instruction is one of the worst possible NOPs. Why are we doing > >> this? > > > > This code is dynamically patched at boot time (and module load time) with a > > better nop, just like the function tracer does. > > > > That's just ridiculous... start out with something sane and you at least > have the chance of not having to patch it.
Yep we can fix this. Jason?
quoted text
> > So if we were executing tracepoints in a maze of jumps, we could argue that > > instruction throughput is the most important there. However, if we expect the > > common case to be surrounded by some non-ALU instructions, latency tends to > > become the most important criterion. > > > > But I feel I might be missing something important that distinguish "jcc" from > > "jmp". > > NOP has a latency of 0.5-1.0 cycle/insns, *but has no consumers*. > > JMP/Jcc does have a consumer -- the IP -- and actually measuring shows > that it is much, much worse than NOP and other dummy instructions.
But how does JMP vs Jcc compare? -- Steve --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH v4 0/5] netdev: show a process of packets
, Koki Sanagi
, (Mon Aug 23, 2:41 am)
[PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Koki Sanagi
, (Mon Aug 23, 2:42 am)
[PATCH v4 2/5] napi: convert trace_napi_poll to TRACE_EVENT
, Koki Sanagi
, (Mon Aug 23, 2:43 am)
[PATCH v4 4/5] skb: add tracepoints to freeing skb
, Koki Sanagi
, (Mon Aug 23, 2:46 am)
[PATCH v4 5/5] perf:add a script shows a process of packet
, Koki Sanagi
, (Mon Aug 23, 2:47 am)
Re: [PATCH v4 2/5] napi: convert trace_napi_poll to TRACE_ ...
, David Miller
, (Mon Aug 23, 8:52 pm)
Re: [PATCH v4 3/5] netdev: add tracepoints to netdev layer
, David Miller
, (Mon Aug 23, 8:53 pm)
Re: [PATCH v4 4/5] skb: add tracepoints to freeing skb
, David Miller
, (Mon Aug 23, 8:53 pm)
Re: [PATCH v4 5/5] perf:add a script shows a process of packet
, David Miller
, (Mon Aug 23, 8:53 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Steven Rostedt
, (Mon Aug 30, 4:50 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Koki Sanagi
, (Thu Sep 2, 7:10 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, David Miller
, (Thu Sep 2, 7:17 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Koki Sanagi
, (Thu Sep 2, 7:55 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Frederic Weisbecker
, (Thu Sep 2, 9:46 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Koki Sanagi
, (Thu Sep 2, 10:12 pm)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Frederic Weisbecker
, (Fri Sep 3, 8:29 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Steven Rostedt
, (Fri Sep 3, 8:39 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Frederic Weisbecker
, (Fri Sep 3, 8:42 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Steven Rostedt
, (Fri Sep 3, 8:43 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Frederic Weisbecker
, (Fri Sep 3, 8:50 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Koki Sanagi
, (Sun Sep 5, 6:46 pm)
Re: [PATCH v4 5/5] perf:add a script shows a process of packet
, Frederic Weisbecker
, (Tue Sep 7, 9:57 am)
[tip:perf/core] irq: Add tracepoint to softirq_raise
, tip-bot for Lai Jian ...
, (Wed Sep 8, 1:33 am)
[tip:perf/core] napi: Convert trace_napi_poll to TRACE_EVENT
, tip-bot for Neil Horman
, (Wed Sep 8, 1:34 am)
[tip:perf/core] skb: Add tracepoints to freeing skb
, tip-bot for Koki Sanagi
, (Wed Sep 8, 1:35 am)
[tip:perf/core] perf: Add a script to show packets processing
, tip-bot for Koki Sanagi
, (Wed Sep 8, 1:35 am)
[sparc build bug] Re: [tip:perf/core] irq: Add tracepoint ...
, Ingo Molnar
, (Wed Sep 8, 4:25 am)
[PATCH] irq: Fix circular headers dependency
, Frederic Weisbecker
, (Wed Sep 8, 5:26 am)
[tip:perf/core] irq: Fix circular headers dependency
, tip-bot for Frederic ...
, (Thu Sep 9, 12:54 pm)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Peter Zijlstra
, (Mon Oct 18, 2:44 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Peter Zijlstra
, (Mon Oct 18, 3:11 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Heiko Carstens
, (Mon Oct 18, 3:26 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Peter Zijlstra
, (Mon Oct 18, 3:48 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Koki Sanagi
, (Tue Oct 19, 3:58 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Peter Zijlstra
, (Tue Oct 19, 4:25 am)
[PATCH] tracing: Cleanup the convoluted softirq tracepoints
, Thomas Gleixner
, (Tue Oct 19, 6:00 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Peter Zijlstra
, (Tue Oct 19, 6:08 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Tue Oct 19, 6:22 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 6:41 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 6:54 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Tue Oct 19, 7:00 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 7:07 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Tue Oct 19, 7:28 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 7:46 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 12:49 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 1:55 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 2:07 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, David Daney
, (Tue Oct 19, 2:16 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 2:23 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 2:28 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 2:32 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, David Daney
, (Tue Oct 19, 2:38 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 2:45 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 2:47 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 2:48 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 2:55 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 3:04 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 3:14 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 3:17 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 3:23 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 3:26 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Peter Zijlstra
, (Tue Oct 19, 3:27 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 3:33 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 3:38 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Tue Oct 19, 3:41 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 3:44 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 3:49 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 3:56 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 3:57 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 4:05 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 4:09 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 4:39 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 4:45 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 5:43 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 6:36 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 6:52 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Wed Oct 20, 8:27 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Wed Oct 20, 8:41 am)
[tip:perf/core] tracing: Cleanup the convoluted softirq tr ...
, tip-bot for Thomas G ...
, (Thu Oct 21, 7:52 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Thu Oct 21, 9:18 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Thu Oct 21, 10:05 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Thu Oct 21, 12:56 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 2:54 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Mon Oct 25, 3:01 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 3:12 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 3:19 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 3:31 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 3:32 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Mon Oct 25, 3:55 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Mon Oct 25, 5:39 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Mon Oct 25, 6:14 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Dan Chokola
Re: how do you "force a pull"?
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
USB-serial: pl2303: fix baud rate handling in case of unsupported values
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
Colocation donated by:
Syndicate