rtl-wmbus
rtl-wmbus copied to clipboard
Why don't fork on dual mode (S1 and T1/C1 datagrams simultaneously)
Hi, using rtl-wmbus on a Raspberry Pi 2 I've seen that cpu (a single core) goes to 100% if decoding both S1 and T1/C1... Using "-a -p T" it stay around 65%.
Since the Raspberry is multicore, why the software does not "fork", with the two decoding enabled? I've already found a workaround (I hope), using a tee and a fifo, I start two instances of rtl_wmbus one with "-s -a -p T" and one with "-s -a -P S". This seems to split the workload on two cpus :)
Is there any side effect in my way? Is there a good reason to keep it in a single thread? Thanks in advance \Jeky