From: "Uffe Jakobsen" <uffe@uffe.org>
Cc: <supervision@list.skarnet.org>
Subject: Re: svlogd localtime option
Date: Fri, 9 Jul 2004 11:04:58 +0200 [thread overview]
Message-ID: <007801c46593$d21e1040$611e15ac@digiquant.com> (raw)
In-Reply-To: <87u0whk2qk.wl@badger.wordzoo.com>
Hi Jared etc.,
Jared Rhine <jared@wordzoo.com> wrote:
>
> It's trivial for me to substitute gmtime with localtime, and my latest
> installs are working great like that.
First I fully agree on your arguments for a "-ttt" option - that would at
least give individuals the choise between UTC and localtime logging...
Another thing is the overall svlogd performance:
Last year I did some performance measurements on some *VERY* busy Solaris
and HP-UX systems - using a "localtime" modified svlogd... :-)
The tests showed that calling localtime is about 25 times slower than
calling gmtime - unfortunately I never did the same measurement for
Linux-variants... (I might add that calling localtime_r is even slower than
localtime ;-)
Switching back to gmtime saved me from upgrading the boxes - but I realize
that the above scenario is a somewhat extreme situation - and I still I
think that having the '-ttt' would be good.
kind regards Uffe
next prev parent reply other threads:[~2004-07-09 9:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-01 19:53 Jared Rhine
2004-07-04 5:47 ` Gerrit Pape
2004-07-05 13:50 ` Charlie Brady
2004-07-09 8:24 ` Jared Rhine
2004-07-09 8:49 ` Ian Stokes-Rees
2004-07-09 9:04 ` Uffe Jakobsen [this message]
2004-07-09 14:30 ` Charlie Brady
2004-07-11 19:11 ` Gerrit Pape
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='007801c46593$d21e1040$611e15ac@digiquant.com' \
--to=uffe@uffe.org \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).