[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#435884: ITP: rsyslog -- enhanced multi-threaded syslogd



On Sun, Aug 05, 2007 at 10:34:03PM +0200, SZALAY Attila wrote:
> Hi All!
> 
> On Sun, 2007-08-05 at 13:08 -0500, Ron Johnson wrote:
> > 
> > Are you saying that Apache 1.x only ever used 1 CPU?
> 
> I protest for multithread/process applications agains singlethread ones.
> 
> I doesn't care which paralellization is used i just want to say that
> it's not too bad to write a multiXXX system logging daemon.

  Why ? Do you need 4 CPU to soak your hard drive ? There is usually one
partition for every logs on the machine, so you don't get a lot writing
many log files at a time. And if you're that concerned with performance,
then it's not multi-foo that you need, but aio's, and a big nice epoll
loop to dispatch /dev/log clients. And absolutely no multiple processes
that you will else have to deal with locking, especially locking of
output files, which would be a huge mistake.

  The syslog daemon shall not eat anymore than 0.01% of your CPU. Why
would you need to bloat it for god's sake ? It reminds me of so called
network monitors that are so huge, that they mostly measure their own
fat. A multi-foo syslog daemon is just plain silly.

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpY3w_U1LFjM.pgp
Description: PGP signature


Reply to: