Infiniband 40GB
Hi List,
has anybody already tried CEPH over Infiniband 40GB?
Stefan
Quoted 9 lines · Stefan Priebe
Hi List,
has anybody already tried CEPH over Infiniband 40GB?
Stefan
--
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
Hi Stefan,
A couple of folks have done DDR IB. For now you are limited to ipoib though. If you have the hardware available I'd be really curious what kind of throughput/latencies you see.
Mark
Quoted 12 lines · Mark Nelson
Quoted 10 lines · Stefan Priebe
Hi List,
has anybody already tried CEPH over Infiniband 40GB?
Stefan
Signature · 4 lines
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
Quoted 6 lines
Hi Stefan,
A couple of folks have done DDR IB. For now you are limited to ipoib though. If you have the hardware available I'd be really curious what kind of throughput/latencies you see.
Hehe.
Good luck with that.
We've tried on 10GigE with _disastrous_ results. Up to the point where 1GigE was actually _faster_.
So far we've uncovered two issues:
- intel_idle was/is seriously broken (we've tried on 3.0-stable, so might've been fixed by now)
- osd-server is calling 'fsync' on each and every write request. Does wonders for performance ...
Cheers,
Hannes
Signature · 8 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- 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
Am 04.06.2012 08:22, schrieb Hannes Reinecke:
Quoted 5 lines
Hehe.
Good luck with that.We've tried on 10GigE with _disastrous_ results. Up to the point where 1GigE was actually _faster_.
So you mean you've tried 10GBE or 10GB ipoib with Infiniband?
Quoted 2 lines
- osd-server is calling 'fsync' on each and every write request. Does wonders for performance ...
Already talked to the ceph guys?
Stefan
Quoted 4 lines · Stefan Priebe - Profihost AG
Am 04.06.2012 08:22, schrieb Hannes Reinecke:
Quoted 3 lines
Hehe.
Good luck with that.
Quoted 9 lines
Quoted 2 lines
We've tried on 10GigE with _disastrous_ results. Up to the point where 1GigE was actually _faster_.
So you mean you've tried 10GBE or 10GB ipoib with Infiniband?
Quoted 2 lines
- osd-server is calling 'fsync' on each and every write request. Does wonders for performance ...
Already talked to the ceph guys?
Still not there yet. Still need to figure out the exact details; performance regressions are notoriously hard to track.
But yeah, rumours have it we are in contact. Project management on our side could be improved, though ;)
Cheers,
Hannes
Signature · 8 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- 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
Am 04.06.2012 09:39, schrieb Hannes Reinecke:
Quoted 9 lines · Stefan Priebe - Profihost AG
Quoted 8 lines
Am 04.06.2012 08:22, schrieb Hannes Reinecke:
Quoted 5 lines
Hehe.
Good luck with that.We've tried on 10GigE with _disastrous_ results. Up to the point where 1GigE was actually _faster_.
So you mean you've tried 10GBE or 10GB ipoib with Infiniband?
Could you please answer this question too? Thx.
Cheers,
Stefan
Quoted 6 lines · Stefan Priebe - Profihost AG
Am 04.06.2012 09:39, schrieb Hannes Reinecke:
Quoted 5 lines · Stefan Priebe - Profihost AG
Quoted 4 lines
Am 04.06.2012 08:22, schrieb Hannes Reinecke:
Quoted 3 lines
Hehe.
Good luck with that.
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
We've tried on 10GigE with _disastrous_ results. Up to the point where 1GigE was actually _faster_.
So you mean you've tried 10GBE or 10GB ipoib with Infiniband?
Could you please answer this question too? Thx.
This was plain 10GigE, ie TCP/IP. Not infiniband, I'm afraid.
However, given that our problems have not been related to the actual transport I'd be very much surprised if they would not occur on Infiniband.
And I would _definitely_ like to hear if someone managed to get any decent speed (notably write speed) on fast interconnects. There's always a chance we've messed things up and were just measuring our crap setup ...
Cheers,
Hannes
Signature · 8 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- 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
Hi Hannes,
our production environment is running on 10GB infrastructure. We had a lot of troubles till we got to where we are today.
We use Intel X520 D2 cards on our OSD´s and nexus switch infrastructure. All other cards we where testing failed horrible.
Some of the problems we encountered have been:
- page allocation failures in the ixgbe driver --> fixed in upstream
- problems with jumbo frames, we had to disable tso, gro, lro -- > this is the most obscure thing
- various tuning via sysctl in the net.tcp and net.ipv4 area --> this was also the outcome of stefan´s benchmarking odysee.
But after all this we a quite happy actully and are only limited by the speed of the drives (2TB SATA).
The fsync is a fdatasync in fact which is available in newer glibc. If you dont use btrfs (we use xfs) you need to use a recent glibc with fdatasync support.
On Mon, Jun 4, 2012 at 10:02 AM, Hannes Reinecke <[email protected]> wrote:
hope this helps
Greetings
Stefan
Quoted 37 lines · Stefan Priebe - Profihost AG
Quoted 6 lines
Am 04.06.2012 09:39, schrieb Hannes Reinecke:
Quoted 5 lines · Stefan Priebe - Profihost AG
Quoted 4 lines
Am 04.06.2012 08:22, schrieb Hannes Reinecke:
Quoted 3 lines
Hehe.
Good luck with that.Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
We've tried on 10GigE with _disastrous_ results. Up to the point where 1GigE was actually _faster_.
So you mean you've tried 10GBE or 10GB ipoib with Infiniband?
Could you please answer this question too? Thx.
This was plain 10GigE, ie TCP/IP. Not infiniband, I'm afraid.
However, given that our problems have not been related to the actual transport I'd be very much surprised if they would not occur on Infiniband.
And I would _definitely_ like to hear if someone managed to get any decent speed (notably write speed) on fast interconnects. There's always a chance we've messed things up and were just measuring our crap setup ...
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) --
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
Signature · 5 lines
Stefan Majer -- 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
Quoted 7 lines · Stefan Majer
Hi Hannes,
our production environment is running on 10GB infrastructure. We had a lot of troubles till we got to where we are today.
We use Intel X520 D2 cards on our OSD´s and nexus switch infrastructure. All other cards we where testing failed horrible.
we have Intel Corporation 82599EB 10 Gigabit Dual Port Backplane Connection (rev 01)... Don't know the 'commercial name'. ixgbe driver.
Quoted 6 lines
Some of the problems we encountered have been:
- page allocation failures in the ixgbe driver --> fixed in upstream
- problems with jumbo frames, we had to disable tso, gro, lro -- > this is the most obscure thing
- various tuning via sysctl in the net.tcp and net.ipv4 area --> this was also the outcome of stefan´s benchmarking odysee.
some tuning we made :
-> Turning off Virtualisation extension in BIOS. Don't know why, but it gaves us crappy performance. We usually put it on, because we use KVM a lot. In our case, OSD are in bare metal and disabling virtualisation extension gives us a very big boost. It may be a BIOS bug in our machines (DELL M610).
-> One of my colleague played with receive flow steeting ; the intel card supports multi queue, so it seems we can gain a little with it :
!/bin/sh
for x in $(seq 0 23); do echo FFFFFFFF > /sys/class/net/eth2/queues/rx-${x}/rps_cpus; done echo 16384 > /proc/sys/net/core/rps_sock_flow_entries
for x in $(seq 0 23); do echo 16384 > /sys/class/net/eth2/queues/rx-${x}/rps_flow_cnt; done
Quoted 6 lines
But after all this we a quite happy actully and are only limited by the speed of the drives (2TB SATA).
The fsync is a fdatasync in fact which is available in newer glibc. If you dont use btrfs (we use xfs) you need to use a recent glibc with fdatasync support.
Does it may explain why we see loosy performance with xfs right now ? That the main reason we're stuck with btrfs for the moment.
we're using debian 'stable' : libc is
libc6 2.11.3-3
probably too old ?
Cheers,
Signature · 8 lines
Yann Dupont - Service IRTS, DSI Université de Nantes Tel : 02.53.48.49.20 - Mail/Jabber : [email protected] -- 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
Hi,
about this:
Quoted 5 lines
Quoted 5 lines
Turning off Virtualisation extension in BIOS. Don't know why, but it gaves us crappy performance. We usually put it on, because we use KVM a lot. In our case, OSD are in bare metal and disabling virtualisation extension gives us a very big boost.
It may be a BIOS bug in our machines (DELL M610).
It could be related to iommu, if you pass intel_iommu=on in grub. I have already had this kind of problem.
When intel_iommu=on, Linux (completely unrelated to KVM) adds a new level of protection which didn't exist without an IOMMU - the network card, which without an IOMMU could write (via DMA) to any memory location, now is not allowed - the card can only write to memory locates which the OS wanted it to write. Theoretically, this can protect the OS against various kinds of attacks. But what happens now is that every time that Linux passes a new buffer to the card, it needs to change the IOMMU mappings. This noticably slows down I/O, unfortunately.
----- Mail original -----
De: "Yann Dupont" <[email protected]>
À: "Stefan Majer" <[email protected]>
Cc: "Hannes Reinecke" <[email protected]>, "Stefan Priebe - Profihost AG" <[email protected]>, "Mark Nelson" <[email protected]>, [email protected] Envoyé: Lundi 4 Juin 2012 11:21:56
Objet: Re: Infiniband 40GB
Quoted 7 lines · Stefan Majer
Hi Hannes,
our production environment is running on 10GB infrastructure. We had a lot of troubles till we got to where we are today.
We use Intel X520 D2 cards on our OSD´s and nexus switch infrastructure. All other cards we where testing failed horrible.
we have Intel Corporation 82599EB 10 Gigabit Dual Port Backplane Connection (rev 01)... Don't know the 'commercial name'. ixgbe driver.
Quoted 6 lines
Some of the problems we encountered have been:
- page allocation failures in the ixgbe driver --> fixed in upstream
- problems with jumbo frames, we had to disable tso, gro, lro -- > this is the most obscure thing
- various tuning via sysctl in the net.tcp and net.ipv4 area --> this was also the outcome of stefan´s benchmarking odysee.
some tuning we made :
-> Turning off Virtualisation extension in BIOS. Don't know why, but it gaves us crappy performance. We usually put it on, because we use KVM a lot. In our case, OSD are in bare metal and disabling virtualisation extension gives us a very big boost.
It may be a BIOS bug in our machines (DELL M610).
-> One of my colleague played with receive flow steeting ; the intel card supports multi queue, so it seems we can gain a little with it :
!/bin/sh
for x in $(seq 0 23); do echo FFFFFFFF > /sys/class/net/eth2/queues/rx-${x}/rps_cpus; done echo 16384 > /proc/sys/net/core/rps_sock_flow_entries for x in $(seq 0 23); do echo 16384 > /sys/class/net/eth2/queues/rx-${x}/rps_flow_cnt; done
Quoted 6 lines
But after all this we a quite happy actully and are only limited by the speed of the drives (2TB SATA).
The fsync is a fdatasync in fact which is available in newer glibc. If you dont use btrfs (we use xfs) you need to use a recent glibc with fdatasync support.
Does it may explain why we see loosy performance with xfs right now ? That the main reason we're stuck with btrfs for the moment.
we're using debian 'stable' : libc is
libc6 2.11.3-3
probably too old ?
Cheers,
Signature · 29 lines
Yann Dupont - Service IRTS, DSI Université de Nantes Tel : 02.53.48.49.20 - Mail/Jabber : [email protected] -- 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 -- -- Alexandre D erumier Ingénieur Système Fixe : 03 20 68 88 90 Fax : 03 20 68 90 81 45 Bvd du Général Leclerc 59100 Roubaix - France 12 rue Marivaux 75002 Paris - France -- 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
Quoted 43 lines · On Monday 04 June 2012 you wrote:
Quoted 6 lines · Stefan Majer
Hi Hannes,
our production environment is running on 10GB infrastructure. We had a lot of troubles till we got to where we are today.
We use Intel X520 D2 cards on our OSD´s and nexus switch infrastructure. All other cards we where testing failed horrible.we have Intel Corporation 82599EB 10 Gigabit Dual Port Backplane Connection (rev 01)... Don't know the 'commercial name'. ixgbe driver.
Quoted 6 lines
Some of the problems we encountered have been:
- page allocation failures in the ixgbe driver --> fixed in upstream
- problems with jumbo frames, we had to disable tso, gro, lro -- > this is the most obscure thing
- various tuning via sysctl in the net.tcp and net.ipv4 area --> this was also the outcome of stefan´s benchmarking odysee.some tuning we made :
-> Turning off Virtualisation extension in BIOS. Don't know why, but it gaves us crappy performance. We usually put it on, because we use KVM a lot. In our case, OSD are in bare metal and disabling virtualisation extension gives us a very big boost.
It may be a BIOS bug in our machines (DELL M610).-> One of my colleague played with receive flow steeting ; the intel card supports multi queue, so it seems we can gain a little with it :
!/bin/sh
for x in $(seq 0 23); do echo FFFFFFFF >
/sys/class/net/eth2/queues/rx-${x}/rps_cpus; done echo 16384 >/proc/sys/net/core/rps_sock_flow_entriesfor x in $(seq 0 23); do echo 16384 >/sys/class/net/eth2/queues/rx-${x}/rps_flow_cnt; doneQuoted 5 lines
But after all this we a quite happy actully and are only limited by the speed of the drives (2TB SATA).
The fsync is a fdatasync in fact which is available in newer glibc. If you dont use btrfs (we use xfs) you need to use a recent glibc with fdatasync support.
Quoted 6 lines
Does it may explain why we see loosy performance with xfs right now ? That the main reason we're stuck with btrfs for the moment.
we're using debian 'stable' : libc is
libc6 2.11.3-3
probably too old ?
One reason for performance problems with that libc6 version is missing syncfs() support. I backported a patch for 2.13, originally by Andreas Schwab, [email protected], to Debian stable code. Patch is attached.
Copy the patch to eglibc's debian/patches/, add to debian/patches/series, rebuild eglibc packages (including libc6) with dpkg-buildpackage, install new libc6-dev, rebuild ceph packages against it, install and retry. AFAIK, not even libc6 in Debian experimental has syncfs() support.
Also see thread "OSD deadlock with cephfs client and OSD on same machine"
Amon Ott
Signature · 12 lines
Dr. Amon Ott m-privacy GmbH Tel: +49 30 24342334 Am Köllnischen Park 1 Fax: +49 30 24342336 10179 Berlin http://www.m-privacy.de Amtsgericht Charlottenburg, HRB 84946 Geschäftsführer: Dipl.-Kfm. Holger Maczkowsky, Roman Maczkowsky GnuPG-Key-ID: 0x2DD3A649
Versions.def | 1 + misc/Makefile | 4 ++-- misc/Versions | 3 +++ misc/syncfs.c | 33 +++++++++++++++++++++++++++++++++ posix/unistd.h | 9 ++++++++- sysdeps/unix/syscalls.list | 1 + 6 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 misc/syncfs.c
Versions.def +1 -0
@@ -30,5 +30,6 @@ libc { GLIBC_2.11 GLIBC_2.12 + GLIBC_2.14 %ifdef USE_IN_LIBIO HURD_CTHREADS_0.3 %endif
misc/Makefile +2 -2
@@ -1,4 +1,4 @@ -# Copyright (C) 1991-2006, 2007, 2009 Free Software Foundation, Inc. +# Copyright (C) 1991-2006, 2007, 2009, 2011 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or
@@ -45,7 +45,7 @@ routines := brk sbrk sstk ioctl \ getdtsz \ gethostname sethostname getdomain setdomain \ select pselect \ - acct chroot fsync sync fdatasync reboot \ + acct chroot fsync sync fdatasync syncfs reboot \ gethostid sethostid \ vhangup \ swapon swapoff mktemp mkstemp mkstemp64 mkdtemp \
misc/Versions +3 -0
@@ -143,4 +143,7 @@ libc { GLIBC_2.11 { mkstemps; mkstemps64; mkostemps; mkostemps64; } + GLIBC_2.14 { + syncfs; + } }
misc/syncfs.c new file +33 -0
@@ -0,0 +1,33 @@ +/* Copyright (C) 2011 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with the GNU C Library; if not, write to the Free +Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. */ + +#include <errno.h> +#include <unistd.h> + +/* Make all changes done to all files on the file system associated +with FD actually appear on disk. */ +int +syncfs (int fd) +{ +__set_errno (ENOSYS ); +return -1 ; +} + + +stub_warning (syncfs) +#include <stub-tag.h>
posix/unistd.h +8 -1
@@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2006, 2007, 2008, 2009 Free Software Foundation, Inc. +/* Copyright (C) 1991-2009, 2010, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or
@@ -974,6 +974,13 @@ extern int fsync (int __fd);#endif /* Use BSD || X/Open || Unix98. */ +#ifdef __USE_GNU +/* Make all changes done to all files on the file system associated +with FD actually appear on disk. */ +extern int syncfs (int __fd) __THROW; +#endif + +#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED/* Return identifier for the current host. */
sysdeps/unix/syscalls.list +1 -0
@@ -55,6 +55,7 @@ swapoff - swapoff i:s swapoff swapon - swapon i:s swapon symlink - symlink i:ss __symlink symlink sync - sync i: sync +syncfs - syncfs i:i syncfs sys_fstat fxstat fstat i:ip __syscall_fstat sys_mknod xmknod mknod i:sii __syscall_mknod sys_stat xstat stat i:sp __syscall_stat
Signature · 1 line
1.7.4
Quoted 11 lines · Alexandre DERUMIER
Hi,
about this:Quoted 5 lines
Quoted 5 lines
Turning off Virtualisation extension in BIOS. Don't know why, but it gaves us crappy performance. We usually put it on, because we use KVM a lot. In our case, OSD are in bare metal and disabling virtualisation extension gives us a very big boost.
It may be a BIOS bug in our machines (DELL M610).It could be related to iommu, if you pass intel_iommu=on in grub. I have already had this kind of problem.
Quoted 10 lines
When intel_iommu=on, Linux (completely unrelated to KVM) adds a new level of protection which didn't exist without an IOMMU - the network card, which without an IOMMU could write (via DMA) to any memory location, now is not allowed - the card can only write to memory locates which the OS wanted it to write. Theoretically, this can protect the OS against various kinds of attacks. But what happens now is that every time that Linux passes a new buffer to the card, it needs to change the IOMMU mappings. This noticably slows down I/O, unfortunately.
Infortunately, this is not the case. The intel card supports it, but DELL M160 don't. And I just checked, ou linux command line don't include intel_iommu=on.
BTW, it seems that turning on virtualization on bios kills performance on integrated ixgbe driver. Sourceforge one seems less affected. Our tests were circa kernel 3.2 , it may have changed since.
Cheers,
Signature · 8 lines
Yann Dupont - Service IRTS, DSI Université de Nantes Tel : 02.53.48.49.20 - Mail/Jabber : [email protected] -- 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
Quoted 3 lines · Amon Ott
even libc6 in Debian experimental has
syncfs()support.Also see thread "OSD deadlock with cephfs client and OSD on same machine"
Great , thanks for explanation.
... lots of tests to do this afternoon :) I need to convert my OSD with xfs, benchmark with standard libc, then convert libc with your patch & retest.
Thanks,
cheers,
Signature · 8 lines
Yann Dupont - Service IRTS, DSI Université de Nantes Tel : 02.53.48.49.20 - Mail/Jabber : [email protected] -- 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
Hi,
I'm currently doing some tests with xfs, debian wheezy with standard libc6 (2.11.3-3) and 3.2 kernel.
I'm doing some iostats(3 nodes with 5 osd), and I see constant writes to disks.(as the datas are flushed each second from journal to disk).
Journal is big enough (20GB tmpfs) to handle 30s of write.
Do you think it's related to the missing syncfs() support ?
-Alexandre
----- Mail original -----
De: "Amon Ott" <[email protected]>
À: "Yann Dupont" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 4 Juin 2012 11:47:22
Objet: Re: Infiniband 40GB
Quoted 43 lines · On Monday 04 June 2012 you wrote:
Quoted 6 lines · Stefan Majer
Hi Hannes,
our production environment is running on 10GB infrastructure. We had a lot of troubles till we got to where we are today.
We use Intel X520 D2 cards on our OSD´s and nexus switch infrastructure. All other cards we where testing failed horrible.we have Intel Corporation 82599EB 10 Gigabit Dual Port Backplane Connection (rev 01)... Don't know the 'commercial name'. ixgbe driver.
Quoted 6 lines
Some of the problems we encountered have been:
- page allocation failures in the ixgbe driver --> fixed in upstream
- problems with jumbo frames, we had to disable tso, gro, lro -- > this is the most obscure thing
- various tuning via sysctl in the net.tcp and net.ipv4 area --> this was also the outcome of stefan´s benchmarking odysee.some tuning we made :
-> Turning off Virtualisation extension in BIOS. Don't know why, but it gaves us crappy performance. We usually put it on, because we use KVM a lot. In our case, OSD are in bare metal and disabling virtualisation extension gives us a very big boost.
It may be a BIOS bug in our machines (DELL M610).-> One of my colleague played with receive flow steeting ; the intel card supports multi queue, so it seems we can gain a little with it :
!/bin/sh
for x in $(seq 0 23); do echo FFFFFFFF >
/sys/class/net/eth2/queues/rx-${x}/rps_cpus; done echo 16384 >/proc/sys/net/core/rps_sock_flow_entriesfor x in $(seq 0 23); do echo 16384 >/sys/class/net/eth2/queues/rx-${x}/rps_flow_cnt; doneQuoted 5 lines
But after all this we a quite happy actully and are only limited by the speed of the drives (2TB SATA).
The fsync is a fdatasync in fact which is available in newer glibc. If you dont use btrfs (we use xfs) you need to use a recent glibc with fdatasync support.
Quoted 6 lines
Does it may explain why we see loosy performance with xfs right now ? That the main reason we're stuck with btrfs for the moment.
we're using debian 'stable' : libc is
libc6 2.11.3-3
probably too old ?
One reason for performance problems with that libc6 version is missing syncfs() support. I backported a patch for 2.13, originally by Andreas Schwab, [email protected], to Debian stable code. Patch is attached.
Copy the patch to eglibc's debian/patches/, add to debian/patches/series, rebuild eglibc packages (including libc6) with dpkg-buildpackage, install new libc6-dev, rebuild ceph packages against it, install and retry. AFAIK, not even libc6 in Debian experimental has syncfs() support.
Also see thread "OSD deadlock with cephfs client and OSD on same machine"
Amon Ott
Signature · 33 lines
Dr. Amon Ott m-privacy GmbH Tel: +49 30 24342334 Am Köllnischen Park 1 Fax: +49 30 24342336 10179 Berlin http://www.m-privacy.de Amtsgericht Charlottenburg, HRB 84946 Geschäftsführer: Dipl.-Kfm. Holger Maczkowsky, Roman Maczkowsky GnuPG-Key-ID: 0x2DD3A649 -- -- Alexandre D erumier Ingénieur Système Fixe : 03 20 68 88 90 Fax : 03 20 68 90 81 45 Bvd du Général Leclerc 59100 Roubaix - France 12 rue Marivaux 75002 Paris - France -- 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
Quoted 19 lines · Hannes Reinecke
Quoted 12 lines · Mark Nelson
Quoted 10 lines · Stefan Priebe
Hi List,
has anybody already tried CEPH over Infiniband 40GB?
Stefan
--
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.htmlQuoted 6 lines
Hi Stefan,
A couple of folks have done DDR IB. For now you are limited to ipoib though. If you have the hardware available I'd be really curious what kind of throughput/latencies you see.
Quoted 6 lines
Hehe.
Good luck with that.
We've tried on 10GigE with _disastrous_ results. Up to the point where 1GigE was actually _faster_.
Strange! Do you see good results with something like iperf? Internally we have 10GE on some of our test nodes and I can get up to around 600MB/s per node during rados bench testing.
Quoted 5 lines
So far we've uncovered two issues:
-intel_idlewas/is seriously broken (we've tried on 3.0-stable, so might've been fixed by now)
- osd-server is calling 'fsync' on each and every write request. Does wonders for performance ...
For syncfs support, upgrade to a distro with glibc 2.13+ (ie precise). I've noticed a significant improvement in our spinning disk performance going from oneiric and kernel 3.3 to precise and kernel 3.4. I think part of this is related to the raid drivers for the cards we have in our test boxes though. I'm actually recording blktrace and seekwatcher results for all of our tests to specifically look at syncs and disk seek behavior...
Quoted 4 lines
Cheers,
Hannes
Mark
Quoted 8 lines · Mark Nelson
For syncfs support, upgrade to a distro with glibc 2.13+ (ie precise). I've noticed a significant improvement in our spinning disk performance going from oneiric and kernel 3.3 to precise and kernel 3.4. I think part of this is related to the raid drivers for the cards we have in our test boxes though. I'm actually recording blktrace and seekwatcher results for all of our tests to specifically look at syncs and disk seek behavior...
Correct me if I'am wrong. But AFAIR precise in running 3.2 kernel.
Signature · 7 lines
Tomasz Paszkowski SS7, Asterisk, SAN, Datacenter, Cloud Computing +48500166299 -- 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
Quoted 11 lines · Tomasz Paszkowski
Quoted 8 lines · Mark Nelson
For syncfs support, upgrade to a distro with glibc 2.13+ (ie precise). I've noticed a significant improvement in our spinning disk performance going from oneiric and kernel 3.3 to precise and kernel 3.4. I think part of this is related to the raid drivers for the cards we have in our test boxes though. I'm actually recording blktrace and seekwatcher results for all of our tests to specifically look at syncs and disk seek behavior...
Correct me if I'am wrong. But AFAIR precise in running 3.2 kernel.
Sorry, I should have been more clear. We were running oneiric with our own kernel 3.3 build and are now running precise with our own kernel 3.4 build (available on gitbuilder.ceph.com).
Mark
Quoted 11 lines · Alexandre DERUMIER
Hi,
I'm currently doing some tests with xfs, debian wheezy with standard libc6 (2.11.3-3) and 3.2 kernel.
I'm doing some iostats(3 nodes with 5 osd), and I see constant writes to disks.(as the datas are flushed each second from journal to disk).
Journal is big enough (20GB tmpfs) to handle 30s of write.
Do you think it's related to the missing
syncfs()support ?-Alexandre
Hi Alexandre,
I've included some seekwatcher results for rados bench tests using 16 concurrent 4MB writes on XFS OSD. One shows ubuntu oneiric and the other precise (ie no syncfs support vs syncfs support in libc). Unfortunately the original test was on 0.46 and the second test was on 0.47.2, so multiple things changed between the tests. Both were tested with kernel 3.4. Interestingly the seeks/second don't seem to drop much but the overall performance has about doubled. This was using a single 7200rpm disk for the OSD data disk and a seperate 7200rpm disk for the journal in both cases. I'd definitely try 0.47.2 with a new libc though and see how that works for you.
ceph 0.46/oneiric:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-oneiric-3.4.mpg
ceph 0.47.2/precise:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-precise-3.4.mpg
Mark
Thanks Mark,
I'll rebuild my cluster with ubuntu precise tomorrow. (Don't have time to backport/maintain libc6 ;)
BTW, do you use mainly ubuntu at intank for your tests ?
I'd like to have a setup as close as possible of intank setup.
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>
Cc: "Amon Ott" <[email protected]>, [email protected], "Yann Dupont" <[email protected]> Envoyé: Lundi 4 Juin 2012 14:59:58
Objet: Re: Infiniband 40GB
Quoted 11 lines · Alexandre DERUMIER
Hi,
I'm currently doing some tests with xfs, debian wheezy with standard libc6 (2.11.3-3) and 3.2 kernel.
I'm doing some iostats(3 nodes with 5 osd), and I see constant writes to disks.(as the datas are flushed each second from journal to disk).
Journal is big enough (20GB tmpfs) to handle 30s of write.
Do you think it's related to the missing
syncfs()support ?-Alexandre
Hi Alexandre,
I've included some seekwatcher results for rados bench tests using 16 concurrent 4MB writes on XFS OSD. One shows ubuntu oneiric and the other precise (ie no syncfs support vs syncfs support in libc). Unfortunately the original test was on 0.46 and the second test was on 0.47.2, so multiple things changed between the tests. Both were tested with kernel 3.4. Interestingly the seeks/second don't seem to drop much but the overall performance has about doubled. This was using a single 7200rpm disk for the OSD data disk and a seperate 7200rpm disk for the journal in both cases. I'd definitely try 0.47.2 with a new libc though and see how that works for you.
ceph 0.46/oneiric:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-oneiric-3.4.mpg
ceph 0.47.2/precise:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-precise-3.4.mpg
Mark
Signature · 16 lines
-- Alexandre D erumier Ingénieur Système Fixe : 03 20 68 88 90 Fax : 03 20 68 90 81 45 Bvd du Général Leclerc 59100 Roubaix - France 12 rue Marivaux 75002 Paris - France -- 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
Hi Alexandre,
A lot of our testing is on Ubuntu right now. I'm using the ceph and kernel debs from ceph.gitbuilder.com for my tests. Post some results to the list once you get your cluster setup!
Thanks,
Mark
Quoted 43 lines · Alexandre DERUMIER
Thanks Mark,
I'll rebuild my cluster with ubuntu precise tomorrow. (Don't have time to backport/maintain libc6 ;)BTW, do you use mainly ubuntu at intank for your tests ?
I'd like to have a setup as close as possible of intank setup.
----- Mail original -----
De: "Mark Nelson"<[email protected]>
À: "Alexandre DERUMIER"<[email protected]>
Cc: "Amon Ott"<[email protected]>, [email protected], "Yann Dupont"<[email protected]> Envoyé: Lundi 4 Juin 2012 14:59:58
Objet: Re: Infiniband 40GBQuoted 11 lines · Alexandre DERUMIER
Hi,
I'm currently doing some tests with xfs, debian wheezy with standard libc6 (2.11.3-3) and 3.2 kernel.
I'm doing some iostats(3 nodes with 5 osd), and I see constant writes to disks.(as the datas are flushed each second from journal to disk).
Journal is big enough (20GB tmpfs) to handle 30s of write.
Do you think it's related to the missing
syncfs()support ?-Alexandre
Hi Alexandre,
I've included some seekwatcher results for rados bench tests using 16 concurrent 4MB writes on XFS OSD. One shows ubuntu oneiric and the other precise (ie no syncfs support vs syncfs support in libc). Unfortunately the original test was on 0.46 and the second test was on 0.47.2, so multiple things changed between the tests. Both were tested with kernel 3.4. Interestingly the seeks/second don't seem to drop much but the overall performance has about doubled. This was using a single 7200rpm disk for the OSD data disk and a seperate 7200rpm disk for the journal in both cases. I'd definitely try 0.47.2 with a new libc though and see how that works for you.
Quoted 10 lines
ceph 0.46/oneiric:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-oneiric-3.4.mpgceph 0.47.2/precise:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-precise-3.4.mpgMark
--
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
Quoted 6 lines · Mark Nelson
Hi Alexandre,
A lot of our testing is on Ubuntu right now. I'm using the ceph and
kernel debs from ceph.gitbuilder.com (http://ceph.gitbuilder.com) for my tests. Post some results to the list once you get your cluster setup!
I think he means gitbuilder.ceph.com. ;)
-Greg
Quoted 11 lines · Gregory Farnum
Quoted 6 lines · Mark Nelson
Hi Alexandre,
A lot of our testing is on Ubuntu right now. I'm using the ceph and
kernel debs from ceph.gitbuilder.com (http://ceph.gitbuilder.com) for my tests. Post some results to the list once you get your cluster setup!I think he means gitbuilder.ceph.com. ;)
-Greg
Doh! This is why I need caffeine before writing emails. Thanks Greg. :)
Mark
Hi Amon,
thanks for your backported patch. At least it doesn't cleanly apply to debian squeeze stable as it wants a glic 2.12 in Versions.def but Debian is only at 2.11? Do you use another patch too?
Stefan
On Monday 04 June 2012 wrote Stefan Priebe:
Quoted 5 lines
Hi Amon,
thanks for your backported patch. At least it doesn't cleanly apply to debian squeeze stable as it wants a glic 2.12 in Versions.def but Debian is only at 2.11? Do you use another patch too?
I ripped the patch right out of our previously built 2.11.3-3 source tree. It needs to be last in the series file, because several existing Debian patches modify the sources at various places. I could also make our compiled packages available to you for download.
Amon Ott
Signature · 16 lines
Dr. Amon Ott m-privacy GmbH Tel: +49 30 24342334 Am Köllnischen Park 1 Fax: +49 30 24342336 10179 Berlin http://www.m-privacy.de Amtsgericht Charlottenburg, HRB 84946 Geschäftsführer: Dipl.-Kfm. Holger Maczkowsky, Roman Maczkowsky GnuPG-Key-ID: 0x2DD3A649 -- 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
Am 05.06.2012 09:08, schrieb Amon Ott:
Quoted 11 lines
On Monday 04 June 2012 wrote Stefan Priebe:
Quoted 5 lines
Hi Amon,
thanks for your backported patch. At least it doesn't cleanly apply to debian squeeze stable as it wants a glic 2.12 in Versions.def but Debian is only at 2.11? Do you use another patch too?
I ripped the patch right out of our previously built 2.11.3-3 source tree. It needs to be last in the series file, because several existing Debian patches modify the sources at various places. I could also make our compiled packages available to you for download.
Sorry i added the file in front of the series file...
Thanks
Stefan
Hi Stefan,
Am 04.06.2012 10:23, schrieb Stefan Majer:
Quoted 4 lines
our production environment is running on 10GB infrastructure. We had a lot of troubles till we got to where we are today.
We use Intel X520 D2 cards on our OSD´s and nexus switch infrastructure. All other cards we where testing failed horrible.
Have you also tried emulex cards? (also used by HP)
Stefan
--
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
Hi Amon,
i've added your patch:
# strings /lib/libc-2.11.3.so |grep -i syncfs syncfs
But configure of ceph still claims there is no syncfs support.
# ./configure |grep -i sync checking for syncfs... no checking for sync_file_range... yes
Any ideas?
Hint: I'm compiling my packages on an OpenVZ RHEL6 based virtual container - so THIS kernel where i'm compiling does not support syncfs is this the reason?
Stefan
On Wednesday 06 June 2012 wrote Stefan Priebe - Profihost AG:
Quoted 6 lines
Hi Amon,
i've added your patch:
# strings /lib/libc-2.11.3.so |grep -i syncfs syncfs
Quoted 7 lines
But configure of ceph still claims there is no syncfs support.
# ./configure |grep -i sync checking for syncfs... no checking for sync_file_range... yesAny ideas?
Did you also install the new libc6-dev, which contains the new header files?
Amon Ott
Signature · 16 lines
Dr. Amon Ott m-privacy GmbH Tel: +49 30 24342334 Am Köllnischen Park 1 Fax: +49 30 24342336 10179 Berlin http://www.m-privacy.de Amtsgericht Charlottenburg, HRB 84946 Geschäftsführer: Dipl.-Kfm. Holger Maczkowsky, Roman Maczkowsky GnuPG-Key-ID: 0x2DD3A649 -- 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
Am 06.06.2012 12:57, schrieb Amon Ott:
Quoted 9 lines
On Wednesday 06 June 2012 wrote Stefan Priebe - Profihost AG:
Quoted 8 lines
Hi Amon,
i've added your patch:
# strings /lib/libc-2.11.3.so |grep -i syncfs syncfsBut configure of ceph still claims there is no syncfs support.
Quoted 7 lines
Quoted 5 lines
# ./configure |grep -i sync checking for syncfs... no checking for sync_file_range... yesAny ideas?
Did you also install the new libc6-dev, which contains the new header files?
Yes.
/usr/include/unistd.h:
extern int syncfs (int __fd) __THROW;
/usr/include/gnu/stubs-64.h:
#define __stub_syncfs
Stefan
Hi, I have rebuild my cluster with ubuntu precise,
-kernel 3.2
-ceph 0.47.2
-libc6 2.15
-3 nodes - 5 osd (xfs) by node and 1 tmpfs with 5 journal file.
I had launch rados bench,
and I see again constant writes to xfs....
Maybe this is related to tmpfs ?
I'll retry with kernel 3.4 from intank tomorrow.
I'll also try with journal on a physical disk with xfs partition.
I'll keep you in touch.
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>
Cc: "Amon Ott" <[email protected]>, [email protected], "Yann Dupont" <[email protected]> Envoyé: Lundi 4 Juin 2012 14:59:58
Objet: Re: Infiniband 40GB
Quoted 11 lines · Alexandre DERUMIER
Hi,
I'm currently doing some tests with xfs, debian wheezy with standard libc6 (2.11.3-3) and 3.2 kernel.
I'm doing some iostats(3 nodes with 5 osd), and I see constant writes to disks.(as the datas are flushed each second from journal to disk).
Journal is big enough (20GB tmpfs) to handle 30s of write.
Do you think it's related to the missing
syncfs()support ?-Alexandre
Hi Alexandre,
I've included some seekwatcher results for rados bench tests using 16 concurrent 4MB writes on XFS OSD. One shows ubuntu oneiric and the other precise (ie no syncfs support vs syncfs support in libc). Unfortunately the original test was on 0.46 and the second test was on 0.47.2, so multiple things changed between the tests. Both were tested with kernel 3.4. Interestingly the seeks/second don't seem to drop much but the overall performance has about doubled. This was using a single 7200rpm disk for the OSD data disk and a seperate 7200rpm disk for the journal in both cases. I'd definitely try 0.47.2 with a new libc though and see how that works for you.
ceph 0.46/oneiric:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-oneiric-3.4.mpg
ceph 0.47.2/precise:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-precise-3.4.mpg
Mark
Signature · 16 lines
-- Alexandre D erumier Ingénieur Système Fixe : 03 20 68 88 90 Fax : 03 20 68 90 81 45 Bvd du Général Leclerc 59100 Roubaix - France 12 rue Marivaux 75002 Paris - France -- 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
Hi Alexandre,
If you can run blktrace during your test on one of the OSD data disks and send me the results I can take a look at them. Also, the rados bench settings and output would be useful too.
Thanks,
Mark
Quoted 53 lines · Alexandre DERUMIER
Hi, I have rebuild my cluster with ubuntu precise,
(quoted diff) +0
-4-kernel 3.2 -ceph 0.47.2 -libc6 2.15 -3 nodes - 5 osd (xfs) by node and 1 tmpfs with 5 journal file.I had launch rados bench,
and I see again constant writes to xfs....Maybe this is related to tmpfs ?
I'll retry with kernel 3.4 from intank tomorrow.
I'll also try with journal on a physical disk with xfs partition.I'll keep you in touch.
----- Mail original -----
De: "Mark Nelson"<[email protected]>
À: "Alexandre DERUMIER"<[email protected]>
Cc: "Amon Ott"<[email protected]>, [email protected], "Yann Dupont"<[email protected]> Envoyé: Lundi 4 Juin 2012 14:59:58
Objet: Re: Infiniband 40GBQuoted 11 lines · Alexandre DERUMIER
Hi,
I'm currently doing some tests with xfs, debian wheezy with standard libc6 (2.11.3-3) and 3.2 kernel.
I'm doing some iostats(3 nodes with 5 osd), and I see constant writes to disks.(as the datas are flushed each second from journal to disk).
Journal is big enough (20GB tmpfs) to handle 30s of write.
Do you think it's related to the missing
syncfs()support ?-Alexandre
Hi Alexandre,
I've included some seekwatcher results for rados bench tests using 16 concurrent 4MB writes on XFS OSD. One shows ubuntu oneiric and the other precise (ie no syncfs support vs syncfs support in libc). Unfortunately the original test was on 0.46 and the second test was on 0.47.2, so multiple things changed between the tests. Both were tested with kernel 3.4. Interestingly the seeks/second don't seem to drop much but the overall performance has about doubled. This was using a single 7200rpm disk for the OSD data disk and a seperate 7200rpm disk for the journal in both cases. I'd definitely try 0.47.2 with a new libc though and see how that works for you.
Quoted 10 lines
ceph 0.46/oneiric:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-oneiric-3.4.mpgceph 0.47.2/precise:
http://nhm.ceph.com/movies/mailinglist-tests/xfs-osd0-precise-3.4.mpgMark
--
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
On Wednesday 06 June 2012 wrote Stefan Priebe - Profihost AG:
Quoted 19 lines
Am 06.06.2012 12:57, schrieb Amon Ott:
Quoted 9 lines
On Wednesday 06 June 2012 wrote Stefan Priebe - Profihost AG:
Quoted 8 lines
Hi Amon,
i've added your patch:
# strings /lib/libc-2.11.3.so |grep -i syncfs syncfsBut configure of ceph still claims there is no syncfs support.
Quoted 8 lines
Quoted 5 lines
# ./configure |grep -i sync checking for syncfs... no checking for sync_file_range... yesAny ideas?
Did you also install the new libc6-dev, which contains the new header files?
Quoted 7 lines
Yes.
/usr/include/unistd.h:
extern int syncfs (int__fd)__THROW;
/usr/include/gnu/stubs-64.h:
#define__stub_syncfs
Are you building on 32 or 64 Bit? We have 32 here.
Amon Ott
Signature · 16 lines
Dr. Amon Ott m-privacy GmbH Tel: +49 30 24342334 Am Köllnischen Park 1 Fax: +49 30 24342336 10179 Berlin http://www.m-privacy.de Amtsgericht Charlottenburg, HRB 84946 Geschäftsführer: Dipl.-Kfm. Holger Maczkowsky, Roman Maczkowsky GnuPG-Key-ID: 0x2DD3A649 -- 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
Am 07.06.2012 13:33, schrieb Amon Ott:
Quoted 10 lines
On Wednesday 06 June 2012 wrote Stefan Priebe - Profihost AG:
Quoted 7 lines
Am 06.06.2012 12:57, schrieb Amon Ott:
Quoted 1 line
On Wednesday 06 June 2012 wrote Stefan Priebe - Profihost AG:
/usr/include/unistd.h:
extern int syncfs (int__fd)__THROW;
/usr/include/gnu/stubs-64.h:
#define__stub_syncfsAre you building on 32 or 64 Bit? We have 32 here.
64bit but does this make a difference?
Stefan