Skip to contentSkip to conversation

Throughput increase by LACP bonding

DISCUSSION Madhusudhana U 4 participants 5 messages Jul 3, 2012

lore
Share & tools
lore
#0 lore raw

Hi all,
I am trying to increase the throughput in the cluster by enabling LACP on both in clients and all ceph cluster nodes. Each client and ceph nodes has two 1G Ethernet interface which I want to aggregate and make it 2G. LACP has been configured at switch side too. But even after the configuration, I am not seeing any through put increase in ceph tell osd bench command and also dd. They are taking the same amount as earlier. I am constantly seeing around 100MB/sec throughput in both DD and ceph bench commands. Can someone suggest me how i can increase the throughput of the cluster ? Below are my configurations.

No of OSD's : 5
No of MON's : 3
No of MDS's : 2
Linux Kernel : 3.4.4
Ceph version : 0.47.3
Hard disks : 2x160G SAS drives (raid 0 configuration)
CPU : Intel(R) Xeon(R) Quad CPU E5506 @ 2.13GHz
Memory : 6G

Thanks
__M

#1 lore raw
Quoted 10 lines · Madhusudhana U

Hi all,
I am trying to increase the throughput in the cluster by enabling LACP on both in clients and all ceph cluster nodes. Each client and ceph nodes has two 1G Ethernet interface which I want to aggregate and make it 2G. LACP has been configured at switch side too. But even after the configuration, I am not seeing any through put increase in ceph tell osd bench command and also dd. They are taking the same amount as earlier. I am constantly seeing around 100MB/sec throughput in both DD and ceph bench commands. Can someone suggest me how i can increase the throughput of the cluster ? Below are my configurations.

Can you verify if both NIC's are actually doing something? Use bwm-ng for example?

Wido

Quoted 18 lines

No of OSD's : 5
No of MON's : 3
No of MDS's : 2
Linux Kernel : 3.4.4
Ceph version : 0.47.3
Hard disks : 2x160G SAS drives (raid 0 configuration)
CPU : Intel(R) Xeon(R) Quad CPU E5506 @ 2.13GHz
Memory : 6G

Thanks
__M

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 14 lines · Wido den Hollander
Quoted 10 lines · Madhusudhana U

Hi all,
I am trying to increase the throughput in the cluster by enabling LACP on both in clients and all ceph cluster nodes. Each client and ceph nodes has two 1G Ethernet interface which I want to aggregate and make it 2G. LACP has been configured at switch side too. But even after the configuration, I am not seeing any through put increase in ceph tell osd bench command and also dd. They are taking the same amount as earlier. I am constantly seeing around 100MB/sec throughput in both DD and ceph bench commands. Can someone suggest me how i can increase the throughput of the cluster ? Below are my configurations.

Quoted 5 lines

Can you verify if both NIC's are actually doing something? Use bwm-ng for example?

Wido

I would imagine they aren't, as the output hash function for 802.3ad trunking is based on source and destination address, so if your test just writes from a single client to a single OSD, it will just use one link.
Neil

Quoted 24 lines
Quoted 10 lines

No of OSD's : 5
No of MON's : 3
No of MDS's : 2
Linux Kernel : 3.4.4
Ceph version : 0.47.3
Hard disks : 2x160G SAS drives (raid 0 configuration)
CPU : Intel(R) Xeon(R) Quad CPU E5506 @ 2.13GHz
Memory : 6G

Quoted 8 lines

Thanks
__M

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 15 lines · Neil Horman
Quoted 14 lines · Wido den Hollander
Quoted 10 lines · Madhusudhana U

Hi all,
I am trying to increase the throughput in the cluster by enabling LACP on both in clients and all ceph cluster nodes. Each client and ceph nodes has two 1G Ethernet interface which I want to aggregate and make it 2G. LACP has been configured at switch side too. But even after the configuration, I am not seeing any through put increase in ceph tell osd bench command and also dd. They are taking the same amount as earlier. I am constantly seeing around 100MB/sec throughput in both DD and ceph bench commands. Can someone suggest me how i can increase the throughput of the cluster ? Below are my configurations.

Quoted 8 lines
Quoted 5 lines

Can you verify if both NIC's are actually doing something? Use bwm-ng for example?

Wido

I would imagine they aren't, as the output hash function for 802.3ad trunking is based on source and destination address, so if your test just writes from a single client to a single OSD, it will just use one link.

He mentioned "both in clients and ..." So I figured he had multiple clients.

But yes, you are right about the hashing. He should be using multiple clients to use both NIC's in the Ceph nodes.

Wido

Quoted 26 lines

Neil

Quoted 24 lines
Quoted 10 lines

No of OSD's : 5
No of MON's : 3
No of MDS's : 2
Linux Kernel : 3.4.4
Ceph version : 0.47.3
Hard disks : 2x160G SAS drives (raid 0 configuration)
CPU : Intel(R) Xeon(R) Quad CPU E5506 @ 2.13GHz
Memory : 6G

Quoted 8 lines

Thanks
__M

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Madhusudhana U
Quoted 11 lines · Madhusudhana U

Hi all,
I am trying to increase the throughput in the cluster by enabling LACP on both in clients and all ceph cluster nodes. Each client and ceph nodes has two 1G Ethernet interface which I want to aggregate and make it 2G. LACP has been configured at switch side too. But even after the configuration, I am not seeing any through put increase in ceph tell osd bench command and also dd. They are taking the same amount as earlier. I am constantly seeing around 100MB/sec throughput in both DD and ceph bench commands. Can someone suggest me how i can increase the throughput of the cluster ? Below are my configurations.

Quoted 8 lines

No of OSD's : 5
No of MON's : 3
No of MDS's : 2
Linux Kernel : 3.4.4
Ceph version : 0.47.3
Hard disks : 2x160G SAS drives (raid 0 configuration) CPU : Intel(R) Xeon(R) Quad CPU E5506 @ 2.13GHz Memory : 6G

Apart from what's already been mentioned about checking your configuration, keep in mind the osd bench is entirely a local test — if it says 100MB/s, that means your OSD disk can do 100MB/s, and increasing the network connectivity isn't going to change that. :)

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html