public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Hashtable
@ 2017-07-05 16:47 Arkady
  2017-07-06 16:36 ` Hashtable David Smith
  2017-07-10 15:20 ` Hashtable Frank Ch. Eigler
  0 siblings, 2 replies; 17+ messages in thread
From: Arkady @ 2017-07-05 16:47 UTC (permalink / raw)
  To: systemtap

Hi,

I have a CPU bottleneck in some situations on heavy loaded servers.

From the tests it appears that associative maps contribute significant
part of the overhead. I was thinking about replacing the maps with a
simple hashtable like this one (this is not production code)
https://gist.github.com/larytet/c306d470f7b032c796efad15dcd609a9

Is there something like this in STAP API which I could use?

Thank you, Arkady.

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: Hashtable
@ 2017-07-13 16:52 Arkady
  2017-07-14 15:35 ` Hashtable David Smith
  0 siblings, 1 reply; 17+ messages in thread
From: Arkady @ 2017-07-13 16:52 UTC (permalink / raw)
  To: systemtap

For the WEB search sake

This is a reply to the thread "25400 by: Arkady"

The following code demonstrates about 20% improvement in the latency

https://github.com/larytet/lockfree_hashtable

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

end of thread, other threads:[~2017-07-18 16:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-05 16:47 Hashtable Arkady
2017-07-06 16:36 ` Hashtable David Smith
2017-07-06 17:26   ` Hashtable Arkady
2017-07-06 17:45     ` Hashtable Arkady
2017-07-06 17:51       ` Hashtable Arkady
2017-07-06 18:24         ` Hashtable David Smith
2017-07-07  3:26           ` Hashtable Arkady
2017-07-07 16:42             ` Hashtable Arkady
2017-07-10 15:20 ` Hashtable Frank Ch. Eigler
2017-07-13 16:52 Hashtable Arkady
2017-07-14 15:35 ` Hashtable David Smith
2017-07-14 17:16   ` Hashtable Arkady
2017-07-16 16:09     ` Hashtable Frank Ch. Eigler
2017-07-16 16:19       ` Hashtable Arkady
2017-07-17  8:58         ` Hashtable Arkady
2017-07-18 14:13           ` Hashtable Frank Ch. Eigler
2017-07-18 16:35             ` Hashtable Arkady

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 read-only IMAP folder(s) and NNTP newsgroup(s).