lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9241f146-d0f7-415b-a652-acd1bf34e95a@tahiti.vyatta.com>
Date:	Sat, 05 May 2012 18:29:28 -0700 (PDT)
From:	Stephen Hemminger <stephen.hemminger@...tta.com>
To:	Oskar Berggren <oskar.berggren@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: ipctl - new tool for efficient read/write of net related sysctl


> 
> In a project of mine I need to read (and possibly set) many of the
> properties
> found under /proc/sys/net/ipv4/conf/. This is simple enough, except
> that
> when you have hundreds of interfaces, it is really slow. In my tests
> it takes
> about 4 seconds to read a single variable for 700 interfaces. For a
> while I
> worked around this using the binary sysctl() interface, but this is
> deprecated.
> 

What about exposing these as NETLINK attributes? That would be faster
and you could do bulk updates.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ