[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1112212114590.28597@asgard.lang.hm>
Date: Wed, 21 Dec 2011 21:21:32 -0800 (PST)
From: david@...g.hm
To: Brian Swetland <swetland@...gle.com>
cc: Kay Sievers <kay.sievers@...y.org>, Greg KH <gregkh@...e.de>,
Tim Bird <tim.bird@...sony.com>,
linux-embedded <linux-embedded@...r.kernel.org>,
linux kernel <linux-kernel@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
john stultz <johnstul@...ibm.com>,
Lennart Poettering <lennart@...ttering.net>
Subject: Re: RFC: android logger feedback request
On Wed, 21 Dec 2011, Brian Swetland wrote:
> The rate at which apps push data into logs is pretty amazing at times.
> The system booting (maybe 10-20 services and 10+ apps starting up)
> can blow through 256K of ringbuffer in seconds.
a smidge more information here.
256K of logs in 'seconds'
are we talking single digit seconds, tens of seconds, what?
any idea the average message size
on my server farms, the average log size is ~256 byttes, so if this was
over 10 seconds we would be talking ~100 logs/sec. "slow" syslog daemons
can handle this sort of load trivially, they start to take significant
amounts of CPU (10%+) around two orders of magnatude higher data rates.
now, it may be that the logs on the android are smaller, and you hit the
256K injust a couple of seconds, at which point things would be a little
harder, but since the job is so much simpler it shouldn't be that hard.
David Lang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists