text buffers can (conceptually anyway) be per-cpu and combined only when read.
Toward more reliable logging
Posted Apr 13, 2012 22:12 UTC (Fri) by Cyberax (✭ supporter ✭, #52523)
And if you spend significant amount of time on locking the log buffer then you probably have MUCH bigger problems.
Posted Apr 13, 2012 22:21 UTC (Fri) by slashdot (guest, #22014)
While the log merging thread does indeed need to synchronize, it doesn't add latency to the log writers, at the cost of multiplying the memory comsumption by the number of CPUs.
But this is an implementation detail, and isn't likely to be worth bothering since logging is supposed to be rare.
Posted Apr 14, 2012 15:08 UTC (Sat) by Ben_P (guest, #74247)
Posted Apr 17, 2012 5:25 UTC (Tue) by Jannes (guest, #80396)
Posted Apr 20, 2012 12:37 UTC (Fri) by jengelh (subscriber, #33263)
Posted Apr 15, 2012 0:35 UTC (Sun) by jzbiciak (subscriber, #5246)
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds