xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* oxenstored: Add support for logging via syslog
@ 2013-03-20 10:32 David Scott
  2013-03-20 10:32 ` [PATCH 1/3] oxenstored: Re-add ocaml syslog binding David Scott
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Scott @ 2013-03-20 10:32 UTC (permalink / raw)
  To: xen-devel

The ability to log via syslog was removed back in Oct 2011 but
it's actually quite useful. On a system with lots of disk I/O, if
xenstore logs directly to the filesystem it can block so much
that guests start to suffer.

One solution would be to add some threading to xenstored to isolate
the logging from the ring servicing; however this will be quite a
big patch and we could end up re-implementing a syslog-like logging
service. Instead we re-add the ability to log via syslog and allow
this to be switched on via the xenstored config file. The default
logging behaviour is unchanged.

FYI this is the only significant thing in the XCP patch queue --
we've found this helps a lot in stress tests.

Patches follow. For extra convenience you should be able to pull from:

git pull git://github.com/djs55/xen xenstore-syslog

Cheers,
Dave

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-11 11:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20 10:32 oxenstored: Add support for logging via syslog David Scott
2013-03-20 10:32 ` [PATCH 1/3] oxenstored: Re-add ocaml syslog binding David Scott
2013-03-20 10:32 ` [PATCH 2/3] oxenstored: enable logging via syslog, if specified in the config file David Scott
2013-03-20 10:32 ` [PATCH 3/3] oxenstored: Allow oxenstored to use syslog at levels other than Debug David Scott
2013-04-11 11:16 ` oxenstored: Add support for logging via syslog Ian Campbell

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).