Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2007 15:29:24 -0400
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "Jeff Roberson" <jroberson@chesapeake.net>
Cc:        remy.nonnenmacher@activnetworks.com, freebsd-performance@freebsd.org
Subject:   Re: ULE vs. 4BSD in RELENG_7
Message-ID:  <8cb6106e0710241229i12852d8cq436f4c955ac62c56@mail.gmail.com>
In-Reply-To: <20071024111105.M598@10.0.0.1>
References:  <8cb6106e0710230902x4edf2c8eu2d912d5de1f5d4a2@mail.gmail.com> <20071024111105.M598@10.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
> Your tests with ffmpeg threads vs processes probably is triggering more
> context switches due to lock contention in the kernel in the threads case.
> This is also likely the problem with some super-smack tests.  On each
> context switch 4BSD has an opportunity to perfectly balance the CPUs.  ULE
> does not because it's too costly and hinders other workloads.

Thanks for the response Jeff, I appreciate it. Is this something that
the scheduler can recognize and auto-tune itself for? E.g. have it
recognize the scenario differences and do what 4BSD is doing for cases
such as ffmpeg and what ULE otherwise does in other circumstances? I
guess this would not come without its own overhead, which might defeat
the purpose anyway.

> I don't doubt that we can improve things further.  It will just have to
> wait for another few weeks before I'm able to do much about it.

Thanks again, I do appreciate your work and help. So you're
anticipating nothing can be done at all, or did you mean at the moment
until you get your equipment back and get settled? Or is this
something that would need to be looked at in -current rather than
7-STABLE?

Regards,
Josh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0710241229i12852d8cq436f4c955ac62c56>