All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vidar Tyldum <vidar@tyldum.com>
To: linux-media@vger.kernel.org
Subject: Re: Multiple Mantis devices gives me glitches
Date: Tue, 13 Dec 2011 17:55:54 +0100	[thread overview]
Message-ID: <4EE7839A.6040507@tyldum.com> (raw)
In-Reply-To: <4EE682B3.4090301@tyldum.com>

(sorry for breaking the threading, the reply came faster than my
subscription to the list :)

>From Ninja <Ninja15@xxxxxx>,
> Hi, I noticed some SMP problems with the mantis driver as well (see my
> post "Mantis CAM not SMP safe / Activating CAM on Technisat Skystar HD2
> (DVB-S2)"). One workaround for me is to limit the CPU to one core (to be
> sure disable the hyperthreading cores as well). That can be done via BIOS
> *or* adding maxcpus=1 as kernel parameter *or* you can disable the cores
> one by one via "|echo 0 > /sys/devices/system/cpu/cpuX/online|" where X
> is the core to disable. Since you need to be root for this, I did "sudo
> su" first. But of course our problems might be completely unrelated and
> limiting to one core won't change a thing ;)
> 
> Manuel

I doubt I'll revert back to the stock mantis module to test right now, but
your suggestion and observations might certainly be of interest. If/when
Ubuntu releases a new kernel which overwrites my current driver I will give
it a go.
However, instead of disabling SMP completely I hope adjusting IRQ affinity
could be sufficient:
  http://kernel.org/doc/Documentation/IRQ-affinity.txt

Couple this with increased PCI latency might work, however with three
devices connected I think the only solution is to reduce the number of
interrupts (though I am by no means any expert on this subject).

-- 
Vidar Tyldum
                              vidar@tyldum.com               PGP: 0x3110AA98

  parent reply	other threads:[~2011-12-13 16:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 22:39 Multiple Mantis devices gives me glitches Vidar Tyldum
2011-12-13  7:48 ` Ninja
2011-12-13 16:55 ` Vidar Tyldum [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-12-13  7:31 Marko Ristola
2011-12-13 13:55 ` Vidar Tyldum
2011-12-13 18:11 ` Vidar Tyldum
2011-12-13 21:56   ` Marko Ristola
2011-12-14 18:23     ` Vidar Tyldum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EE7839A.6040507@tyldum.com \
    --to=vidar@tyldum.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.