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] [day] [month] [year] [list]
Message-ID: <AANLkTimMTi-pHe7OYLV0=3m4KF35B+Scjf_HYZ8iiqLu@mail.gmail.com>
Date:	Wed, 29 Sep 2010 13:02:02 +0200
From:	didier <did447@...il.com>
To:	Patrick McHardy <kaber@...sh.net>
Cc:	netdev@...r.kernel.org
Subject: Re: VLAN GARP triggers a lot of timers if linux compiled with VLAN_8021Q_GVRP

Hi,
>
>> garp_join_timer_arm()
>>
>> delay = (u64)msecs_to_jiffies(garp_join_time)* net_random() >> 32;
>> mod_timer(&app->join_timer, jiffies +delay)
>>
>> Isn't this stuff triggering a *lot* of events?
>
> Yeah, something around 5-10 timers per second IIRC. There was an RFC
> patch a while ago to only schedule the timer on-demand, I'll see
> whether I can find it again.

But with this formula delay can be often rather small, or do I miss something?

Here on an idle box with two vlans vmstat output shows  burst of up to
15000 context switches per seconds.

Didier
--
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