From ffce744d7d8a0f7a6846164bfc16fc0753683127 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Tue, 20 Feb 2018 15:20:47 +0100 Subject: tools: add ipc dbus example --- schulung_tools/ipc_dbus/README | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 schulung_tools/ipc_dbus/README (limited to 'schulung_tools/ipc_dbus/README') 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 -- cgit v1.2.3