All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Swarbrick <daniel.swarbrick@gmail.com>
To: ceph-devel@vger.kernel.org
Cc: ceph-users@lists.ceph.com
Subject: Re: Prioritize Heartbeat packets
Date: Sun, 08 Mar 2015 00:23:02 +0100	[thread overview]
Message-ID: <mdg18n$gsj$1@ger.gmane.org> (raw)
In-Reply-To: <CAANLjFrHdDNJnMnWQk3s2cT0LZxsCGp63xHBJw7HNJocfSahzw@mail.gmail.com>

Judging by the commit, this ought to do the trick:

osd heartbeat use min delay socket = true

On 07/03/15 01:20, Robert LeBlanc wrote:
> I see that Jian Wen has done work on this for 0.94. I tried looking
> through the code to see if I can figure out how to configure this new
> option, but it all went over my head pretty quick.
>
> Can I get a brief summary on how to set the priority of heartbeat
> packets or where to look in the code to figure it out?
>
> Thanks,
>
> On Thu, Aug 28, 2014 at 2:01 AM, Daniel Swarbrick
> <daniel.swarbrick@profitbricks.com
> <mailto:daniel.swarbrick@profitbricks.com>> wrote:
>
>     On 28/08/14 02:56, Sage Weil wrote:
>     > I seem to remember someone telling me there were hooks/hints you could
>     > call that would tag either a socket or possibly data on that socket with a
>     > label for use by iptables and such.. but I forget what it was.
>     >
>
>     Something like setsockopt() SO_MARK?
>
>             *SO_MARK *(since Linux 2.6.25)
>                    Set the mark for each packet sent through this socket
>     (similar
>                    to the netfilter MARK target but socket-based).
>     Changing the
>                    mark can be used for mark-based routing without
>     netfilter or
>                    for packet filtering.  Setting this option requires the
>                    *CAP_NET_ADMIN *capability.
>
>     Alternatively, directly set IP_TOS options on the socket, or SO_PRIORITY
>     which sets the IP TOS bits as well.
>
>
>     _______________________________________________
>     ceph-users mailing list
>     ceph-users@lists.ceph.com
>     <mailto:ceph-users@lists.ceph.com>
>     http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



  parent reply	other threads:[~2015-03-07 23:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1985102496.575.1409186929716.JavaMail.root@thunderbeast.private.linuxbox.com>
     [not found] ` <alpine.DEB.2.00.1408271755160.966@cobra.newdream.net>
     [not found]   ` <ltmnkp$tod$1@ger.gmane.org>
2015-03-07  0:20     ` Prioritize Heartbeat packets Robert LeBlanc
     [not found]       ` <CAANLjFrHdDNJnMnWQk3s2cT0LZxsCGp63xHBJw7HNJocfSahzw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-07  0:22         ` Fwd: " Robert LeBlanc
2015-03-07 23:23       ` Daniel Swarbrick [this message]
2015-03-09 19:36         ` Robert LeBlanc
2015-03-10  2:58           ` [ceph-users] " Jian Wen
2015-03-10  5:16             ` Robert LeBlanc
     [not found]               ` <CAANLjFrwqr-znyMSBw=wCgiVkwqRT69ud3n0yAnhWUH=PZRTTw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-10  6:39                 ` Jian Wen
     [not found]                   ` <CAMXzGWJJpDbV0M0rtTkoRU=tSkgi3tM=x6Sy+wKhfZ=oPNy2hw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-10 14:49                     ` Robert LeBlanc
2015-04-10 17:46                   ` [ceph-users] " Robert LeBlanc

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='mdg18n$gsj$1@ger.gmane.org' \
    --to=daniel.swarbrick@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=ceph-users@lists.ceph.com \
    /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.