From: "hzwulibin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <hzwulibin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Jan Schermer <jan-SB6/BxVxTjHtwjQa/ONI9g@public.gmane.org>,
Rick Balsano <rick-FGJi4DqQKYDQT0dZR+AlfA@public.gmane.org>
Cc: "ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org"
<ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org>,
"ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Understanding the number of TCP connections between clients and OSDs
Date: Tue, 27 Oct 2015 08:41:38 +0800 [thread overview]
Message-ID: <2015102708413664295810@gmail.com> (raw)
In-Reply-To: 590F8B9C-DA15-41C2-9E37-8847F79D7F6B@schermer.cz
[-- Attachment #1.1: Type: text/plain, Size: 2994 bytes --]
Hi,
I also concerns about this problem. And my problem is how many threads will the qemu-system-x86 has.
From what i tested, it could between 100 to 800, yeah, maybe it has relationship with the osd number. But it
seems affect the performance when it has many threads. From what i tested, 4k randwrite will reduce from 15k
to 4k. That's really unacceptable!
My evnironment:
1. nine OSD storage servers with two intel DC 3500 SSD on each
2. hammer 0.94.3
3. QEMU emulator version 2.1.2 (Debian 1:2.1+dfsg-12+deb8u4~bpo70+1)
Thanks!
hzwulibin@gmail.com
From: Jan Schermer
Date: 2015-10-27 05:48
To: Rick Balsano
CC: ceph-users@lists.ceph.com
Subject: Re: [ceph-users] Understanding the number of TCP connections between clients and OSDs
If we're talking about RBD clients (qemu) then the number also grows with number of volumes attached to the client. With a single volume it was <1000. It grows when there's heavy IO happening in the guest.
I had to bump up the file open limits to several thusands (8000 was it?) to accomodate client with 10 volumes in our cluster. We just scaled the number of OSDs down so hopefully I could have a graph of that.
But I just guesstimated what it could become, and that's not necessarily what the theoretical limit is. Very bad things happen when you reach that threshold. It could also depend on the guest settings (like queue depth), and how much it seeks over the drive (how many different PGs it hits), but knowing the upper bound is most critical.
Jan
On 26 Oct 2015, at 21:32, Rick Balsano <rick@opower.com> wrote:
We've run into issues with the number of open TCP connections from a single client to the OSDs in our Ceph cluster.
We can (& have) increased the open file limit to work around this, but we're looking to understand what determines the number of open connections maintained between a client and a particular OSD. Our naive assumption was 1 open TCP connection per OSD or per port made available by the Ceph node. There are many more than this, presumably to allow parallel connections, because we see 1-4 connections from each client per open port on a Ceph node.
Here is some background on our cluster:
* still running Firefly 0.80.8
* 414 OSDs, 35 nodes, one massive pool
* clients are KVM processes, accessing Ceph RBD images using virtio
* total number of open TCP connections from one client to all nodes between 500-1000
Is there any way to either know or cap the maximum number of connections we should expect?
I can provide more info as required. I've done some searches and found references to "huge number of TCP connections" but nothing concrete to tell me how to predict how that scales.
Thanks,
Rick
--
Rick Balsano
Senior Software Engineer
Opower
O +1 571 384 1210
We're Hiring! See jobs here.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[-- Attachment #1.2: Type: text/html, Size: 6822 bytes --]
[-- Attachment #2: Type: text/plain, Size: 178 bytes --]
_______________________________________________
ceph-users mailing list
ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
next parent reply other threads:[~2015-10-27 0:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAD76J01iYt1wVZZR655=KF+kRZATMc_yEB62QJOyRmRhMD8pFg@mail.gmail.com>
[not found] ` <590F8B9C-DA15-41C2-9E37-8847F79D7F6B@schermer.cz>
2015-10-27 0:41 ` hzwulibin-Re5JQEeQqe8AvxtiuMwx3w [this message]
2015-10-27 1:12 ` Re: [ceph-users] Understanding the number of TCP connections between clients and OSDs hzwulibin
2015-10-27 5:36 ` Haomai Wang
2015-10-27 6:31 ` hzwulibin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2015102708413664295810@gmail.com \
--to=hzwulibin-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org \
--cc=jan-SB6/BxVxTjHtwjQa/ONI9g@public.gmane.org \
--cc=rick-FGJi4DqQKYDQT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.