Re: [PATCH] ng_pf and l7 filtering possibility with PF



Hi.

Ermal Luçi wrote:
4- The node has these messages:
#ifdef NG_PF_DEBUG
NGM_PF_GET_STATS, (number of packets in/out)
NGM_PF_CLR_STATS,
NGM_PF_GETCLR_STATS,
#endif

What for comment them out? To save CPU on several addition operations? This stats could be used not only by developers but also by users and they may not be to rebuild kernel module to get that stats.

--
Alexander Motin
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [ANNOUNCE] sched: schedtop utility
    ... I had an itch to scratch w.r.t. watching the stats in /proc/schedstats, ... things runtime should be calculated by using per cpu deltas. ... then the delta is added to runtime. ... that the schedstat stuff got broken - I've never really looked too ...
    (Linux-Kernel)
  • Re: Per CPU cpu-statistics under SMP
    ... doesn't include a sysctl to get the per-CPU stats, ... that I could use to get started on the code for adding per-CPU stats to ... the first array would have the composite CPU ... and following arrays would be the CPU specific stats. ...
    (freebsd-hackers)
  • Re: Per CPU cpu-statistics under SMP
    ... the first array would have the composite CPU ... stats, and following arrays would be the CPU specific stats. ... I've added a kern.pcpu_time sysctl which is an array of 0..mp_maxid ...
    (freebsd-hackers)
  • Re: Using OO to extend product written in C++ but no Uml diagrams exist
    ... >> we previosuly had small team who added features to it but basically ... >> Alot of new developers have joined team and manager ants to use OO ... >> any stats out there as to how much of software lifecyle shioudl be ... > out, the ones everyone else asks for advice, and ask them what to do. ...
    (comp.object)
  • Finding CPU stats on Win?
    ... I need to used perl to gather CPU counts and stats of each processor ... (speed, RAM cache, Hyperthreaded, etc). ... Anybody know of a way, or a script, to gather this information? ...
    (comp.lang.perl.misc)