All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rohit Zambre <rzambre-sXc7qaQca9o@public.gmane.org>
To: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Balaji,
	Pavan" <balaji-uKDnm65ik8M@public.gmane.org>,
	Aparna Chandramowlishwaran <amowli-sXc7qaQca9o@public.gmane.org>
Subject: Re: 2x difference between multi-thread and multi-process for same number of CTXs
Date: Wed, 24 Jan 2018 17:04:45 -0600	[thread overview]
Message-ID: <CAJ84Q-b_NR9cbFLvKO0WVDL4VqetVX1DoQkL6mFgBD6v+6dnRA@mail.gmail.com> (raw)
In-Reply-To: <20180124222240.GA10706-uk2M96/98Pc@public.gmane.org>

Anuj and Jason, thank you for your tips! Looking into it them right
now. Will update here.

Thanks
Rohit Zambre
Ph.D. Student, Computer Engineering
University of California, Irvine
rohitzambre dot com


On Wed, Jan 24, 2018 at 4:22 PM, Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org> wrote:
> On Wed, Jan 24, 2018 at 02:53:13PM -0600, Rohit Zambre wrote:
>
>> Yes, that's correct. My concern was that during resource creation, the
>> kernel was maybe sharing some resource for a process or that some sort
>> of multiplexing was occurring to hardware contexts through control
>> groups. Is it safe for me to conclude that separate, independent
>> contexts/bfregs are being assigned when a process calls
>> ibv_open_device multiple times?
>
> I believe that is true.
>
> There is no obvious point of contention if you use multiple contexts
> and set the single threading flag..
>
> Is it possible your benchmark is actually working differently in the
> two modes? In a more broad sense, like the cluster network traffic
> pattern is detrimental in the thread case for some reason?
>
> Jason
--
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:[~2018-01-24 23:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-24 16:22 2x difference between multi-thread and multi-process for same number of CTXs Rohit Zambre
     [not found] ` <CAJ84Q-aFfcXxaJS5rApcoow6SBjfZAvt71_OKo1ORorXAOZKbw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-24 17:08   ` Jason Gunthorpe
     [not found]     ` <20180124170830.GD16845-uk2M96/98Pc@public.gmane.org>
2018-01-24 20:53       ` Rohit Zambre
     [not found]         ` <CAJ84Q-aMW7PXFFuODm6RN=SO342=tJ4_eSJ2TB0b8DLrxgwtGQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-24 22:00           ` Anuj Kalia
     [not found]             ` <CADPSxAg62gpCTdD9rqVfz+hznVpa_yHig1PRvMeHs2SWc1fvsw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-26 16:44               ` Rohit Zambre
     [not found]                 ` <CADPSxAj1wbNUqCpwigorpoQgGMVCAJ1TiQ5CuCxvSkVWd6LThQ@mail.gmail.com>
     [not found]                   ` <CADPSxAj1wbNUqCpwigorpoQgGMVCAJ1TiQ5CuCxvSkVWd6LThQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-26 20:14                     ` Rohit Zambre
     [not found]                       ` <CAJ84Q-avu53954aECPKBHv2RR3KeH3ra4S+duLsFQeb3pp2+ww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-26 22:34                         ` Anuj Kalia
     [not found]                           ` <CADPSxAgMeCdFsnrCAKLtGZp_aJp78LMB2VUObsr3_s-p6vu-MA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-07  0:02                             ` Rohit Zambre
2018-01-24 22:22           ` Jason Gunthorpe
     [not found]             ` <20180124222240.GA10706-uk2M96/98Pc@public.gmane.org>
2018-01-24 23:04               ` Rohit Zambre [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=CAJ84Q-b_NR9cbFLvKO0WVDL4VqetVX1DoQkL6mFgBD6v+6dnRA@mail.gmail.com \
    --to=rzambre-sxc7qaqca9o@public.gmane.org \
    --cc=amowli-sXc7qaQca9o@public.gmane.org \
    --cc=balaji-uKDnm65ik8M@public.gmane.org \
    --cc=jgg-uk2M96/98Pc@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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.