[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D30D84C.6000801@yandex-team.ru>
Date: Sat, 15 Jan 2011 02:12:12 +0300
From: "Oleg V. Ukhno" <olegu@...dex-team.ru>
To: John Fastabend <john.r.fastabend@...el.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Jay Vosburgh <fubar@...ibm.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] bonding: added 802.3ad round-robin hashing policy for
single TCP session balancing
John Fastabend wrote:
>
> I think you want this patch against net-next not 2.6.37.
This patch is against 2.6.37-git11 and I've tried to apply it to
net-next - it applied ok
>
> Oleg, sorry but I don't follow. If this is simply sending every next packet
> via "next" slave interface how are packets not going to get out of order? If
> the links have different RTT this would seem problematic.
>
> Have you considered using multipath at the block layer? This is how I generally
> handle load balancing over iSCSI/FCoE and it works reasonably well.
>
> see ./drivers/md/dm-mpath.c
John, the first solution I was using a long time for ISCSI load
balancing was multipath. But there are some problems with dm-multipath:
- it is slow(I am using ISCSI for Oracle , so I need to minimize latency)
- it handles any link failures bad, because of it's command queue
limitation(all queued commands above 32 are discarded in case of path
failure, as I remember)
- it performs very bad when there are many devices and maтy paths(I was
unable to utilize more that 2Gbps of 4 even with 100 disks with 4 paths
per each disk)
My patch won't work correct when slave links have different RTT, this is
true - it is usable only within one ethernet segment with equal/near
equal RTT. This is it's limitation.
>> +static int bond_xmit_hash_policy_rr(struct sk_buff *skb,
>> + struct net_device *bond_dev, int count)
>
> Here's one reason why this won't work on net-next-2.6.
>
> int (*xmit_hash_policy)(struct sk_buff *, int);
Thank you, I've missed that change.
>
>
> Thanks,
> John
>
--
Best reagrds,
Oleg Ukhno
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists