* Is it possible to get symmetric hash from RSS for a given flow
@ 2014-02-28 0:22 Daniel Kan
[not found] ` <D4721FD3-C27D-4B8F-9990-AED186050106-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Kan @ 2014-02-28 0:22 UTC (permalink / raw)
To: dev-VfR2kkLFssw
Hi,
It appears that the hash computed from RSS is unidirectional. Hence, for a 5-tuple flow, packet in one direction can be routed to a queue that may be different than packet in the other direction. I’m wondering if there is a configuration or mechanism to get a symmetric hash so that all packets for a given flow will be in the same queue. Thanks in advance.
Dan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Is it possible to get symmetric hash from RSS for a given flow
[not found] ` <D4721FD3-C27D-4B8F-9990-AED186050106-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
@ 2014-02-28 0:24 ` Sangjin Han
[not found] ` <CAPG33HQb7wQO7XUqTeVZq9iOf1gkP0EYnR4=fAz1Ub4JRXu6Ow-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Sangjin Han @ 2014-02-28 0:24 UTC (permalink / raw)
To: Daniel Kan; +Cc: dev-VfR2kkLFssw
Hi,
This is exactly what you want:
http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf
Sangjin
On Thu, Feb 27, 2014 at 4:22 PM, Daniel Kan <dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org> wrote:
> Hi,
> It appears that the hash computed from RSS is unidirectional. Hence, for a 5-tuple flow, packet in one direction can be routed to a queue that may be different than packet in the other direction. I'm wondering if there is a configuration or mechanism to get a symmetric hash so that all packets for a given flow will be in the same queue. Thanks in advance.
>
> Dan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Is it possible to get symmetric hash from RSS for a given flow
[not found] ` <CAPG33HQb7wQO7XUqTeVZq9iOf1gkP0EYnR4=fAz1Ub4JRXu6Ow-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-02-28 1:04 ` Daniel Kan
[not found] ` <75A2A7C4-F592-407C-92BA-7BBD6B6B2A72-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Kan @ 2014-02-28 1:04 UTC (permalink / raw)
To: Sangjin Han; +Cc: dev-VfR2kkLFssw
Thanks, Sangjin. This is exactly i’m looking for. Sorry, I should’ve googled it first. It’s good to know that hash key of repetitive 0x6d5a still yields good load balancing results.
Dan
On Feb 27, 2014, at 4:24 PM, Sangjin Han <sangjin-aFE07iDfcCIb0cFwG/AQJIdd74u8MsAO@public.gmane.org> wrote:
> Hi,
>
> This is exactly what you want:
> http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf
>
> Sangjin
>
> On Thu, Feb 27, 2014 at 4:22 PM, Daniel Kan <dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org> wrote:
>> Hi,
>> It appears that the hash computed from RSS is unidirectional. Hence, for a 5-tuple flow, packet in one direction can be routed to a queue that may be different than packet in the other direction. I'm wondering if there is a configuration or mechanism to get a symmetric hash so that all packets for a given flow will be in the same queue. Thanks in advance.
>>
>> Dan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Is it possible to get symmetric hash from RSS for a given flow
[not found] ` <75A2A7C4-F592-407C-92BA-7BBD6B6B2A72-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
@ 2014-02-28 1:08 ` Stefan Baranoff
[not found] ` <CAHzKxpbHUw_8ovQN_L3OCk+rrxOdMtkJ0URWudn992GzfYx11A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Baranoff @ 2014-02-28 1:08 UTC (permalink / raw)
To: Daniel Kan; +Cc: dev-VfR2kkLFssw
Has anyone already applied this logic to IP only load balancing to get
SRC/DST and DST/SRC on the same queue and come up with an RSK value? If not
I'll spend some time with a calculator and see if I can get one.
Thanks,
Stefan
Sent from my smart phone; people don't make typos, Swype does!
On Feb 27, 2014 8:04 PM, "Daniel Kan" <dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org> wrote:
> Thanks, Sangjin. This is exactly i'm looking for. Sorry, I should've
> googled it first. It's good to know that hash key of repetitive 0x6d5a
> still yields good load balancing results.
>
> Dan
>
> On Feb 27, 2014, at 4:24 PM, Sangjin Han <sangjin-aFE07iDfcCIb0cFwG/AQJIdd74u8MsAO@public.gmane.org>
> wrote:
>
> > Hi,
> >
> > This is exactly what you want:
> > http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf
> >
> > Sangjin
> >
> > On Thu, Feb 27, 2014 at 4:22 PM, Daniel Kan <dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org> wrote:
> >> Hi,
> >> It appears that the hash computed from RSS is unidirectional. Hence,
> for a 5-tuple flow, packet in one direction can be routed to a queue that
> may be different than packet in the other direction. I'm wondering if there
> is a configuration or mechanism to get a symmetric hash so that all packets
> for a given flow will be in the same queue. Thanks in advance.
> >>
> >> Dan
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Is it possible to get symmetric hash from RSS for a given flow
[not found] ` <CAHzKxpbHUw_8ovQN_L3OCk+rrxOdMtkJ0URWudn992GzfYx11A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-02-28 5:34 ` Daniel Kan
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Kan @ 2014-02-28 5:34 UTC (permalink / raw)
To: Stefan Baranoff; +Cc: dev-VfR2kkLFssw
The symmetric RSK for 5-tuple is a generalized case for 2-tuple src ip/dst ip. You can use the same RSK to get the symmetric load balancing.
Dan
On Feb 27, 2014, at 5:08 PM, Stefan Baranoff <sbaranoff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Has anyone already applied this logic to IP only load balancing to get SRC/DST and DST/SRC on the same queue and come up with an RSK value? If not I'll spend some time with a calculator and see if I can get one.
> Thanks,
> Stefan
>
> Sent from my smart phone; people don't make typos, Swype does!
>
> On Feb 27, 2014 8:04 PM, "Daniel Kan" <dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org> wrote:
> Thanks, Sangjin. This is exactly i’m looking for. Sorry, I should’ve googled it first. It’s good to know that hash key of repetitive 0x6d5a still yields good load balancing results.
>
> Dan
>
> On Feb 27, 2014, at 4:24 PM, Sangjin Han <sangjin-aFE07iDfcCIb0cFwG/AQJIdd74u8MsAO@public.gmane.org> wrote:
>
> > Hi,
> >
> > This is exactly what you want:
> > http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf
> >
> > Sangjin
> >
> > On Thu, Feb 27, 2014 at 4:22 PM, Daniel Kan <dan-nm7580oGLDTQT0dZR+AlfA@public.gmane.org> wrote:
> >> Hi,
> >> It appears that the hash computed from RSS is unidirectional. Hence, for a 5-tuple flow, packet in one direction can be routed to a queue that may be different than packet in the other direction. I'm wondering if there is a configuration or mechanism to get a symmetric hash so that all packets for a given flow will be in the same queue. Thanks in advance.
> >>
> >> Dan
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-02-28 5:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-28 0:22 Is it possible to get symmetric hash from RSS for a given flow Daniel Kan
[not found] ` <D4721FD3-C27D-4B8F-9990-AED186050106-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
2014-02-28 0:24 ` Sangjin Han
[not found] ` <CAPG33HQb7wQO7XUqTeVZq9iOf1gkP0EYnR4=fAz1Ub4JRXu6Ow-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-28 1:04 ` Daniel Kan
[not found] ` <75A2A7C4-F592-407C-92BA-7BBD6B6B2A72-nm7580oGLDTQT0dZR+AlfA@public.gmane.org>
2014-02-28 1:08 ` Stefan Baranoff
[not found] ` <CAHzKxpbHUw_8ovQN_L3OCk+rrxOdMtkJ0URWudn992GzfYx11A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-28 5:34 ` Daniel Kan
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.