[Bug 584938] Re: missing shorter timestamp option
Jérôme
584938 at bugs.launchpad.net
Sat Sep 3 12:21:26 UTC 2011
Still occurs on natty :
---
j at lu64:~$ tail -1 /var/log/syslog
Sep 3 14:08:24 lu64 kernel: [ 4909.031016] hrtimer: interrupt took 12699711 ns
j at lu64:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
j at lu64:~$
---
In the above /var/log/syslog record, note that :
- the rsyslogd timestamp is 19% of the whole message length
- the kernel timestamp is 18% of the whole message length
- both timestamps are 38% of the whole message length
I think there is a lot of processor, disk and energy to spare.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/584938
Title:
missing shorter timestamp option
Status in “rsyslog” package in Ubuntu:
Opinion
Bug description:
Binary package hint: rsyslog
The default timestamp printed into the log files has the below format:
"May 24 12:31:05"
By allowing a shorter timestamp format, I think we could :
- speed-up the whole system by lowering I/O volume
- make the later log processing faster (analysis, log rotation, ...)
- decrease the disk usage
- decrease the energy consumption during the whole log file lifetime
I took a snapshot of the /var/log/syslog file and tried several
shorter timestamp formats.
When substituting with the below timestamp format, the file size decreases by 1%:
"05.24 12:31:05"
If I apply a less accurate timestamp format then the file size decreases by 4%:
"05.24 12:31"
An extremely short format can decrease the file size by 5%:
"0524 12:31"
Most desktop end users would benefit from a shorter timestamp option,
especially on laptops which have to spare energy.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: rsyslog 4.2.0-2ubuntu8
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Mon May 24 14:03:37 2010
InstallationMedia: Xubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
LANG=fr_FR.utf8
SHELL=/bin/bash
SourcePackage: rsyslog
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/584938/+subscriptions
More information about the foundations-bugs
mailing list