On Thu, Jan 8, 2015 at 1:21 AM, Bjoern A. Zeeb <
bzeeb-li...@lists.zabbadoz.net> wrote:

>
> > On 07 Jan 2015, at 20:46 , Gleb Smirnoff <gleb...@freebsd.org> wrote:
> >
> > On Tue, Jan 06, 2015 at 09:03:04AM +0000, Craig Rodrigues wrote:
> > C> Author: rodrigc
> > C> Date: Tue Jan  6 09:03:03 2015
> > C> New Revision: 276747
> > C> URL: https://svnweb.freebsd.org/changeset/base/276747
> > C>
> > C> Log:
> > C>   Instead of creating a purge thread for every vnet, create
> > C>   a single purge thread and clean up all vnets from this thread.
> > C>
> > C>   PR:                     194515
> > C>   Differential Revision:  D1315
> > C>   Submitted by:           Nikos Vassiliadis <nv...@gmx.com>
> >
> > I am not sure that this is a good idea. The core idea of VNETs
> > is that they are isolated from each other. If we serialize purging,
> > then vnets are strongly affecting each other.
> >
> > AFAIU, from the PR there is some panic fixed. What is the actual bug
> > and why couldn't it be fixed with having per-vnet thread?
>
> You don’t 30000 whatever pf purging threads on a system all running,
> possibly competing for some resources, e.g., locks?
>

You can tune your system to your load!

I do not agree with this change as well but just saw it!

I would have agreed with this if a thread per CPU is created and some
improvements in the locking strategy is performed!
This is a potential issue since on busy system this thread gets very
resource consuming!


>
> —
> Bjoern A. Zeeb                                  Charles Haddon Spurgeon:
> "Friendship is one of the sweetest joys of life.  Many might have failed
>  beneath the bitterness of their trial  had they not found a friend."
>
>
>


-- 
Ermal
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to