Re: getting counters for a plenty of vlan ifaces

2012-09-20 Thread Ivan Alexandrovich
On Wed, 19 Sep 2012 19:18:06 +0400 Gleb Smirnoff wrote: That's strange. Per-minute read shouldn't induce large CPU load. What snmp daemon do you use? I remember that several years ago net-snmp daemon from ports used a single linked list for all ARP entries, and thus it consumed a lot of CPU w

Re: getting counters for a plenty of vlan ifaces

2012-09-19 Thread Gleb Smirnoff
On Sun, Sep 16, 2012 at 09:41:19PM +0700, Ivan Alexandrovich wrote: I> Hi I> I> We are running freebsd9.0 on a router with I> more than 1000 of subscriber's vlan interfaces. I> Outgoing packet rate is approximately 40 kpps. I> I> There's a need to collect bytes and packets I> counters for all tho

Re: getting counters for a plenty of vlan ifaces

2012-09-17 Thread Ivan Alexandrovich
Hi Thanks for your replies. Mike Tancsa mike at sentex.net wrote: We approach it a little differently and collect all the data via netflow, or in this case argus. Netflow is fine. We used ng_netflow with ng_vlan on a previous installation with FreeBSD-6.x and it worked fine. Then we had to d

Re: getting counters for a plenty of vlan ifaces

2012-09-16 Thread Adrian Chadd
.. you just have to make sure you get the locking right. Especially if you're walking lists of interfaces and getting protocol stats from a device that's dynamically creating/deleting network interfaces (eg ppp stuff.) Adrian ___ freebsd-net@freebsd.or

Re: getting counters for a plenty of vlan ifaces

2012-09-16 Thread Zaphod Beeblebrox
On Sun, Sep 16, 2012 at 6:00 PM, Mike Tancsa wrote: > On 9/16/2012 10:41 AM, Ivan Alexandrovich wrote: >> >> We are running freebsd9.0 on a router with >> more than 1000 of subscriber's vlan interfaces. >> Outgoing packet rate is approximately 40 kpps. >> >> There's a need to collect bytes and pac

Re: getting counters for a plenty of vlan ifaces

2012-09-16 Thread Mike Tancsa
On 9/16/2012 10:41 AM, Ivan Alexandrovich wrote: > Hi > > We are running freebsd9.0 on a router with > more than 1000 of subscriber's vlan interfaces. > Outgoing packet rate is approximately 40 kpps. > > There's a need to collect bytes and packets > counters for all those vlan interfaces every >