[Top][All Lists]

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

Rework of the kernel message buffer cache

From: Justus Winter
Subject: Rework of the kernel message buffer cache
Date: Thu, 18 Dec 2014 11:30:23 +0100


I recently increased the maximum size of kernel message buffers that
are cached in commit 73314404.  This greatly improved the overall
system performance.

This is a rework of said cache mechanism.  It reduces the number of
cache misses even further, but its impact on performance is unclear to
me.  Please test this ;)

Otoh I believe this is the right thing to do even if it doesn't
improve the performance, as the current solution might be worse in a
multi-cpu setting, as the `ipc_kmsg_cache' would bounce back and forth
between per-cpu caches.  Also, it's cleaner :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]