Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 92E2D200B49 for ; Wed, 3 Aug 2016 16:23:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 916D6160A86; Wed, 3 Aug 2016 14:23:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B10BE160A5D for ; Wed, 3 Aug 2016 16:23:17 +0200 (CEST) Received: (qmail 25074 invoked by uid 500); 3 Aug 2016 14:23:16 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 25063 invoked by uid 99); 3 Aug 2016 14:23:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2016 14:23:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 14E8CC041B for ; Wed, 3 Aug 2016 14:23:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.721 X-Spam-Level: X-Spam-Status: No, score=-0.721 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id olrgZOkjK83O for ; Wed, 3 Aug 2016 14:23:12 +0000 (UTC) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 34BEC60E23 for ; Wed, 3 Aug 2016 14:23:12 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id o80so338875812wme.1 for ; Wed, 03 Aug 2016 07:23:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=qdCz7dm9hZkD9vEPTA4Ajc4aXUaghYdL5g3l+9OU2Jk=; b=E9XwkZvOsMpadUO6fKPfEhDZ3JNb2+y/pErMcpAtlDBS6MDgNX6PU1ts0I64A3HSHi VrNkSLQlomCIZku5Ob0BildsjiU6aMtMaKR4YnLsFzpBPH0faYmhc8to6tQmkGlEe7Jk HWikg3qMdLMr+K2z3Fxm0U6q5wMeef/XcPjEvCAUNwkKOGf8nbFepYMRoqDWYTZje/VE EQXxA9vZSb5B2U3ehzBuituCR7PQS1KrmflR/41rpYnjHgSXrCIveFUgFdkYU0+zGqm2 F/65tgXzFdlYolHIbsN/PF2t/K8Xi2tT4K7pYr52Tz4HYMPgAD9KhxPBIOYsZBs2nnob 7CcA== X-Gm-Message-State: AEkoouu+knM3SAYArRwPfYU7CJTreqDzO6skh92vweszP+HERKWMMzl1y86fKCdcMptMnbqw X-Received: by 10.28.109.197 with SMTP id b66mr24026236wmi.68.1470234191574; Wed, 03 Aug 2016 07:23:11 -0700 (PDT) Received: from [192.168.1.138] (40.43.213.193.static.cust.telenor.com. [193.213.43.40]) by smtp.gmail.com with ESMTPSA id a2sm7975687wjg.46.2016.08.03.07.23.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Aug 2016 07:23:10 -0700 (PDT) Subject: Re: [Performance] Benchmarking Qpid dispatch router 0.6.0 with Qpid Java Broker 6.0.0 To: users@qpid.apache.org References: <91a97928-ecea-5fdf-1e0f-f7a7b4079357@redhat.com> <29cc1cc6-c073-20bb-e417-02929c901711@redhat.com> <031b31e0-ffb0-6e50-6dcf-ce664322f845@redhat.com> <1e321c97-9b5a-f9d7-8ad8-44b8b45050e3@redhat.com> From: Ulf Lilleengen Message-ID: <104f6580-90cf-b3ee-dcb1-358168531ae7@redhat.com> Date: Wed, 3 Aug 2016 16:23:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit archived-at: Wed, 03 Aug 2016 14:23:18 -0000 Hi, Excuse me if this was already mentioned somewhere, but what is the size of the messages you are sending ? FWIW, I'm able to get around 30-40k msgs/sec sustained with 1 producer, 1 consumer, 1 dispatch (4 worker threads) and 1 broker (activemq-5). The sender sends unsettled messages as fast as it can using qpid-proton reactor API which is sending async up to the window limit. With no broker involved, I'm getting ~190k msgs/sec. All of these numbers are from my 8 core laptop. Message size is 128 bytes. I don't know the dispatcher that well, but I think it should be able to handle data from each connector just fine given the numbers I have seen. On 08/03/2016 02:41 PM, Adel Boutros wrote: > > > > Hello again, > > As requested, I added a 2nd connector and the appropriate autoLinks on the same host/port but with a different name. It seems to have resolved the issue. > > 1 Broker, 1 Dispatcher, 3 producers, 0 consumers, 1 connectors --> 5000 msg/s. > 1 Broker, 1 Dispatcher, 3 producers, 0 consumers, 2 connectors --> 6600 msg/s. > 1 Broker, 1 Dispatcher, 4 producers, 0 consumers, 2 connectors --> 7700 msg/s. > > I think this confirms the problem is due to the fact a single connection is being shared by all clients (consumers/producers) and that having a sort of pool of connections or a connection per workerThread is a solution to consider. > > What do you think? > > I added a 3rd connector to see if it changes anything but it > didn't. Do you think this is maybe because the dispatcher is not able > to process fast enough and saturate the 2 connectors? > 1 Broker, 1 Dispatcher, 4 producers, 0 consumers, 3 connectors --> 7700 msg/s. > > Adel > >> From: adelboutros@live.com >> To: users@qpid.apache.org >> Subject: RE: [Performance] Benchmarking Qpid dispatch router 0.6.0 with Qpid Java Broker 6.0.0 >> Date: Tue, 2 Aug 2016 22:21:54 +0200 >> >> Sorry for the typo. Indeed, it was with 3 producers. I used 4 and 8 workerThread but there wasn't a difference. >> We want to benchmark in the worst case scenarios actually to see what is the minimum we can guarantee. This is why we are using synchronous sending. In the future, we will also benchmark with full SSL/SASL to see what impact it has on the performance. >>> Subject: Re: [Performance] Benchmarking Qpid dispatch router 0.6.0 with Qpid Java Broker 6.0.0 >>> To: users@qpid.apache.org >>> From: gsim@redhat.com >>> Date: Tue, 2 Aug 2016 20:41:54 +0100 >>> >>> On 02/08/16 20:25, Adel Boutros wrote: >>>> How about the tests we did with consumer/producers connected directly to the dispatcher without any broker where we had 16 000 msg/s with 4 producers. Is it also a very low value given that there is no persistence or storing here? It was also synchronous sending. >>> >>> The rate is low because it is synchronous. One messages is sent to the >>> consumer who acknowledges it, the acknowledgement is then conveyed back >>> to the sender who then can send the next message. >>> >>> The rate for a single producer through the router was 6,000 per second. >>> That works out as a roundtrip time of 167 microsecs or so. In your >>> table, the 16,000 rate was listed as being for 3 producers. Based on the >>> rate of a single producer, the best you could hope for there is 3 * >>> 6,000 i.e 18,000. (How many worker threads did you have on the router >>> for that case?) >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org >>> For additional commands, e-mail: users-help@qpid.apache.org >>> >> > > > -- Ulf --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org