All of lore.kernel.org
 help / color / mirror / Atom feed
* ipset restore behavior with newer glibc
@ 2012-10-31 16:27 Josh Hunt
  2012-10-31 16:41 ` Jan Engelhardt
  0 siblings, 1 reply; 8+ messages in thread
From: Josh Hunt @ 2012-10-31 16:27 UTC (permalink / raw)
  To: netfilter-devel

When doing an ipset restore with newer versions of glibc I'm seeing some 
extra syscall overhead that I was not seeing with glibc 2.4. I was 
wondering if anyone has seen such behavior and could help me understand 
what is going on?

Here is a snippet of strace during the restore with glibc 2.4: 
http://pastebin.com/qxkPF7FB and one with glibc 2.7: 
http://pastebin.com/wga9SN0E
I've also seen similar behavior with glibc 2.11.

You'll notice that with the newer version a second netlink socket is 
created and it appears some data is sent and info received back from the 
kernel and that socket is closed. This creating and closing of sockets 
continues until the restore operation completes. This causes the restore 
to grow from taking ~1 second to ~5 seconds. This is not a huge deal, 
but I'm more curious as to why this behavior has changed.

These runs were done with ipset v6.11 and kernel 3.2. It appears to me 
this is a glibc change b/c if I swap out only that component I see this 
change in behavior.

Thanks
Josh

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

end of thread, other threads:[~2012-11-27 19:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31 16:27 ipset restore behavior with newer glibc Josh Hunt
2012-10-31 16:41 ` Jan Engelhardt
2012-10-31 18:49   ` Jozsef Kadlecsik
2012-10-31 19:07     ` Jozsef Kadlecsik
2012-11-27 19:18       ` Josh Hunt
2012-11-27 19:51         ` Jozsef Kadlecsik
2012-11-27 19:53           ` Josh Hunt
2012-10-31 19:30     ` Josh Hunt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.