[Click] Click Spinlock Question

Beyers Cronje bcronje at gmail.com
Mon Feb 28 16:28:24 EST 2011


Hi David,

Can you post some of your code and a simple config that procudes problems
for you? I'm running user-level click in multithreaded mode with Spinlocks
quite successfully when running the latest code from git that includes
recent multithreading fixes.

Beyers

On Mon, Feb 28, 2011 at 8:45 PM, David Zats <dzats at eecs.berkeley.edu> wrote:

> Hi,
> I have been trying to use Spinlocks in Click and have been running into
> problems. I recently realized that I was running 4 threads when I only had 2
> cores. Could this be a potential problem? Also, does hyperthreading need to
> be disabled for Click to work? If neither of these are potential problems,
> could you suggest some other common pitfalls? I am using just one lock, so
> re-ordering cannot be an issue and am sure that I am releasing it after
> every acquisition. Furthermore, SpinlockIRQ seems to work well as does
> running click using only one thread.
> Thank you very much for the help!
> Sincerely,
> David Zats
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list