diff options
| author | John Ogness <john.ogness@linutronix.de> | 2018-02-20 15:20:47 +0100 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2018-02-20 15:20:47 +0100 |
| commit | ffce744d7d8a0f7a6846164bfc16fc0753683127 (patch) | |
| tree | c8fd231f4dc43cf52de4d830356090bfd5032e23 /schulung_tools/ipc_dbus/README | |
| parent | 021b32acd3cec8e255dd47681939797ec64b8206 (diff) | |
tools: add ipc dbus example
Diffstat (limited to 'schulung_tools/ipc_dbus/README')
| -rw-r--r-- | schulung_tools/ipc_dbus/README | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/schulung_tools/ipc_dbus/README b/schulung_tools/ipc_dbus/README new file mode 100644 index 0000000..f670f7e --- /dev/null +++ b/schulung_tools/ipc_dbus/README @@ -0,0 +1,13 @@ +# pin current shell to CPU1 +tasket -p 2 $$ + +# start pingserver in the background +# (should start dbus-daemon session) +./pingserver & + +# make sure dbus-daemon is also pinned to CPU1 +taskset -p 2 `pidof dbus-daemon` + +# send 1MiB messages to the pingserver via dbus +# (take note of the timestamps) +./pingclient 1048576 |
