linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] ipc/util.{c,h}: Use binary search for max_idx
@ 2021-04-25  7:52 Manfred Spraul
  2021-04-25  7:52 ` [PATCH] ipc/util.c: " Manfred Spraul
  2021-04-25 18:07 ` [PATCH 0/1] ipc/util.{c,h}: " Davidlohr Bueso
  0 siblings, 2 replies; 4+ messages in thread
From: Manfred Spraul @ 2021-04-25  7:52 UTC (permalink / raw)
  To: LKML, Davidlohr Bueso, Andrew Morton; +Cc: 1vier1, Manfred Spraul

2nd version of the patch:
@Andrew: Could you add the patch to your mm tree, as candidate for
linux-next?

Note:
I have tried to remove the ids->max_idx cache entirely. Unfortunately,
this causes a significant slow-down of semstat(,,IPC_STAT):
   * no object allocated, no ipcmni_extended: +50%
   * no object allocated, with ipcmni_extended: +80%
   * 30 objects allocated, with large gaps, no ipcmni_extended:
           +350%
Thus I haven't removed ids->max_id.


--
	Manfred


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-25 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-25  7:52 [PATCH 0/1] ipc/util.{c,h}: Use binary search for max_idx Manfred Spraul
2021-04-25  7:52 ` [PATCH] ipc/util.c: " Manfred Spraul
2021-04-25 18:07 ` [PATCH 0/1] ipc/util.{c,h}: " Davidlohr Bueso
2021-04-25 18:19   ` Manfred Spraul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).