[PATCH v3 2/2] eal: add option to put timestamp on console output

Stephen Hemminger stephen at networkplumber.org
Tue Mar 7 17:06:57 CET 2023


On Tue, 7 Mar 2023 17:35:32 +0800
fengchengwen <fengchengwen at huawei.com> wrote:

> The syslog will add timestamp, but the syslog backend will re-write timestamp, so
> in the last, you can't find the real-timestamp of this log print. sometimes it requires
> to get real log time.
> PS: we found it in our test environment because RR schedule hang too long (similar question
> also found: https://bugzilla.redhat.com/show_bug.cgi?id=1855447).
> 
> So suggest add timestamp in syslog string also, and don't convert to monotonic and just
> print as normal format (just like syslog).


Are you using systemd?

Never, never configure a DPDK application with real-time process priority.
Polling model and RT don't mix.


More information about the dev mailing list