All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
To: Andy Grover <andy.grover-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Yevgeny Petrilin
	<yevgenyp-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
Subject: Re: InfiniBand/RDMA merge plans for 2.6.35
Date: Thu, 10 Jun 2010 13:28:26 -0700	[thread overview]
Message-ID: <ada4ohaljit.fsf@roland-alpha.cisco.com> (raw)
In-Reply-To: <4C114223.1010309-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> (Andy Grover's message of "Thu, 10 Jun 2010 12:50:59 -0700")

 > > However, I haven't replied to these patches in detail but in general I
 > > don't like this approach of "pick a random vector" since it is
 > > non-deterministic and not likely to end up with an optimal result.

 > What is the optimal way to do this, if it isn't to spread CQs evenly
 > across all available vectors? (least attached vector != random.)

Since there is no way to know whether a given vector has a bunch of CQs
that generate very few events or maybe a single CQ that generates a
heavy load of events, the number of attached CQs is really pretty
useless as a basis to decide.  I think it's much better to try and
attach your CQ to a vector that is directed at the CPU where you want to
process the work.

 - R.
-- 
Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2010-06-10 20:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17 16:36 InfiniBand/RDMA merge plans for 2.6.35 Roland Dreier
2010-05-17 16:36 ` Roland Dreier
     [not found] ` <adaiq6mo58m.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-05-17 19:58   ` Sean Hefty
     [not found]     ` <7943A3B0D2C7416186D6A61FE071D640-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2010-05-18  3:28       ` Roland Dreier
2010-05-19 17:28       ` Jason Gunthorpe
2010-06-07 22:49   ` Andy Grover
     [not found]     ` <4C0D778C.8070108-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2010-06-09 18:08       ` Roland Dreier
     [not found]         ` <adar5kgm64d.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-06-10 19:50           ` Andy Grover
     [not found]             ` <4C114223.1010309-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2010-06-10 20:28               ` Roland Dreier [this message]

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=ada4ohaljit.fsf@roland-alpha.cisco.com \
    --to=rdreier-fyb4gu1cfyuavxtiumwx3w@public.gmane.org \
    --cc=andy.grover-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=yevgenyp-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.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.