On Friday 04 April 2014 09.31:38 Claudio Freire wrote:
On Fri, Apr 4, 2014 at 8:38 AM, Bruno Friedmann <bruno@ioda-net.ch> wrote:
time journalctl --verify
real 2m20.742s user 2m6.646s sys 0m12.043s
You obviously have a much speedier system than mine (which doesn't really surprise me as my computer is 11 years old). Is this an SSD? Out of curiosity, how long does it take to just verify the active journal file?
It's already a old computer 3 years old i7-2nd generation with 16GB Ram and a 480GB Corsair SSD GT-Force3 (6gbs sata)
2 minutes on an SSD?
That's completely unworkable for rotating media (they're *orders of magnitude* slower for random access). For 2.9GB of logs ?
Can you test that on rotating media please? A great deal of us are still using spinning rust for our storage needs, testing on SSD and calling it representative is probably as wrong as you can get.
Well if only I've still rotating rust for system. I've chosen journald exclusively cause I know some report of being perhaps slow on rust and all system here are now powered on ssd. (Tired of sector defects & co) Now the concerns raised about it are to take into account http://seife.kernalert.de/blog/2013/05/31/the-systemd-journal-is-a-broken-pi... http://www.happyassassin.net/2013/06/14/fedora-1920-logfile-explosions/ (chapter four) I also have decided to export them to external storage in plain text mode for archiving purpose. Rotating the journal is also a nice way to get perf back. Afterall we also rotate text log files and compress them. But when it work, honestly I became quickly addict to the color/bold , filtering etc :-) for example I've rotated my log this morning and now du -sh /var/log/journal/32aed2336d02ef306e8c3ca25103d7ee 3.7M /var/log/journal/32aed2336d02ef306e8c3ca25103d7ee time journalctl --verify --system PASS: /var/log/journal/32aed2336d02ef306e8c3ca25103d7ee/system.journal real 0m0.041s user 0m0.035s sys 0m0.006s Look like there's some good practices to be determined. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Board GPG KEY : D5C9B751C4653227 irc: tigerfoot ~~~Don't take Life too serious. Nobody gets out alive anyway!~~~ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org