From: Alexandre DERUMIER Subject: Re: RBD performance - tuning hints Date: Thu, 30 Aug 2012 17:28:02 +0200 (CEST) Message-ID: <0a67f8ca-86ac-4257-bd8c-c4f0e1518283@mailpro> References: <20120830145634.GA32184@oder.kd-bie.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mailpro.odiso.net ([89.248.209.98]:49658 "EHLO mailpro.odiso.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753163Ab2H3P22 convert rfc822-to-8bit (ORCPT ); Thu, 30 Aug 2012 11:28:28 -0400 In-Reply-To: <20120830145634.GA32184@oder.kd-bie.de> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Dieter Kasper Cc: ceph-devel@vger.kernel.org Thanks for the report ! vs your first benchmark, it's with RBD 4M or 64K ? (how much ssd by node?) ----- Mail original -----=20 De: "Dieter Kasper" =20 =C3=80: "Alexandre DERUMIER" =20 Cc: ceph-devel@vger.kernel.org=20 Envoy=C3=A9: Jeudi 30 Ao=C3=BBt 2012 16:56:34=20 Objet: Re: RBD performance - tuning hints=20 Hi Alexandre,=20 with the 4 filestore parameter below some fio values could be increased= :=20 filestore max sync interval =3D 30=20 filestore min sync interval =3D 29=20 filestore flusher =3D false=20 filestore queue max ops =3D 10000=20 ###### IOPS=20 fio_read_4k_64: 9373=20 fio_read_4k_128: 9939=20 fio_randwrite_8k_16: 12376=20 fio_randwrite_4k_16: 13315=20 fio_randwrite_512_32: 13660=20 fio_randwrite_8k_32: 17318=20 fio_randwrite_4k_32: 18057=20 fio_randwrite_8k_64: 19693=20 fio_randwrite_512_64: 20015 <<<=20 fio_randwrite_4k_64: 20024 <<<=20 fio_randwrite_8k_128: 20547 <<<=20 fio_randwrite_4k_128: 20839 <<<=20 fio_randwrite_512_128: 21417 <<<=20 fio_randread_8k_128: 48872=20 fio_randread_4k_128: 50002=20 fio_randread_512_128: 51202=20 ###### MB/s=20 fio_randread_2m_32: 628=20 fio_read_4m_64: 630=20 fio_randread_8m_32: 633=20 fio_read_2m_32: 637=20 fio_read_4m_16: 640=20 fio_randread_4m_16: 652=20 fio_write_2m_32: 660=20 fio_randread_4m_32: 677=20 fio_read_4m_32: 678=20 (...)=20 fio_write_4m_64: 771=20 fio_randwrite_2m_64: 789=20 fio_write_8m_128: 796=20 fio_write_4m_32: 802=20 fio_randwrite_4m_128: 807 <<<=20 fio_randwrite_2m_32: 811 <<<=20 fio_write_2m_128: 833 <<<=20 fio_write_8m_64: 901 <<<=20 Best Regards,=20 -Dieter=20 On Wed, Aug 29, 2012 at 10:50:12AM +0200, Alexandre DERUMIER wrote:=20 > Nice results !=20 > (can you make same benchmark from a qemu-kvm guest with virtio-driver= ?=20 > I have made some bench some month ago with stephan priebe, and we nev= er be able to have more than 20000iops, with a full ssd 3nodes cluster)= =20 >=20 > >>How can I set the variables when the Journal data have go to the OS= D ? (after X seconds and/or when Y %-full)=20 > I think you can try to tune these values=20 >=20 > filestore max sync interval =3D 30=20 > filestore min sync interval =3D 29=20 > filestore flusher =3D false=20 > filestore queue max ops =3D 10000=20 >=20 >=20 >=20 > ----- Mail original -----=20 >=20 > De: "Dieter Kasper" =20 > =C3=80: ceph-devel@vger.kernel.org=20 > Cc: "Dieter Kasper (KD)" =20 > Envoy=C3=A9: Mardi 28 Ao=C3=BBt 2012 19:48:42=20 > Objet: RBD performance - tuning hints=20 >=20 > Hi,=20 >=20 > on my 4-node system (SSD + 10GbE, see bench-config.txt for details)=20 > I can observe a pretty nice rados bench performance=20 > (see bench-rados.txt for details):=20 >=20 > Bandwidth (MB/sec): 961.710=20 > Max bandwidth (MB/sec): 1040=20 > Min bandwidth (MB/sec): 772=20 >=20 >=20 > Also the bandwidth performance generated with=20 > fio --filename=3D/dev/rbd1 --direct=3D1 --rw=3D$io --bs=3D$bs --size=3D= 2G --iodepth=3D$threads --ioengine=3Dlibaio --runtime=3D60 --group_repo= rting --name=3Dfile1 --output=3Dfio_${io}_${bs}_${threads}=20 >=20 > .... is acceptable, e.g.=20 > fio_write_4m_16 795 MB/s=20 > fio_randwrite_8m_128 717 MB/s=20 > fio_randwrite_8m_16 714 MB/s=20 > fio_randwrite_2m_32 692 MB/s=20 >=20 >=20 > But, the write IOPS seems to be limited around 19k ...=20 > RBD 4M 64k (=3D optimal_io_size)=20 > fio_randread_512_128 53286 55925=20 > fio_randread_4k_128 51110 44382=20 > fio_randread_8k_128 30854 29938=20 > fio_randwrite_512_128 18888 2386=20 > fio_randwrite_512_64 18844 2582=20 > fio_randwrite_8k_64 17350 2445=20 > (...)=20 > fio_read_4k_128 10073 53151=20 > fio_read_4k_64 9500 39757=20 > fio_read_4k_32 9220 23650=20 > (...)=20 > fio_read_4k_16 9122 14322=20 > fio_write_4k_128 2190 14306=20 > fio_read_8k_32 706 13894=20 > fio_write_4k_64 2197 12297=20 > fio_write_8k_64 3563 11705=20 > fio_write_8k_128 3444 11219=20 >=20 >=20 > Any hints for tuning the IOPS (read and/or write) would be appreciate= d.=20 >=20 > How can I set the variables when the Journal data have go to the OSD = ? (after X seconds and/or when Y %-full)=20 >=20 >=20 > Kind Regards,=20 > -Dieter=20 >=20 >=20 >=20 > --=20 >=20 > --=20 >=20 >=20 >=20 >=20 >=20 > Alexandre D e rumier=20 >=20 > Ing=C3=A9nieur Syst=C3=A8mes et R=C3=A9seaux=20 >=20 >=20 > Fixe : 03 20 68 88 85=20 >=20 > Fax : 03 20 68 90 88=20 >=20 >=20 > 45 Bvd du G=C3=A9n=C3=A9ral Leclerc 59100 Roubaix=20 > 12 rue Marivaux 75002 Paris=20 > --=20 > To unsubscribe from this list: send the line "unsubscribe ceph-devel"= in=20 > the body of a message to majordomo@vger.kernel.org=20 > More majordomo info at http://vger.kernel.org/majordomo-info.html=20 --=20 --=20 =09 Alexandre D e rumier=20 Ing=C3=A9nieur Syst=C3=A8mes et R=C3=A9seaux=20 =46ixe : 03 20 68 88 85=20 =46ax : 03 20 68 90 88=20 45 Bvd du G=C3=A9n=C3=A9ral Leclerc 59100 Roubaix=20 12 rue Marivaux 75002 Paris=20 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html